STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

6.10.11.4 StructureDefinition: XDSDocumentReference

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/xdsdocumentreference

XDSDocumentEntry

This profile was published on Sun, Jun 24, 2012 00:00+1000 as a draft by HL7.

6.10.11.4.1 Formal Views of Profile Content

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

This structure is derived from DocumentReference.

Summary

Mandatory: 8 elements (+1 nested mandatory element)
Prohibited: 3 elements

This structure is derived from DocumentReference.

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceXDSDocumentEntry
... masterIdentifier 1..1IdentifierXDSDocumentEntry.uniqueId
... identifier 0..*IdentifierXDSDocumentEntry.referenceIdList
... subject 1..1Reference(Patient)XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo
... type 1..1CodeableConceptXDSDocumentEntry.typeCode
... class 1..1CodeableConceptXDSDocumentEntry.classCode
... author 1..*Reference(Practitioner | Device)XDSDocumentEntry.author
... custodian 0..0
... authenticator 0..1Reference(Practitioner)??
... created 1..1dateTimeXDSDocumentEntry.creationTime
... indexed 1..1instantXDS submission time or XDSDocumentEntry.creationTime if unknown
... status 1..1codeimplied by XDS workflow
... docStatus 0..0
... relatesTo 0..*BackboneElementRelationships that this document has with other document references that already exist
.... code 1..1codeThe type of relationship that this document has with anther document
.... target 1..1Reference(DocumentReference)The target document of this relationship
... description 0..1stringXDSDocumentEntry.title
... securityLabel 1..1CodeableConceptXDSDocumentEntry.confidentialityCode
... content 1..*BackboneElement
.... attachment 1..1Attachment
..... contentType 1..1codeXDSDocumentEntry.mimeType
..... language 0..1codeXDSDocumentEntry.languageCode
..... url 0..1urirepository location (by implication & configuration)
..... size 0..1unsignedIntXDSDocumentEntry.size
..... hash 0..1base64BinaryXDSDocumentEntry.hash
... context 0..1BackboneElementevent codes, service Start & Stop time, and facility type
.... encounter 0..0
.... event 0..*CodeableConceptXDSDocumentEntry.eventCodeList
.... period 1..1PeriodXDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime
.... facilityType 0..1CodeableConceptXDSDocumentEntry.healthCareFacilityTypeCode
.... practiceSetting 0..1CodeableConceptXDSDocumentEntry.practiceSettingCode

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceXDSDocumentEntry
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... masterIdentifier 1..1IdentifierXDSDocumentEntry.uniqueId
... identifier 0..*IdentifierXDSDocumentEntry.referenceIdList
... subject 1..1Reference(Patient)XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo
... type 1..1CodeableConceptXDSDocumentEntry.typeCode
Binding: Document Type Value Set (preferred)
... class 1..1CodeableConceptXDSDocumentEntry.classCode
Binding: Document Class Value Set (example)
... author 1..*Reference(Practitioner | Device)XDSDocumentEntry.author
... authenticator 0..1Reference(Practitioner)??
... created 1..1dateTimeXDSDocumentEntry.creationTime
... indexed 1..1instantXDS submission time or XDSDocumentEntry.creationTime if unknown
... status ?! 1..1codeimplied by XDS workflow
Binding: DocumentReferenceStatus (required)
... relatesTo ?! 0..*BackboneElementRelationships that this document has with other document references that already exist
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... code 1..1codeThe type of relationship that this document has with anther document
Binding: DocumentRelationshipType (required)
.... target 1..1Reference(DocumentReference)The target document of this relationship
... description 0..1stringXDSDocumentEntry.title
... securityLabel 1..1CodeableConceptXDSDocumentEntry.confidentialityCode
Binding: All Security Labels (extensible)
... content 1..*BackboneElementDocument referenced
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... attachment 1..1AttachmentWhere to access the document
..... extension 0..*ExtensionAdditional Content defined by implementations
..... contentType 1..1codeXDSDocumentEntry.mimeType
Binding: IETF BCP-13 (required)
Example: text/plain; charset=UTF-8, image/png
..... language 0..1codeXDSDocumentEntry.languageCode
Binding: IETF BCP-47 (required)
Example: en-AU
..... data 0..1base64BinaryData inline, base64ed
..... url 0..1urirepository location (by implication & configuration)
Example: http://www.acme.com/logo-small.png
..... size 0..1unsignedIntXDSDocumentEntry.size
..... hash 0..1base64BinaryXDSDocumentEntry.hash
..... title 0..1stringLabel to display in place of the data
Example: Official Corporate Logo
..... creation 0..1dateTimeDate attachment was first created
.... format 0..*CodingFormat/content rules for the document
Binding: DocumentReference Format Code Set (preferred)
... context 0..1BackboneElementevent codes, service Start & Stop time, and facility type
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... event 0..*CodeableConceptXDSDocumentEntry.eventCodeList
Binding: v3 Code System ActCode (example)
.... period 1..1PeriodXDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime
.... facilityType 0..1CodeableConceptXDSDocumentEntry.healthCareFacilityTypeCode
Binding: Facility Type Code Value Set (example)
.... practiceSetting 0..1CodeableConceptXDSDocumentEntry.practiceSettingCode
Binding: Practice Setting Code Value Set (example)
.... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source
.... related 0..*BackboneElementRelated identifiers or resources
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
..... identifier 0..1IdentifierIdentifier of related objects or events
..... ref 0..1Reference(Resource)Related Resource

