Metadaten

CanonicalStatusVersionBasis
http://gematik.de/fhir/oegd/stf/StructureDefinition/StfDateiactive1.0.0-ballothttp://hl7.org/fhir/StructureDefinition/DocumentReference

Inhalt

IDKurzbeschreibungTypeMinMaxVS_UrlStrength
DocumentReference.identifierOther identifiers for the documentIdentifier0*
DocumentReference.statuscurrent | superseded | entered-in-errorcode11http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1required
DocumentReference.typeKind of document (LOINC if possible)CodeableConcept01http://gematik.de/fhir/oegd/stf/ValueSet/StfDateiTypVSextensible
DocumentReference.subjectWho/what is the subject of the documentReference01
DocumentReference.dateWhen this document reference was createdinstant01
DocumentReference.authorWho and/or what authored the documentReference0*
DocumentReference.contentDocument referencedBackboneElement1*
DocumentReference.content.attachmentWhere to access the documentAttachment11
DocumentReference.content.attachment.contentTypeMime type of the content, with charset etc.code11http://hl7.org/fhir/ValueSet/mimetypes|4.0.1required
DocumentReference.content.attachment.dataData inline, base64edbase64Binary11
idΣ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
masterIdentifierΣ0..1Identifier
identifierS Σ0..*Identifier
statusS Σ ?!1..1codeBinding
docStatusΣ0..1codeBinding
typeS Σ0..1CodeableConceptBinding
categoryΣ0..*CodeableConcept
subjectS Σ C0..1Reference(Patient)
dateS Σ0..1instant
authorS Σ C0..*Reference(Organization | Practitioner)
authenticatorC0..1Reference(Organization | Practitioner | PractitionerRole)
custodianC0..1Reference(Organization)
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
codeΣ1..1codeBinding
targetΣ C1..1Reference(DocumentReference)
descriptionΣ0..1string
securityLabelΣ0..*CodeableConceptBinding
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
id0..1string
extensionC0..*Extension
contentTypeS Σ1..1codeBinding
languageΣ0..1codeBinding
dataS1..1base64Binary
urlΣ0..1url
sizeΣ0..1unsignedInt
hashΣ0..1base64Binary
titleΣ0..1string
creationΣ0..1dateTime
formatΣ0..1CodingBinding
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
encounterC0..*Reference(Encounter | EpisodeOfCare)
event0..*CodeableConcept
periodΣ C0..1Period
facilityType0..1CodeableConcept
practiceSetting0..1CodeableConcept
sourcePatientInfoC0..1Reference(Patient)
relatedC0..*Reference(Resource)

Dieses Profil bietet die Möglichkeit, eine Datei als base64-kodierter Content zu komunizieren. Im Projekt sollte möglichst darauf verzichtet werden und die strukturierten Profile bevorzugt werden.

FeldnameHinweise
DocumentReference.identifier

Beispielsweise StAmt_Aktenzeichen

DocumentReference.status
DocumentReference.type
DocumentReference.subject
DocumentReference.date

Beispielsweise das Datum der Sterbeurkunde

DocumentReference.author

Beispielsweise Verweis auf eine Organization, die Informationen zum Standesamt beinhaltet (Nr. und Name). Im Kontext eines Obduktionsscheins der ausstellende Arzt oder Ärztin

