DK MedCom Document
1.0.0 - release

This page is part of the DK MedCom Document (v1.0.0: Release) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: MedComDocumentReference

Official URL: http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference Version: 1.0.0
Active as of 2024-11-15 Computable Name: MedComDocumentReference

A profile stating the rules, when exchanging a FHIR document.

Scope and usage

The MedComDocumentReference profile is not intented to be exchanges, but can be used for internal validation of metadata associated with a document. This profile provides metadata about a document, this can be CDA, FHIR or PDF. It holds the required metadata from the IHE XDS metadata standard, and a mapping between the two can be found on GitHub pages.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from DocumentReference

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..* DocumentReference A reference to a document
... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
.... homeCommunityid SΣ 1..1 Coding [DocumentEntry.homeCommunityId] A unique identifier for a community where the DocumentEntry and document can be accessed
URL: http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-homecommunityid-extension
.... versionid SΣ 1..1 string Specifies the version of the DocumentReference for a standard.
URL: http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-version-id-extension
... masterIdentifier S 1..1 Identifier [DocumentEntry.uniqueId] Master Version Specific Identifier
.... value S 1..1 string The value that is unique
... identifier SC 1..1 Identifier [DocumentEntry.entryUUID] Identifier for the document
uuid: General UUID expression
.... value S 1..1 string The value that is unique
... type S 1..1 CodeableConcept [DocumentEntry.typeCode] Kind of document
.... coding
..... system S 1..1 uri Identity of the terminology system
..... code S 1..1 code Symbol in syntax defined by the system
... category S 1..1 CodeableConcept [DocumentEntry.class] Categorization of document
Binding: IHE ClassCode (extensible)
.... coding
..... system S 1..1 uri Identity of the terminology system
..... code S 1..1 code Symbol in syntax defined by the system
... subject S 1..1 Reference(MedComDocumentPatient) {c} [DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId] Who/what is the subject of the document
... Slices for author S 1..2 Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) {c} [DocumentEntry.author] Who and/or what authored the document
Slice: Unordered, Closed by type:$this.resolve()
.... author:institution S 1..1 Reference(MedComDocumentOrganization) {c} [DocumentEntry.author.authorInstitution] The organization who authored the document
.... author:person S 0..1 Reference(MedComDocumentPractitioner) {c} [DocumentEntry.author.authorPerson] The person who authored the document
... authenticator S 0..1 Reference(MedComDocumentPractitioner) {c} [DocumentEntry.legalAuthenticator] Who authenticated the document
... securityLabel S 1..* CodeableConcept [DocumentEntry.confidentialityCode] Document security-tags
... content S 1..* BackboneElement Document referenced
.... attachment
..... contentType S 1..1 code [DocumentEntry.mimeType] Mime type of the content, with charset etc.
Binding: IHE MimeType (required)
..... language S 1..1 code [DocumentEntry.languageCode] Human language of the content
Binding: IHE LanguageCode (extensible)
..... url S 0..1 url [DocumentEntry.URI] Uri where the data can be found
..... size S 0..1 unsignedInt [DocumentEntry.size] Number of bytes of content
..... hash S 0..1 base64Binary [DocumentEntry.hash] Hash of the data (sha-1)
..... title S 1..1 string [DocumentEntry.title] Label to display in place of the data
..... creation S 1..1 dateTime [DocumentEntry.creationTime] Date attachment was first created
.... format S 1..1 Coding [DocumentEntry.formatCode] Format/content rules for the document
... context S 1..1 BackboneElement Clinical context of document
.... event S 0..1 CodeableConcept [DocumentEntry.eventCodeList] Main clinical acts documented
..... coding
...... system S 1..1 uri Identity of the terminology system
...... code S 1..1 code Symbol in syntax defined by the system
.... period S 0..1 Period [DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime] Time of service that is being documented
..... start S 0..1 dateTime Starting time with inclusive boundary
..... end S 0..1 dateTime End time with inclusive boundary, if not ongoing
.... facilityType S 1..1 CodeableConcept [DocumentEntry.healthcareFacilityTypeCode] Kind of facility where patient was seen
..... coding
...... system S 1..1 uri Identity of the terminology system
Binding: IHE HealthcareFacilityTypeCode (extensible)
...... code S 1..1 code Symbol in syntax defined by the system
.... practiceSetting S 1..1 CodeableConcept [DocumentEntry.practiceSettingCode] Additional details about where the content was created (e.g. clinical specialty)
..... coding
...... system S 1..1 uri Identity of the terminology system
Binding: IHE PracticeSettingCode (extensible)
...... code S 1..1 code Symbol in syntax defined by the system
.... sourcePatientInfo S 1..1 Reference(Patient) [DocumentEntry.sourcePatientId and DocumentEntry.sourcePatientInfo] Patient demographics from source. Must be the same reference as in DocumentReference.subject.
.... related S 0..* Reference(Resource) [DocumentEntry.referenceIdList] Related identifiers or resources

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
DocumentReference.categoryextensibleMedComIHE_CoreClassCode
http://medcomfhir.dk/ig/xdsmetadata/ValueSet/MedCom-ihe-core-classcode-VS
from this IG
DocumentReference.content.attachment.contentTyperequiredMedComIHE_CoreMimeType
http://medcomfhir.dk/ig/xdsmetadata/ValueSet/MedCom-ihe-core-mimetype-VS
from this IG
DocumentReference.content.attachment.languageextensibleMedComIHE_CoreLanguageCode
http://medcomfhir.dk/ig/xdsmetadata/ValueSet/MedCom-ihe-core-languagecode-VS
from this IG
DocumentReference.context.facilityType.coding.systemextensibleMedComIHE_CoreHealthcareFacilityTypeCode
http://medcomfhir.dk/ig/xdsmetadata/ValueSet/MedCom-ihe-core-HealthcareFacilityTypeCode-VS
from this IG
DocumentReference.context.practiceSetting.coding.systemextensibleMedComIHE_CorePracticeSettingCode
http://medcomfhir.dk/ig/xdsmetadata/ValueSet/MedCom-ihe-core-PracticeSettingCode-VS
from this IG

Constraints

IdGradePath(s)DetailsRequirements
uuiderrorDocumentReference.identifierGeneral UUID expression
: value.matches('[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

 

Other representations of profile: CSV, Excel, Schematron