PackagesCanonicalsLogsProblems
    Packages
    de.gematik.epa.mhd@1.2.0-ballot.1
    https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference
description: Dieses Profil erweitert die TIMHDDocumentReference-Ressource mit ePA 3.2 Metadaten-Einschränkungen. Alle verpflichtenden Elemente sind als Must Support markiert.
package_name: de.gematik.epa.mhd
derivation: constraint
name: EPAMHDDocumentReference
type: DocumentReference
elements:
  description: {index: 23}
  category: {index: 15}
  meta:
    elements:
      profile: {index: 1}
  content:
    elements:
      attachment:
        elements:
          contentType: {index: 25}
          language: {index: 26}
          url: {index: 27}
          size: {index: 28}
          hash: {short: SHA-1-Hash des Dokuments, index: 29}
          title: {index: 30}
          creation: {index: 31}
      format: {index: 32}
  type: {index: 14}
  author: {index: 17}
  extension:
    index: 2
    slicing:
      slices:
        documentStorageLocation:
          match: {}
          schema:
            _required: true
            index: 3
            elements:
              value:
                pattern:
                  type: Coding
                  value: {code: epa, system: 'https://gematik.de/fhir/ti/CodeSystem/ti-document-storage-location-cs'}
                choices: []
                index: 5
        extractedFrom:
          match: {}
          schema:
            short: Kennzeichnung eines extrahierten Dokuments mit Verweis auf das Quelldokument
            type: Extension
            mustSupport: true
            url: https://gematik.de/fhir/epa/StructureDefinition/extracted-from-extension
            index: 6
            elements:
              value[x]:
                elements:
                  identifier: {type: Identifier, index: 7}
  masterIdentifier:
    index: 8
    elements:
      system:
        pattern: {type: Uri, value: 'https://gematik.de/fhir/sid/epa-document-unique-id'}
        index: 9
  custodian: {index: 19}
  status: {index: 13}
  id: {index: 0}
  identifier:
    index: 10
    slicing:
      slices:
        entryUUID:
          match: {}
          schema: {index: 10}
        uniqueId:
          match: {}
          schema:
            index: 11
            elements:
              system:
                pattern: {type: Uri, value: 'https://gematik.de/fhir/sid/epa-document-unique-id'}
                index: 12
  relatesTo:
    index: 20
    elements:
      code: {index: 21}
      target: {index: 22}
  context:
    elements:
      encounter: {index: 33}
      event:
        index: 34
        elements:
          coding:
            elements:
              version: {mustSupport: true, index: 35}
      period:
        elements:
          start: {index: 36}
          end: {index: 37}
      facilityType: {index: 38}
      practiceSetting: {index: 39}
      sourcePatientInfo:
        elements:
          reference: {index: 40}
          identifier: {index: 41}
      related: {index: 42}
  securityLabel: {index: 24}
  subject: {index: 16}
  authenticator: {index: 18}
package_version: 1.2.0-ballot.1
extensions:
  documentStorageLocation:
    url: null
    _required: true
    index: 3
    elements:
      value:
        pattern:
          type: Coding
          value: {code: epa, system: 'https://gematik.de/fhir/ti/CodeSystem/ti-document-storage-location-cs'}
        choices: []
        index: 5
  extractedFrom:
    url: https://gematik.de/fhir/epa/StructureDefinition/extracted-from-extension
    short: Kennzeichnung eines extrahierten Dokuments mit Verweis auf das Quelldokument
    type: Extension
    mustSupport: true
    index: 6
    elements:
      value[x]:
        elements:
          identifier: {type: Identifier, index: 7}
class: profile
kind: resource
url: https://gematik.de/fhir/epa-mhd/StructureDefinition/epa-mhd-document-reference
base: https://gematik.de/fhir/ti/StructureDefinition/ti-mhd-document-reference
version: 1.2.0
required: [extension]