PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.geboortezorg@1.3.3-rc7
    http://nictiz.nl/fhir/StructureDefinition/bc-Encounter
description: An Encounter profile describing birthcare related encounters as defined by BabyConnect. The woman Patient is the subject of the Encounter.\r\n* Encounter.type specifies the type of encounter, e.g. prenatal visit, postnatal follow up or counseling.\r\n* Encounter.episodeOfCare points to the maternal record that is the context of the Encounter\r\n* Encounter.diagnosis points to the pregnancy (and optional other Conditions)\r\n* Encounter.serviceProvider points to the responsible Organization for the Encounter
package_name: nictiz.fhir.nl.stu3.geboortezorg
derivation: constraint
name: bc-Encounter
type: Encounter
elements:
  diagnosis:
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: condition.resolve(), type: profile}
      min: null
      slices:
        pregnancy:
          match: {}
          schema:
            index: 16
            elements:
              condition:
                type: Reference
                refers: ['http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy']
                index: 17
  serviceProvider: {index: 20}
  episodeOfCare:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord']
    index: 5
  type:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        birthcareEncounterType:
          match: {}
          schema: {index: 3}
  participant:
    elements:
      individual: {index: 6}
  reason:
    extensions:
      reasonReference:
        url: h
        type: Extension
        index: 9
        elements:
          value:
            choices: [valueReference, valueReference]
            index: 11
            slicing:
              slices:
                valueReference:
                  match: {}
                  schema:
                    choices: [valueReference, valueReference]
                    index: 11
          valueReference:
            type: Reference
            choiceOf: value
            index: 12
            slicing:
              slices:
                valueReference:
                  match: {}
                  schema: {type: Reference, choiceOf: value, index: 12}
    elements:
      extension:
        type: Extension
        url: h
        index: 9
        slicing:
          slices:
            reasonReference:
              match: {}
              schema:
                type: Extension
                url: h
                index: 9
                elements:
                  value:
                    choices: [valueReference, valueReference]
                    index: 11
                    slicing:
                      slices:
                        valueReference:
                          match: {}
                          schema:
                            choices: [valueReference, valueReference]
                            index: 11
                  valueReference:
                    type: Reference
                    choiceOf: value
                    index: 12
                    slicing:
                      slices:
                        valueReference:
                          match: {}
                          schema: {type: Reference, choiceOf: value, index: 12}
      text: {index: 14}
  extension:
    type: Extension
    isModifier: false
    url: h
    index: 0
    slicing:
      slices:
        comment:
          match: {}
          schema: {type: Extension, isModifier: false, url: h, index: 0}
  class: {index: 1}
  hospitalization:
    elements:
      admitSource: {index: 18}
      dischargeDisposition: {index: 19}
  period:
    elements:
      start: {index: 7}
      end: {index: 8}
  subject:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-Woman']
    index: 4
package_version: 1.3.3-rc7
extensions:
  comment: {url: h, type: Extension, isModifier: false, index: 0}
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/bc-Encounter
base: http://nictiz.nl/fhir/StructureDefinition/zib-Encounter
version: 1.3.2