PackagesCanonicalsLogsProblems
    Packages
    rs/nictiz.fhir.nl.stu3.geboortezorg@1.1.1
    http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord
description: 'An EpisodeOfCare profile describing a maternal record (or pregnancy file) as defined by BabyConnect. \r\nEach pregnancy is a Condition. It is also represented as an EpisodeOfCare (maternal record) for each involved Organization. The maternal record defines care responsibility for a specific period of time and groups all data related to this period of care. It includes references to an Organization and responsible Practitioner.\r\n\r\nThe maternal record defines care responsibility for a specific period of time and groups all data related to this period of care:\r\n1. The (overarching) maternal record groups all data related to one pregnancy (.type = 364320009)\r\n2. A sub record groups all data related to a specific perinatal period within the pregnancy (.type contains a code for the perinatal period and .partOf contains a reference to the overarching maternal record)\r\n\r\nRelations between the pregnancy (Condition) and the overarching maternal record (EpisodeOfCare):\r\n* Condition points to the EpisodeOfCare through a EpisodeOfCare.context.reference element. (Note: different providers may each have their own Condition resource.)\r\n* EpisodeOfCare points to the Condition through a EpisodeOfCare.diagnosis.condition element.\r\n* Condition points to the Patient with Condition.subject.reference\r\n - Condition.status must be ''active'' for ongoing pregnancies and ''inactive'' for past ones.'
package_name: rs/nictiz.fhir.nl.stu3.geboortezorg
derivation: constraint
name: bc-MaternalRecord
type: EpisodeOfCare
elements:
  patient:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-Woman']
    index: 15
  diagnosis:
    index: 13
    elements:
      condition:
        type: Reference
        refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy']
        index: 14
  type:
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: null
          slices:
            maternalRecord:
              match: {code: '364320009', system: 'http://snomed.info/sct', display: Pregnancy observable (observable entity)}
              schema:
                short: Maternal record code
                pattern:
                  type: Coding
                  value: {code: '364320009', system: 'http://snomed.info/sct', display: Pregnancy observable (observable entity)}
                type: Coding
                index: 8
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 9
                  code:
                    pattern: {type: code, value: '364320009'}
                    type: code
                    index: 10
                  display: {defaultValueString: Pregnancy observable (observable entity), index: 11}
            perinatalPeriod:
              match: {}
              schema: {short: Perinatal period code, index: 12}
              max: 1
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        title:
          match: {url: null}
          schema: {index: 1}
          min: 0
        comment:
          match: {url: null}
          schema: {type: Extension, url: h, index: 2}
          min: 0
        partOf:
          match: {url: null}
          schema:
            type: Extension
            short: Overarching maternal record
            url: h
            index: 3
            elements:
              valueReference:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord']
                index: 4
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        type: Reference
                        refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord']
                        index: 4
  team: {index: 19}
  status: {index: 6}
  identifier: {index: 5}
  period:
    elements:
      start: {index: 16}
      end: {index: 17}
  careManager: {index: 18}
package_version: 1.1.1
extensions:
  title: {url: null, min: 0, index: 1}
  comment: {url: h, min: 0, type: Extension, index: 2}
  partOf:
    url: h
    type: Extension
    short: Overarching maternal record
    index: 3
    elements:
      valueReference:
        type: Reference
        refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord']
        index: 4
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord']
                index: 4
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord
base: http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare
version: 1.1.0