PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_HealthRecordEntry
description: null
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_HealthRecordEntry
type: DocumentReference
elements:
  description: {index: 43}
  category: {index: 13}
  date: {index: 19}
  docStatus:
    pattern: {type: Code, value: final}
    index: 6
  content:
    index: 45
    slicing:
      rules: closed
      discriminator:
      - {path: attachment.contentType, type: value}
      min: null
      slices:
        documentationText:
          match:
            attachment: {contentType: application/text}
          schema:
            short: Dokumentationstext
            index: 46
            elements:
              attachment:
                elements:
                  contentType:
                    pattern: {type: Code, value: application/text}
                    index: 47
                  language: {index: 48}
                  url: {index: 49}
                  size: {index: 50}
                  hash: {index: 51}
                  title: {index: 52}
                  creation: {index: 53}
              format: {index: 54}
        documentationAttachment:
          match:
            attachment: {contentType: null}
          schema:
            index: 55
            elements:
              attachment:
                elements:
                  contentType:
                    binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_HealthRecordContentTypes'}
                    index: 56
                  language: {index: 57}
                  data: {index: 58}
                  url: {index: 59}
                  size: {index: 60}
                  hash: {index: 61}
                  creation: {index: 62}
              format: {index: 63}
  type:
    index: 7
    elements:
      coding:
        binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_HealthRecordDocumentType'}
        index: 8
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_HealthRecordDocumentType'}
            index: 9
          code: {index: 10}
          userSelected: {index: 11}
        required: [system, code]
      text: {index: 12}
  author:
    array: true
    min: 3
    max: 3
    index: 20
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: 3
      max: 3
      slices:
        partnerSystem:
          match: {type: Mxx_HealthHub_PartnerSystem}
          schema:
            short: Partnersystem
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PartnerSystem']
            type: Reference
            _required: true
            index: 21
            elements:
              reference: {index: 22}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_PartnerSystem}
                index: 23
              identifier: {index: 24}
              display: {index: 25}
            required: [reference, type]
        practitioner:
          match: {type: Mxx_HealthHub_Practitioner}
          schema:
            short: Arzt/Behandler
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Practitioner']
            type: Reference
            _required: true
            index: 26
            elements:
              reference: {index: 27}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_Practitioner}
                index: 28
              identifier: {index: 29}
              display: {index: 30}
            required: [reference, type]
        user:
          match: {type: Mxx_HealthHub_User}
          schema:
            short: Nutzer
            refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_User']
            type: Reference
            _required: true
            index: 31
            elements:
              reference: {index: 32}
              type:
                pattern: {type: Uri, value: Mxx_HealthHub_User}
                index: 33
              identifier: {index: 34}
              display: {index: 35}
            required: [reference, type]
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        mxxHealthHubRecordCategory:
          match: {url: null}
          schema: {type: Extension, short: Record category override, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RecordCategory', index: 1}
          min: 0
          max: 1
        mxxHealthHubEntryCallUri:
          match: {url: null}
          schema: {type: Extension, short: Document-specific callback link, url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri', index: 2}
          min: 0
          max: 1
  masterIdentifier: {index: 3}
  custodian:
    type: Reference
    short: Betriebsstätte
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Organization']
    index: 37
    elements:
      reference: {index: 38}
      type: {index: 39}
      identifier: {index: 40}
      display: {index: 41}
    required: [reference]
  status:
    pattern: {type: Code, value: current}
    index: 5
  identifier: {index: 4}
  relatesTo: {index: 42}
  context: {index: 64}
  securityLabel: {index: 44}
  subject:
    type: Reference
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient']
    index: 14
    elements:
      reference: {index: 15}
      type: {index: 16}
      identifier: {type: Identifier, index: 17}
      display: {index: 18}
  authenticator: {index: 36}
package_version: 1.5.0
extensions:
  mxxHealthHubRecordCategory: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_RecordCategory', min: 0, max: 1, type: Extension, short: Record category override, index: 1}
  mxxHealthHubEntryCallUri: {url: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_EntryCallUri', min: 0, max: 1, type: Extension, short: Document-specific callback link, index: 2}
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_HealthRecordEntry
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: 1.5.0
required: [subject, type, date, custodian]