doco Documentation for this format

todo

This structure is derived from DocumentReference.

Summary

Mandatory: 8 elements (+1 nested mandatory element)
Prohibited: 3 elements

Differential View

This structure is derived from DocumentReference.

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceXDSDocumentEntry
... masterIdentifier 1..1IdentifierXDSDocumentEntry.uniqueId
... identifier 0..*IdentifierXDSDocumentEntry.referenceIdList
... subject 1..1Reference(Patient)XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo
... type 1..1CodeableConceptXDSDocumentEntry.typeCode
... class 1..1CodeableConceptXDSDocumentEntry.classCode
... author 1..*Reference(Practitioner | Device)XDSDocumentEntry.author
... custodian 0..0
... authenticator 0..1Reference(Practitioner)??
... created 1..1dateTimeXDSDocumentEntry.creationTime
... indexed 1..1instantXDS submission time or XDSDocumentEntry.creationTime if unknown
... status 1..1codeimplied by XDS workflow
... docStatus 0..0
... relatesTo 0..*BackboneElementRelationships that this document has with other document references that already exist
.... code 1..1codeThe type of relationship that this document has with anther document
.... target 1..1Reference(DocumentReference)The target document of this relationship
... description 0..1stringXDSDocumentEntry.title
... securityLabel 1..1CodeableConceptXDSDocumentEntry.confidentialityCode
... content 1..*BackboneElement
.... attachment 1..1Attachment
..... contentType 1..1codeXDSDocumentEntry.mimeType
..... language 0..1codeXDSDocumentEntry.languageCode
..... url 0..1urirepository location (by implication & configuration)
..... size 0..1unsignedIntXDSDocumentEntry.size
..... hash 0..1base64BinaryXDSDocumentEntry.hash
... context 0..1BackboneElementevent codes, service Start & Stop time, and facility type
.... encounter 0..0
.... event 0..*CodeableConceptXDSDocumentEntry.eventCodeList
.... period 1..1PeriodXDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime
.... facilityType 0..1CodeableConceptXDSDocumentEntry.healthCareFacilityTypeCode
.... practiceSetting 0..1CodeableConceptXDSDocumentEntry.practiceSettingCode

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*DocumentReferenceXDSDocumentEntry
... meta 0..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... masterIdentifier 1..1IdentifierXDSDocumentEntry.uniqueId
... identifier 0..*IdentifierXDSDocumentEntry.referenceIdList
... subject 1..1Reference(Patient)XDSDocumentEntry.patientId + sourcePatientId/sourcePatientInfo
... type 1..1CodeableConceptXDSDocumentEntry.typeCode
Binding: Document Type Value Set (preferred)
... class 1..1CodeableConceptXDSDocumentEntry.classCode
Binding: Document Class Value Set (example)
... author 1..*Reference(Practitioner | Device)XDSDocumentEntry.author
... authenticator 0..1Reference(Practitioner)??
... created 1..1dateTimeXDSDocumentEntry.creationTime
... indexed 1..1instantXDS submission time or XDSDocumentEntry.creationTime if unknown
... status ?! 1..1codeimplied by XDS workflow
Binding: DocumentReferenceStatus (required)
... relatesTo ?! 0..*BackboneElementRelationships that this document has with other document references that already exist
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... code 1..1codeThe type of relationship that this document has with anther document
Binding: DocumentRelationshipType (required)
.... target 1..1Reference(DocumentReference)The target document of this relationship
... description 0..1stringXDSDocumentEntry.title
... securityLabel 1..1CodeableConceptXDSDocumentEntry.confidentialityCode
Binding: All Security Labels (extensible)
... content 1..*BackboneElementDocument referenced
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... attachment 1..1AttachmentWhere to access the document
..... extension 0..*ExtensionAdditional Content defined by implementations
..... contentType 1..1codeXDSDocumentEntry.mimeType
Binding: IETF BCP-13 (required)
Example: text/plain; charset=UTF-8, image/png
..... language 0..1codeXDSDocumentEntry.languageCode
Binding: IETF BCP-47 (required)
Example: en-AU
..... data 0..1base64BinaryData inline, base64ed
..... url 0..1urirepository location (by implication & configuration)
Example: http://www.acme.com/logo-small.png
..... size 0..1unsignedIntXDSDocumentEntry.size
..... hash 0..1base64BinaryXDSDocumentEntry.hash
..... title 0..1stringLabel to display in place of the data
Example: Official Corporate Logo
..... creation 0..1dateTimeDate attachment was first created
.... format 0..*CodingFormat/content rules for the document
Binding: DocumentReference Format Code Set (preferred)
... context 0..1BackboneElementevent codes, service Start & Stop time, and facility type
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
.... event 0..*CodeableConceptXDSDocumentEntry.eventCodeList
Binding: v3 Code System ActCode (example)
.... period 1..1PeriodXDSDocumentEntry.serviceStartTime & XDSDocumentEntry.serviceStopTime
.... facilityType 0..1CodeableConceptXDSDocumentEntry.healthCareFacilityTypeCode
Binding: Facility Type Code Value Set (example)
.... practiceSetting 0..1CodeableConceptXDSDocumentEntry.practiceSettingCode
Binding: Practice Setting Code Value Set (example)
.... sourcePatientInfo 0..1Reference(Patient)Patient demographics from source
.... related 0..*BackboneElementRelated identifiers or resources
..... extension 0..*ExtensionAdditional Content defined by implementations
..... modifierExtension ?! 0..*ExtensionExtensions that cannot be ignored
..... identifier 0..1IdentifierIdentifier of related objects or events
..... ref 0..1Reference(Resource)Related Resource

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

