This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://hl7.org/fhir/Profile/xds-documentreference
. XDSDocumentEntry
This profile was published on Sun, Jun 24, 2012 00:00+1000 as a draft by HL7.
Required/Prohibited Elements
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
Differential View
This structure is derived from DocumentReference.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 1..1 | XDSDocumentEntry | ||
masterIdentifier | 1..1 | Identifier | XDSDocumentEntry.uniqueId | |
identifier | 0..* | Identifier | XDSDocumentEntry.referenceIdList | |
subject | 1..1 | Patient | XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo | |
type | 1..1 | CodeableConcept | XDSDocumentEntry.typeCode | |
class | 1..1 | CodeableConcept | XDSDocumentEntry.classCode | |
format | 1..1 | uri | XDSDocumentEntry.formatCode | |
author | 1..* | Practitioner, Device | XDSDocumentEntry.author | |
custodian | 0..0 | Organization | ||
policyManager | 0..1 | uri | XDSDocumentEntry.homeCommunityId | |
authenticator | 0..1 | Practitioner | ?? | |
created | 1..1 | dateTime | XDSDocumentEntry.creationTime | |
indexed | 1..1 | instant | XDS submission time or XDSDocumentEntry.creationTime if unknown | |
status | 1..1 | code | implied by XDS workflow | |
docStatus | 0..0 | CodeableConcept | ||
relatesTo | 0..* | Relationships that this document has with other document references that already exist | ||
code | 1..1 | code | The type of relationship that this document has with anther document | |
target | 1..1 | DocumentReference | The target document of this relationship | |
description | 0..1 | string | XDSDocumentEntry.title | |
confidentiality | 1..1 | CodeableConcept | XDSDocumentEntry.confidentialityCode | |
content | ||||
contentType | 1..1 | code | XDSDocumentEntry.mimeType | |
language | 0..1 | code | XDSDocumentEntry.languageCode | |
url | 0..1 | uri | repository location (by implication & configuration) | |
size | 0..1 | integer | XDSDocumentEntry.size | |
hash | 0..1 | base64Binary | XDSDocumentEntry.hash | |
context | 0..1 | event codes, service Start & Stop time, and facility type | ||
event | 0..* | CodeableConcept | XDSDocumentEntry.eventCodeList | |
period | 1..1 | Period | XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime | |
facilityType | 0..1 | CodeableConcept | XDSDocumentEntry.healthCareFacilityTypeCode |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 1..1 | XDSDocumentEntry | ||
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required, not extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
masterIdentifier | 1..1 | Identifier | XDSDocumentEntry.uniqueId | |
identifier | 0..* | Identifier | XDSDocumentEntry.referenceIdList | |
subject | 1..1 | Patient | XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo | |
type | 1..1 | CodeableConcept | XDSDocumentEntry.typeCode Binding: DocumentType (preferred, extensible) | |
class | 1..1 | CodeableConcept | XDSDocumentEntry.classCode Binding: DocumentClass (example, extensible) | |
format | 1..1 | uri | XDSDocumentEntry.formatCode | |
author | 1..* | Practitioner, Device | XDSDocumentEntry.author | |
policyManager | 0..1 | uri | XDSDocumentEntry.homeCommunityId | |
authenticator | 0..1 | Practitioner | ?? | |
created | 1..1 | dateTime | XDSDocumentEntry.creationTime | |
indexed | 1..1 | instant | XDS submission time or XDSDocumentEntry.creationTime if unknown | |
status | M | 1..1 | code | implied by XDS workflow Binding: DocumentReferenceStatus (required, not extensible) |
relatesTo | M | 0..* | Relationships that this document has with other document references that already exist | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
code | 1..1 | code | The type of relationship that this document has with anther document Binding: DocumentRelationshipType (required, not extensible) | |
target | 1..1 | DocumentReference | The target document of this relationship | |
description | 0..1 | string | XDSDocumentEntry.title | |
confidentiality | M | 1..1 | CodeableConcept | XDSDocumentEntry.confidentialityCode Binding: DocumentConfidentiality (preferred, extensible) |
content | 1..* | Attachment | Where to access the document | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
contentType | 1..1 | code | XDSDocumentEntry.mimeType Binding: MimeType (required, not extensible) Example: text/plain; charset=UTF-8, image/png | |
language | 0..1 | code | XDSDocumentEntry.languageCode Binding: Language (required, not extensible) Example: en-AU | |
data | 0..1 | base64Binary | Data inline, base64ed | |
url | 0..1 | uri | repository location (by implication & configuration) Example: http://www.acme.com/logo-small.png | |
size | 0..1 | integer | XDSDocumentEntry.size | |
hash | 0..1 | base64Binary | XDSDocumentEntry.hash | |
title | 0..1 | string | Label to display in place of the data Example: "Official Corporate Logo" | |
context | 0..1 | event codes, service Start & Stop time, and facility type | ||
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
event | 0..* | CodeableConcept | XDSDocumentEntry.eventCodeList Binding: DocumentEventType (preferred, extensible) | |
period | 1..1 | Period | XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime | |
facilityType | 0..1 | CodeableConcept | XDSDocumentEntry.healthCareFacilityTypeCode Binding: DocumentFacilityType (example, extensible) |
XML Template
JSON Template
todo
Differential View
This structure is derived from DocumentReference.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 1..1 | XDSDocumentEntry | ||
masterIdentifier | 1..1 | Identifier | XDSDocumentEntry.uniqueId | |
identifier | 0..* | Identifier | XDSDocumentEntry.referenceIdList | |
subject | 1..1 | Patient | XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo | |
type | 1..1 | CodeableConcept | XDSDocumentEntry.typeCode | |
class | 1..1 | CodeableConcept | XDSDocumentEntry.classCode | |
format | 1..1 | uri | XDSDocumentEntry.formatCode | |
author | 1..* | Practitioner, Device | XDSDocumentEntry.author | |
custodian | 0..0 | Organization | ||
policyManager | 0..1 | uri | XDSDocumentEntry.homeCommunityId | |
authenticator | 0..1 | Practitioner | ?? | |
created | 1..1 | dateTime | XDSDocumentEntry.creationTime | |
indexed | 1..1 | instant | XDS submission time or XDSDocumentEntry.creationTime if unknown | |
status | 1..1 | code | implied by XDS workflow | |
docStatus | 0..0 | CodeableConcept | ||
relatesTo | 0..* | Relationships that this document has with other document references that already exist | ||
code | 1..1 | code | The type of relationship that this document has with anther document | |
target | 1..1 | DocumentReference | The target document of this relationship | |
description | 0..1 | string | XDSDocumentEntry.title | |
confidentiality | 1..1 | CodeableConcept | XDSDocumentEntry.confidentialityCode | |
content | ||||
contentType | 1..1 | code | XDSDocumentEntry.mimeType | |
language | 0..1 | code | XDSDocumentEntry.languageCode | |
url | 0..1 | uri | repository location (by implication & configuration) | |
size | 0..1 | integer | XDSDocumentEntry.size | |
hash | 0..1 | base64Binary | XDSDocumentEntry.hash | |
context | 0..1 | event codes, service Start & Stop time, and facility type | ||
event | 0..* | CodeableConcept | XDSDocumentEntry.eventCodeList | |
period | 1..1 | Period | XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime | |
facilityType | 0..1 | CodeableConcept | XDSDocumentEntry.healthCareFacilityTypeCode |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 1..1 | XDSDocumentEntry | ||
id | 0..1 | id | Logical id of this artefact | |
meta | 0..1 | Meta | Metadata about the resource | |
implicitRules | M | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: Language (required, not extensible) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
masterIdentifier | 1..1 | Identifier | XDSDocumentEntry.uniqueId | |
identifier | 0..* | Identifier | XDSDocumentEntry.referenceIdList | |
subject | 1..1 | Patient | XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo | |
type | 1..1 | CodeableConcept | XDSDocumentEntry.typeCode Binding: DocumentType (preferred, extensible) | |
class | 1..1 | CodeableConcept | XDSDocumentEntry.classCode Binding: DocumentClass (example, extensible) | |
format | 1..1 | uri | XDSDocumentEntry.formatCode | |
author | 1..* | Practitioner, Device | XDSDocumentEntry.author | |
policyManager | 0..1 | uri | XDSDocumentEntry.homeCommunityId | |
authenticator | 0..1 | Practitioner | ?? | |
created | 1..1 | dateTime | XDSDocumentEntry.creationTime | |
indexed | 1..1 | instant | XDS submission time or XDSDocumentEntry.creationTime if unknown | |
status | M | 1..1 | code | implied by XDS workflow Binding: DocumentReferenceStatus (required, not extensible) |
relatesTo | M | 0..* | Relationships that this document has with other document references that already exist | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
code | 1..1 | code | The type of relationship that this document has with anther document Binding: DocumentRelationshipType (required, not extensible) | |
target | 1..1 | DocumentReference | The target document of this relationship | |
description | 0..1 | string | XDSDocumentEntry.title | |
confidentiality | M | 1..1 | CodeableConcept | XDSDocumentEntry.confidentialityCode Binding: DocumentConfidentiality (preferred, extensible) |
content | 1..* | Attachment | Where to access the document | |
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
contentType | 1..1 | code | XDSDocumentEntry.mimeType Binding: MimeType (required, not extensible) Example: text/plain; charset=UTF-8, image/png | |
language | 0..1 | code | XDSDocumentEntry.languageCode Binding: Language (required, not extensible) Example: en-AU | |
data | 0..1 | base64Binary | Data inline, base64ed | |
url | 0..1 | uri | repository location (by implication & configuration) Example: http://www.acme.com/logo-small.png | |
size | 0..1 | integer | XDSDocumentEntry.size | |
hash | 0..1 | base64Binary | XDSDocumentEntry.hash | |
title | 0..1 | string | Label to display in place of the data Example: "Official Corporate Logo" | |
context | 0..1 | event codes, service Start & Stop time, and facility type | ||
id | 0..1 | id | xml:id (or equivalent in JSON) | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | 0..* | Extension | Extensions that cannot be ignored | |
event | 0..* | CodeableConcept | XDSDocumentEntry.eventCodeList Binding: DocumentEventType (preferred, extensible) | |
period | 1..1 | Period | XDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime | |
facilityType | 0..1 | CodeableConcept | XDSDocumentEntry.healthCareFacilityTypeCode Binding: DocumentFacilityType (example, extensible) |
XML Template
JSON Template
todo
Other definitions: (todo)
Path | Name | Conformance | ValueSet |
DocumentReference.language | Language | required | http://tools.ietf.org/html/bcp47 |
DocumentReference.type | DocumentType | preferred (extensible) | FHIR Document Codes |
DocumentReference.class | DocumentClass | example (extensible) | XDS Connect-a-thon healthcareFacilityTypeCodes |
DocumentReference.status | DocumentReferenceStatus | required | DocumentReferenceStatus |
DocumentReference.docStatus | ReferredDocumentStatus | preferred (extensible) | CompositionStatus |
DocumentReference.relatesTo.code | DocumentRelationshipType | required | DocumentRelationshipType |
DocumentReference.confidentiality | DocumentConfidentiality | preferred (extensible) | v3 Code System Confidentiality |
DocumentReference.content.contentType | MimeType | required | http://www.rfc-editor.org/bcp/bcp13.txt |
DocumentReference.content.language | Language | required | http://tools.ietf.org/html/bcp47 |
DocumentReference.context.event | DocumentEventType | preferred (extensible) | v3 Code System ActCode |
DocumentReference.context.facilityType | DocumentFacilityType | example (extensible) | XDS Connect-a-thon healthcareFacilityTypeCodes |
Id | Path | Name | Details |