DocumentReference.content
DocumentReference.content.attachment
DocumentReference.content.attachment.contentType
DocumentReference.content.attachment.data
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="StfDatei" />
<url value="http://gematik.de/fhir/oegd/stf/StructureDefinition/StfDatei" />
<version value="1.0.0-ballot" />
<name value="StfDatei" />
<title value="STF Datei" />
<status value="active" />
<experimental value="false" />
<date value="2025-12-05" />
<publisher value="ELFA Maßnahme Interoperabilität" />
<description value="Dieses Profil bietet die Möglichkeit, eine Datei als base64-kodierter Content zu komunizieren. Im Projekt sollte möglichst darauf verzichtet werden und die strukturierten Profile bevorzugt werden." />
<fhirVersion value="4.0.1" />
<kind value="resource" />
<abstract value="false" />
<type value="DocumentReference" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/DocumentReference" />
<derivation value="constraint" />
<element id="DocumentReference.identifier">
<path value="DocumentReference.identifier" />
<comment value="Beispielsweise StAmt_Aktenzeichen" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.status">
<path value="DocumentReference.status" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.type">
<path value="DocumentReference.type" />
<mustSupport value="true" />
<strength value="extensible" />
<valueSet value="http://gematik.de/fhir/oegd/stf/ValueSet/StfDateiTypVS" />
</binding>
</element>
<element id="DocumentReference.subject">
<path value="DocumentReference.subject" />
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
</type>
<mustSupport value="true" />
</element>
<element id="DocumentReference.date">
<path value="DocumentReference.date" />
<comment value="Beispielsweise das Datum der Sterbeurkunde" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.author">
<path value="DocumentReference.author" />
<comment value="Beispielsweise Verweis auf eine Organization, die Informationen zum Standesamt beinhaltet (Nr. und Name). Im Kontext eines Obduktionsscheins der ausstellende Arzt oder Ärztin" />
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Organization" />
</type>
<mustSupport value="true" />
</element>
<element id="DocumentReference.content">
<path value="DocumentReference.content" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.content.attachment">
<path value="DocumentReference.content.attachment" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.content.attachment.contentType">
<path value="DocumentReference.content.attachment.contentType" />
<min value="1" />
<mustSupport value="true" />
</element>
<element id="DocumentReference.content.attachment.data">
<path value="DocumentReference.content.attachment.data" />
<min value="1" />
<mustSupport value="true" />
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"id": "StfDatei",
"url": "http://gematik.de/fhir/oegd/stf/StructureDefinition/StfDatei",
"version": "1.0.0-ballot",
"name": "StfDatei",
"title": "STF Datei",
"status": "active",
"experimental": false,
"date": "2025-12-05",
"publisher": "ELFA Maßnahme Interoperabilität",
"description": "Dieses Profil bietet die Möglichkeit, eine Datei als base64-kodierter Content zu komunizieren. Im Projekt sollte möglichst darauf verzichtet werden und die strukturierten Profile bevorzugt werden.",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "DocumentReference",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
"derivation": "constraint",
"element": [
{
"id": "DocumentReference.identifier",
"path": "DocumentReference.identifier",
"comment": "Beispielsweise StAmt_Aktenzeichen",
"mustSupport": true
},
{
"id": "DocumentReference.status",
"path": "DocumentReference.status",
"mustSupport": true
},
{
"id": "DocumentReference.type",
"path": "DocumentReference.type",
"mustSupport": true,
"binding": {
"strength": "extensible",
"valueSet": "http://gematik.de/fhir/oegd/stf/ValueSet/StfDateiTypVS"
}
},
{
"id": "DocumentReference.subject",
"path": "DocumentReference.subject",
"type": [
{
"code": "Reference",
"http://hl7.org/fhir/StructureDefinition/Patient"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.date",
"path": "DocumentReference.date",
"comment": "Beispielsweise das Datum der Sterbeurkunde",
"mustSupport": true
},
{
"id": "DocumentReference.author",
"path": "DocumentReference.author",
"comment": "Beispielsweise Verweis auf eine Organization, die Informationen zum Standesamt beinhaltet (Nr. und Name). Im Kontext eines Obduktionsscheins der ausstellende Arzt oder Ärztin",
"type": [
{
"code": "Reference",
"http://hl7.org/fhir/StructureDefinition/Practitioner",
"http://hl7.org/fhir/StructureDefinition/Organization"
]
}
],
"mustSupport": true
},
{
"id": "DocumentReference.content",
"path": "DocumentReference.content",
"mustSupport": true
},
{
"id": "DocumentReference.content.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
},
{
"id": "DocumentReference.content.attachment.contentType",
"path": "DocumentReference.content.attachment.contentType",
"min": 1,
"mustSupport": true
},
{
"id": "DocumentReference.content.attachment.data",
"path": "DocumentReference.content.attachment.data",
"min": 1,
"mustSupport": true
}
]
}
}

Terminology-Bindings

StaerkeValueSet
requiredhttp://hl7.org/fhir/ValueSet/document-reference-status|4.0.1
extensiblehttp://gematik.de/fhir/oegd/stf/ValueSet/StfDateiTypVS
requiredhttp://hl7.org/fhir/ValueSet/mimetypes|4.0.1

Constraints/Invarianten