6.10.11.4.2 Terminology Bindings

PathNameConformanceValueSet
DocumentReference.language?extrequiredhttp://tools.ietf.org/html/bcp47
DocumentReference.typeDocument Type Value SetpreferredDocument Type Value Set
DocumentReference.classDocument Class Value SetexampleDocument Class Value Set
DocumentReference.statusDocumentReferenceStatusrequiredDocumentReferenceStatus
DocumentReference.relatesTo.codeDocumentRelationshipTyperequiredDocumentRelationshipType
DocumentReference.securityLabelAll Security LabelsextensibleAll Security Labels
DocumentReference.content.attachment.contentType?extrequiredhttp://www.rfc-editor.org/bcp/bcp13.txt
DocumentReference.content.attachment.language?extrequiredhttp://tools.ietf.org/html/bcp47
DocumentReference.content.formatDocumentReference Format Code SetpreferredDocumentReference Format Code Set
DocumentReference.context.eventv3 Code System ActCodeexamplev3 Code System ActCode
DocumentReference.context.facilityTypeFacility Type Code Value SetexampleFacility Type Code Value Set
DocumentReference.context.practiceSettingPractice Setting Code Value SetexamplePractice Setting Code Value Set

6.10.11.4.3 Constraints

IdPathDetailsRequirements
.