PackagesCanonicalsLogsProblems
    Packages
    kbv.mio.mutterpass@1.1.0-kommentierungsphase
    https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_MR_Encounter_Inpatient_Treatment
description: null
package_name: kbv.mio.mutterpass
derivation: constraint
name: KBV_PR_MIO_MR_Encounter_Inpatient_Treatment
type: Encounter
elements:
  appointment: {index: 52}
  diagnosis:
    mustSupport: true
    index: 65
    elements:
      condition:
        mustSupport: true
        index: 66
        elements:
          reference: {index: 67}
          type: {index: 68}
          identifier: {index: 69}
          display: {mustSupport: true, index: 70}
        required: [display]
      use: {index: 71}
      rank: {index: 72}
  meta:
    index: 0
    elements:
      versionId: {index: 1}
      lastUpdated: {index: 2}
      source: {index: 3}
      profile:
        pattern: {type: Canonical, value: 'https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_MR_Encounter_Inpatient_Treatment|1.1.0'}
        index: 4
      security: {index: 5}
      tag: {index: 6}
    required: [profile]
  implicitRules: {index: 7}
  serviceProvider:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_MR_Organization|1.1.0']
    index: 76
    elements:
      reference: {mustSupport: true, index: 77}
      type: {index: 78}
      identifier: {index: 79}
      display: {index: 80}
    required: [reference]
  episodeOfCare: {index: 49}
  reasonCode: {index: 63}
  type:
    mustSupport: true
    index: 26
    elements:
      coding:
        mustSupport: true
        index: 27
        elements:
          system:
            pattern: {type: Uri, value: 'http://snomed.info/sct'}
            index: 28
          version:
            pattern: {type: String, value: 'http://snomed.info/sct/900000000000207008/version/20210731'}
            index: 29
          code:
            pattern: {type: Code, value: '422735006'}
            index: 30
          display:
            index: 31
            extensions:
              anzeigenameCodeSnomed:
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                type: Extension
                mustSupport: true
                index: 33
                extensions:
                  content:
                    url: null
                    mustSupport: true
                    index: 35
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 37
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                pattern: {type: String, value: Stationäre Behandlung während der Schwangerschaft}
                                mustSupport: true
                                choices: []
                                _required: true
                                index: 39
                              min: 1
                elements:
                  extension:
                    index: 34
                    slicing:
                      rules: closed
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        content:
                          match: {url: null}
                          schema:
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        pattern: {type: String, value: Stationäre Behandlung während der Schwangerschaft}
                                        mustSupport: true
                                        choices: []
                                        _required: true
                                        index: 39
                                      min: 1
            elements:
              extension:
                index: 32
                slicing:
                  rules: closed
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    anzeigenameCodeSnomed:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Terminology_German
                        index: 33
                        extensions:
                          content:
                            url: null
                            mustSupport: true
                            index: 35
                            elements:
                              value:
                                mustSupport: true
                                choices: []
                                index: 37
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        pattern: {type: String, value: Stationäre Behandlung während der Schwangerschaft}
                                        mustSupport: true
                                        choices: []
                                        _required: true
                                        index: 39
                                      min: 1
                        elements:
                          extension:
                            index: 34
                            slicing:
                              rules: closed
                              discriminator:
                              - {path: url, type: value}
                              min: null
                              slices:
                                content:
                                  match: {url: null}
                                  schema:
                                    mustSupport: true
                                    index: 35
                                    elements:
                                      value:
                                        mustSupport: true
                                        choices: []
                                        index: 37
                                        slicing:
                                          slices:
                                            valueString:
                                              match: {}
                                              schema:
                                                pattern: {type: String, value: Stationäre Behandlung während der Schwangerschaft}
                                                mustSupport: true
                                                choices: []
                                                _required: true
                                                index: 39
                                              min: 1
          userSelected: {index: 40}
        required: [version, display, system, code]
      text: {index: 41}
    required: [coding]
  participant: {index: 51}
  serviceType: {index: 42}
  account: {index: 73}
  classHistory: {index: 25}
  extension:
    index: 11
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        therapie:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment
            index: 12
            elements:
              value:
                mustSupport: true
                choices: []
                index: 14
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        mustSupport: true
                        choices: []
                        index: 16
  contained: {index: 10}
  priority: {index: 43}
  status:
    pattern: {type: Code, value: finished}
    index: 18
  language: {index: 8}
  class:
    index: 20
    elements:
      system:
        pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
        index: 21
      version:
        pattern: {type: String, value: 2.0.0}
        index: 22
      code:
        pattern: {type: Code, value: IMP}
        index: 23
      userSelected: {index: 24}
    required: [version, system, code]
  length: {index: 62}
  identifier: {index: 17}
  hospitalization: {index: 74}
  period:
    mustSupport: true
    index: 53
    extensions:
      vonBis:
        url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment
        type: Extension
        mustSupport: true
        index: 55
        elements:
          value:
            mustSupport: true
            choices: []
            index: 57
            slicing:
              slices:
                valueString:
                  match: {}
                  schema:
                    mustSupport: true
                    choices: []
                    index: 59
    elements:
      extension:
        index: 54
        slicing:
          rules: closed
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            vonBis:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment
                index: 55
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 57
                    slicing:
                      slices:
                        valueString:
                          match: {}
                          schema:
                            mustSupport: true
                            choices: []
                            index: 59
      start: {index: 60}
      end: {index: 61}
  basedOn: {index: 50}
  partOf: {index: 81}
  location: {index: 75}
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_MR_Patient_Mother|1.1.0']
    index: 44
    elements:
      reference: {mustSupport: true, index: 45}
      type: {index: 46}
      identifier: {index: 47}
      display: {index: 48}
    required: [reference]
  statusHistory: {index: 19}
  reasonReference: {index: 64}
  text: {index: 9}
package_version: 1.1.0-kommentierungsphase
extensions:
  therapie:
    url: https://fhir.kbv.de/StructureDefinition/KBV_EX_Base_Additional_Comment
    type: Extension
    mustSupport: true
    index: 12
    elements:
      value:
        mustSupport: true
        choices: []
        index: 14
        slicing:
          slices:
            valueString:
              match: {}
              schema:
                mustSupport: true
                choices: []
                index: 16
class: profile
kind: resource
url: https://fhir.kbv.de/StructureDefinition/KBV_PR_MIO_MR_Encounter_Inpatient_Treatment
base: http://hl7.org/fhir/StructureDefinition/Encounter
version: 1.1.0
required: [serviceProvider, subject, type, meta, period]