PackagesCanonicalsLogsProblems
    Packages
    de.thieme-compliance.anamnese@0.0.2-dev
    https://thieme-compliance.de/fhir/StructureDefinition/ConsentingPatient
description: Patientenressource für Einwilligungsbögen
package_name: de.thieme-compliance.anamnese
derivation: constraint
name: ConsentingPatient
type: Patient
elements:
  meta:
    mustSupport: true
    index: 0
    elements:
      tag:
        binding: {strength: extensible, valueSet: 'https://thieme-compliance.de/fhir/ValueSet/ConsentTags'}
        mustSupport: true
        index: 1
        elements:
          system: {mustSupport: true, index: 2}
          code: {mustSupport: true, index: 3}
        required: [code, system]
  identifier:
    mustSupport: true
    index: 4
    elements:
      system: {mustSupport: true, index: 5}
      value: {mustSupport: true, index: 6}
    required: [system, value]
  name:
    mustSupport: true
    index: 7
    elements:
      family: {mustSupport: true, index: 8}
      given: {mustSupport: true, index: 9}
      prefix: {mustSupport: true, index: 10}
    required: [family, given]
  telecom:
    mustSupport: true
    array: true
    max: 2
    index: 11
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      max: 2
      slices:
        eMail:
          match: {system: email}
          schema:
            mustSupport: true
            index: 12
            elements:
              system:
                pattern: {type: code, value: email}
                mustSupport: true
                type: code
                index: 13
              value: {mustSupport: true, index: 14}
            required: [system, value]
        privatePhone:
          match: {system: phone}
          schema:
            mustSupport: true
            index: 15
            elements:
              system:
                pattern: {type: code, value: phone}
                mustSupport: true
                type: code
                index: 16
              value: {mustSupport: true, index: 17}
              use:
                pattern: {type: code, value: home}
                mustSupport: true
                type: code
                index: 18
            required: [system, use, value]
  gender:
    mustSupport: true
    index: 19
    extensions:
      salutation:
        url: https://thieme-compliance.de/fhir/StructureDefinition/Salutation
        type: Extension
        mustSupport: true
        index: 20
        elements:
          value:
            mustSupport: true
            choices: []
            index: 22
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: https://thieme-compliance.de/fhir/StructureDefinition/Salutation
        index: 20
        slicing:
          slices:
            salutation:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: https://thieme-compliance.de/fhir/StructureDefinition/Salutation
                index: 20
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 22
  birthDate: {mustSupport: true, index: 23}
  address:
    mustSupport: true
    index: 24
    elements:
      line: {mustSupport: true, index: 25}
      city: {mustSupport: true, index: 26}
      postalCode: {mustSupport: true, index: 27}
package_version: 0.0.2-dev
class: profile
kind: resource
url: https://thieme-compliance.de/fhir/StructureDefinition/ConsentingPatient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0
required: [birthDate, identifier, name]