PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.mtb@2025.0.0-ballot
    https://www.medizininformatik-initiative.de/fhir/ext/modul-mtb/StructureDefinition/mii-pr-mtb-consent-given
description: Beschreibt, ob und wann der Consent zum Einschluss ins MTB gegeben wurde.
package_name: de.medizininformatikinitiative.kerndatensatz.mtb
derivation: constraint
name: MII_PR_MTB_Consent_Given
type: Observation
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
  status:
    pattern: {type: code, value: final}
    type: code
    index: 2
  code:
    mustSupport: true
    index: 3
    elements:
      coding:
        mustSupport: true
        pattern:
          type: Coding
          value: {code: 105511-0, system: 'http://loinc.org', display: Was consent given}
        type: Coding
        index: 4
    required: [coding]
  subject:
    type: Reference
    mustSupport: true
    refers: ['https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/Patient', 'https://www.medizininformatik-initiative.de/fhir/core/modul-person/StructureDefinition/PatientPseudonymisiert']
    index: 5
  encounter:
    type: Reference
    short: Gesundheitseinrichtungskontakt
    mustSupport: true
    refers: ['https://www.medizininformatik-initiative.de/fhir/core/modul-fall/StructureDefinition/KontaktGesundheitseinrichtung']
    index: 6
  value:
    mustSupport: true
    choices: [valueCodeableConcept]
    index: 8
  valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 9}
  value[x]:
    elements:
      coding:
        short: Dokumentierter Consent
        mustSupport: true
        index: 10
        elements:
          system: {mustSupport: true, index: 11}
          code: {mustSupport: true, index: 12}
        required: [code, system]
        slicing:
          rules: open
          ordered: false
          description: Slice für mögliche Antwort zum Consent
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            LNC:
              match: {system: 'http://loinc.org'}
              schema:
                index: 13
                elements:
                  system:
                    pattern: {type: uri, value: 'http://loinc.org'}
                    type: uri
                    index: 14
                  code: {index: 15}
            SCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 16
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 17
                  code: {index: 18}
    required: [coding]
package_version: 2025.0.0-ballot
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-mtb/StructureDefinition/mii-pr-mtb-consent-given
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 2024.0.0-ballot
required: [subject, value, valueCodeableConcept]