CH EPR mHealth (R4)
0.1.1 - Draft Standard for Trial Use
This page is part of the CH EPR mHealth (R4) (v0.1.1: DSTU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions
IHE MHD Profile on DocumentReference (DocumentEntry) when used in the Provide Transaction with Minimal Metadata.
The official URL for this profile is:
http://ihe.net/fhir/ihe.mhd.fhir/StructureDefinition/IHE.MHD.Provide.Minimal.DocumentReference
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from DocumentReference
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | DocumentReference | |||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
masterIdentifier | S | 1..1 | Identifier | Master Version Specific Identifier |
identifier | S | 0..* | Identifier | Other identifiers for the document |
status | 1..1 | code | current | superseded | entered-in-error | |
docStatus | 0..0 | |||
type | S | 0..1 | CodeableConcept | Kind of document (LOINC if possible) |
category | S | 0..* | CodeableConcept | Categorization of document |
subject | S | 0..1 | Reference(Patient) {rb} | Who/what is the subject of the document |
date | S | 0..1 | instant | When this document reference was created |
author | S | 0..* | Reference() {c} | Who and/or what authored the document |
authenticator | 0..1 | Reference() {c} | Who/what authenticated the document | |
custodian | 0..0 | |||
relatesTo | S | 0..* | BackboneElement | Relationships to other documents |
description | 0..1 | string | Human-readable description | |
securityLabel | S | 0..* | CodeableConcept | Document security-tags |
content | S | 1..1 | BackboneElement | Document referenced |
attachment | S | 1..1 | Attachment | Where to access the document |
contentType | S | 1..1 | code | Mime type of the content, with charset etc. |
language | S | 0..1 | code | Human language of the content (BCP-47) |
data | 0..0 | |||
url | S | 1..1 | url | Uri where the data can be found |
size | 0..1 | unsignedInt | Number of bytes of content (if url provided) | |
hash | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | |
title | 0..1 | string | Label to display in place of the data | |
creation | 0..1 | dateTime | Date attachment was first created | |
format | S | 0..1 | Coding | Format/content rules for the document Binding: http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode (preferred) |
context | 0..1 | BackboneElement | Clinical context of document | |
encounter | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content | |
event | 0..* | CodeableConcept | Main clinical acts documented | |
period | S | 0..1 | Period | Time of service that is being documented |
facilityType | S | 0..1 | CodeableConcept | Kind of facility where patient was seen |
practiceSetting | S | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) |
sourcePatientInfo | S | 0..1 | Reference() {c} | Patient demographics from source |
related | 0..* | Reference(Resource) | Related identifiers or resources | |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | I | 0..* | DocumentReference | A reference to a document |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
masterIdentifier | SΣI | 1..1 | Identifier | Master Version Specific Identifier |
identifier | SΣI | 0..* | Identifier | Other identifiers for the document |
status | ?!ΣI | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required) |
type | SΣI | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred) |
category | SΣI | 0..* | CodeableConcept | Categorization of document Binding: DocumentClassValueSet (example) |
subject | SΣI | 0..1 | Reference(Patient) {rb} | Who/what is the subject of the document |
date | SΣI | 0..1 | instant | When this document reference was created |
author | SΣI | 0..* | Reference() {c} | Who and/or what authored the document |
authenticator | I | 0..1 | Reference() {c} | Who/what authenticated the document |
relatesTo | SΣI | 0..* | BackboneElement | Relationships to other documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | ΣI | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) |
target | ΣI | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | ΣI | 0..1 | string | Human-readable description |
securityLabel | SΣI | 0..* | CodeableConcept | Document security-tags Binding: All Security Labels (extensible) |
content | SΣI | 1..1 | BackboneElement | Document referenced |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
attachment | SΣI | 1..1 | Attachment | Where to access the document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
contentType | SΣI | 1..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required) Example General: text/plain; charset=UTF-8, image/png |
language | SΣI | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred) Max Binding: AllLanguages Example General: en-AU |
url | SΣI | 1..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | ΣI | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | ΣI | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | ΣI | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
creation | ΣI | 0..1 | dateTime | Date attachment was first created |
format | SΣI | 0..1 | Coding | Format/content rules for the document Binding: http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode (preferred) |
context | ΣI | 0..1 | BackboneElement | Clinical context of document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
encounter | I | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |
event | I | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example) |
period | SΣI | 0..1 | Period | Time of service that is being documented |
facilityType | SI | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example) |
practiceSetting | SI | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example) |
sourcePatientInfo | SI | 0..1 | Reference() {c} | Patient demographics from source |
related | I | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format |
This structure is derived from DocumentReference
Differential View
This structure is derived from DocumentReference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | DocumentReference | |||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |
masterIdentifier | S | 1..1 | Identifier | Master Version Specific Identifier |
identifier | S | 0..* | Identifier | Other identifiers for the document |
status | 1..1 | code | current | superseded | entered-in-error | |
docStatus | 0..0 | |||
type | S | 0..1 | CodeableConcept | Kind of document (LOINC if possible) |
category | S | 0..* | CodeableConcept | Categorization of document |
subject | S | 0..1 | Reference(Patient) {rb} | Who/what is the subject of the document |
date | S | 0..1 | instant | When this document reference was created |
author | S | 0..* | Reference() {c} | Who and/or what authored the document |
authenticator | 0..1 | Reference() {c} | Who/what authenticated the document | |
custodian | 0..0 | |||
relatesTo | S | 0..* | BackboneElement | Relationships to other documents |
description | 0..1 | string | Human-readable description | |
securityLabel | S | 0..* | CodeableConcept | Document security-tags |
content | S | 1..1 | BackboneElement | Document referenced |
attachment | S | 1..1 | Attachment | Where to access the document |
contentType | S | 1..1 | code | Mime type of the content, with charset etc. |
language | S | 0..1 | code | Human language of the content (BCP-47) |
data | 0..0 | |||
url | S | 1..1 | url | Uri where the data can be found |
size | 0..1 | unsignedInt | Number of bytes of content (if url provided) | |
hash | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | |
title | 0..1 | string | Label to display in place of the data | |
creation | 0..1 | dateTime | Date attachment was first created | |
format | S | 0..1 | Coding | Format/content rules for the document Binding: http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode (preferred) |
context | 0..1 | BackboneElement | Clinical context of document | |
encounter | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content | |
event | 0..* | CodeableConcept | Main clinical acts documented | |
period | S | 0..1 | Period | Time of service that is being documented |
facilityType | S | 0..1 | CodeableConcept | Kind of facility where patient was seen |
practiceSetting | S | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) |
sourcePatientInfo | S | 0..1 | Reference() {c} | Patient demographics from source |
related | 0..* | Reference(Resource) | Related identifiers or resources | |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | I | 0..* | DocumentReference | A reference to a document |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
masterIdentifier | SΣI | 1..1 | Identifier | Master Version Specific Identifier |
identifier | SΣI | 0..* | Identifier | Other identifiers for the document |
status | ?!ΣI | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required) |
type | SΣI | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentTypeValueSet (preferred) |
category | SΣI | 0..* | CodeableConcept | Categorization of document Binding: DocumentClassValueSet (example) |
subject | SΣI | 0..1 | Reference(Patient) {rb} | Who/what is the subject of the document |
date | SΣI | 0..1 | instant | When this document reference was created |
author | SΣI | 0..* | Reference() {c} | Who and/or what authored the document |
authenticator | I | 0..1 | Reference() {c} | Who/what authenticated the document |
relatesTo | SΣI | 0..* | BackboneElement | Relationships to other documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | ΣI | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) |
target | ΣI | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | ΣI | 0..1 | string | Human-readable description |
securityLabel | SΣI | 0..* | CodeableConcept | Document security-tags Binding: All Security Labels (extensible) |
content | SΣI | 1..1 | BackboneElement | Document referenced |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
attachment | SΣI | 1..1 | Attachment | Where to access the document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
contentType | SΣI | 1..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required) Example General: text/plain; charset=UTF-8, image/png |
language | SΣI | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred) Max Binding: AllLanguages Example General: en-AU |
url | SΣI | 1..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | ΣI | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | ΣI | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | ΣI | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
creation | ΣI | 0..1 | dateTime | Date attachment was first created |
format | SΣI | 0..1 | Coding | Format/content rules for the document Binding: http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode (preferred) |
context | ΣI | 0..1 | BackboneElement | Clinical context of document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
encounter | I | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |
event | I | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example) |
period | SΣI | 0..1 | Period | Time of service that is being documented |
facilityType | SI | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: FacilityTypeCodeValueSet (example) |
practiceSetting | SI | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: PracticeSettingCodeValueSet (example) |
sourcePatientInfo | SI | 0..1 | Reference() {c} | Patient demographics from source |
related | I | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format |
Other representations of profile: Schematron
Path | Conformance | ValueSet |
DocumentReference.language | preferred | CommonLanguages Max Binding: AllLanguages |
DocumentReference.status | required | DocumentReferenceStatus |
DocumentReference.type | preferred | DocumentTypeValueSet |
DocumentReference.category | example | DocumentClassValueSet |
DocumentReference.relatesTo.code | required | DocumentRelationshipType |
DocumentReference.securityLabel | extensible | All Security Labels |
DocumentReference.content.attachment.contentType | required | Mime Types |
DocumentReference.content.attachment.language | preferred | CommonLanguages Max Binding: AllLanguages |
DocumentReference.content.format | preferred | http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode |
DocumentReference.context.event | example | v3.ActCode |
DocumentReference.context.facilityType | example | FacilityTypeCodeValueSet |
DocumentReference.context.practiceSetting | example | PracticeSettingCodeValueSet |
Id | Path | Details | Requirements |
dom-2 | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | DocumentReference | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() | |
dom-4 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated : contained.meta.versionId.empty() and contained.meta.lastUpdated.empty() | |
dom-5 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | DocumentReference.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.masterIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.authenticator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.relatesTo.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.relatesTo.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.relatesTo.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.relatesTo.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo.target | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.securityLabel | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.attachment | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.attachment.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.attachment.contentType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.url | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.size | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.hash | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.creation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.format | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.context.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.context.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.context.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.context.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.event | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.facilityType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.practiceSetting | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.sourcePatientInfo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.related | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |