PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.stu3.geboortezorg@1.3.3-rc3
    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: 4
  type:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: null
      slices:
        birthcareEncounterType:
          match: {}
          schema: {index: 2}
  participant:
    elements:
      individual: {index: 5}
  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:
        index: 8
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            reasonReference:
              match: {url: null}
              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}
  class: {index: 0}
  hospitalization:
    elements:
      admitSource: {index: 18}
      dischargeDisposition: {index: 19}
  period:
    elements:
      start: {index: 6}
      end: {index: 7}
  subject:
    type: Reference
    refers: ['http://nictiz.nl/fhir/StructureDefinition/bc-Woman']
    index: 3
package_version: 1.3.3-rc3
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/bc-Encounter
base: http://nictiz.nl/fhir/StructureDefinition/zib-Encounter
version: 1.3.2