PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.geboortezorg@1.3.3-rc3
    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. The maternal record has a fixed type (.type = 364320009). Additional types may be provided to indicate a specific period of care. The maternal record includes references to a managing 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 maternal record groups all data related to one pregnancy for the managing Organization \r\n2. The groupIdentifier (.extension:groupIdentifier) is a unique identifier of the pregnancy which can be used to group all data related to one pregnancy across Organizations\r\n\r\nRelations between the pregnancy (Condition) and the maternal record (EpisodeOfCare):\r\n* Condition points to the EpisodeOfCare through a EpisodeOfCare.context.reference element. \r\n* EpisodeOfCare points to the Condition through a EpisodeOfCare.diagnosis.condition element.\r\n* Condition and EpisodeOfCare both point to the Patient with .subject.reference\r\n* Condition.clinicalStatus and EpisodeOfCare.status must be 'active' for ongoing pregnancies \r\n* Condition.clinicalStatus must be 'inactive' and EpisodeOfCare.status must be 'finished' for past pregnancies
package_name: 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: 12
  diagnosis:
    index: 10
    elements:
      condition:
        type: Reference
        refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy']
        index: 11
  type:
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            maternalRecord:
              match: {code: '364320009', system: 'http://snomed.info/sct'}
              schema:
                short: Maternal record code
                pattern:
                  type: Coding
                  value: {code: '364320009', system: 'http://snomed.info/sct'}
                _required: true
                index: 8
              min: 1
              max: 1
            perinatalPeriod:
              match: {}
              schema: {short: Perinatal period code, index: 9}
              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
        groupIdentifier:
          match: {url: null}
          schema:
            type: Extension
            short: groupIdentifier
            url: h
            index: 3
            elements:
              valueIdentifier:
                index: 4
                slicing:
                  slices:
                    valueIdentifier:
                      match: {}
                      schema: {index: 4}
  team: {index: 16}
  status: {index: 6}
  identifier: {index: 5}
  period:
    elements:
      start: {index: 13}
      end: {index: 14}
  careManager: {index: 15}
package_version: 1.3.3-rc3
extensions:
  title: {url: null, min: 0, index: 1}
  comment: {url: h, min: 0, type: Extension, index: 2}
  groupIdentifier:
    url: h
    type: Extension
    short: groupIdentifier
    index: 3
    elements:
      valueIdentifier:
        index: 4
        slicing:
          slices:
            valueIdentifier:
              match: {}
              schema: {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.3.2