Consolidated CDA
3.0.0-ballot - ballot United States of America flag

This page is part of the CCDA: Consolidated CDA Release (v3.0.0-ballot: CCDA 3.0 Ballot 1) based on FHIR (HL7® FHIR® Standard) v5.0.0. . For a full list of available versions, see the Directory of published versions

Logical Model: External Document Reference

Official URL: http://hl7.org/cda/us/ccda/StructureDefinition/ExternalDocumentReference Version: 3.0.0-ballot
Draft as of 2023-12-21 Computable Name: ExternalDocumentReference
Other Identifiers: id: urn:hl7ii:2.16.840.1.113883.10.20.22.4.115:2014-06-09

Where it is necessary to reference an external clinical document, the External Document Reference template can be used to reference this external document. However, if the containing document is appending to or replacing another document in the same set, that relationship is set in the header, using ClinicalDocument/relatedDocument.

Usage:

Formal Views of Profile Content

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

This structure is derived from ExternalDocument

NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:external-doc-ref 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csFixed Value: DOCCLIN
... @moodCode 1..1cs
... code 1..1CD
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:external-doc-ref 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csBinding: ActClassDocument (required)
Fixed Value: DOCCLIN
... @moodCode 1..1csBinding: ActMood (required)
Fixed Value: EVN
... code 1..1CDBinding: FHIRDocumentTypeCodes (example)
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ExternalDocument.classCoderequiredFixed Value: DOCCLIN
ExternalDocument.moodCoderequiredFixed Value: EVN
ExternalDocument.codeexampleFHIRDocumentTypeCodes

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
.... templateId:external-doc-ref 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csBinding: ActClassDocument (required)
Fixed Value: DOCCLIN
... @moodCode 1..1csBinding: ActMood (required)
Fixed Value: EVN
... id 1..1II
... code 1..1CDBinding: FHIRDocumentTypeCodes (example)
... text 0..1ED
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ExternalDocument.nullFlavorrequiredCDANullFlavor
ExternalDocument.typeId.nullFlavorrequiredCDANullFlavor
ExternalDocument.templateId:external-doc-ref.nullFlavorrequiredCDANullFlavor
ExternalDocument.classCoderequiredFixed Value: DOCCLIN
ExternalDocument.moodCoderequiredFixed Value: EVN
ExternalDocument.codeexampleFHIRDocumentTypeCodes

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()

This structure is derived from ExternalDocument

Summary

Mandatory: 8 elements
Fixed Value: 1 element

Slices

This structure defines the following Slices:

  • The element ExternalDocument.templateId is sliced based on the values of value:root, value:extension

Differential View

This structure is derived from ExternalDocument

NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:external-doc-ref 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csFixed Value: DOCCLIN
... @moodCode 1..1cs
... code 1..1CD
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... Slices for templateId 1..*IISlice: Unordered, Open by value:root, value:extension
.... templateId:external-doc-ref 1..1II
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csBinding: ActClassDocument (required)
Fixed Value: DOCCLIN
... @moodCode 1..1csBinding: ActMood (required)
Fixed Value: EVN
... code 1..1CDBinding: FHIRDocumentTypeCodes (example)
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ExternalDocument.classCoderequiredFixed Value: DOCCLIN
ExternalDocument.moodCoderequiredFixed Value: EVN
ExternalDocument.codeexampleFHIRDocumentTypeCodes

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. ExternalDocument C1..1ExternalDocumentXML Namespace: urn:hl7-org:v3
Elements defined in Ancestors: @nullFlavor, realmCode, typeId, templateId, @classCode, @moodCode, id, code, text, setId, versionNumber
Base for all types and resources
Instances of this type are validated by templateId
Logical Container: ClinicalDocument (CDA Class)
should-setId: SHOULD contain setId
should-versionNumber: SHOULD contain versionNumber
... @nullFlavor 0..1csBinding: CDANullFlavor (required)
... realmCode 0..*CS
... typeId 0..1II
.... @nullFlavor 0..1csBinding: CDANullFlavor (required)
.... @assigningAuthorityName 0..1st
.... @displayable 0..1bl
.... @root 1..1oid, uuid, ruidFixed Value: 2.16.840.1.113883.1.3
.... @extension 1..1st
.... templateId:external-doc-ref 1..1II
..... @nullFlavor 0..1csBinding: CDANullFlavor (required)
..... @assigningAuthorityName 0..1st
..... @displayable 0..1bl
..... @root 1..1oid, uuid, ruidRequired Pattern: 2.16.840.1.113883.10.20.22.4.115
..... @extension 1..1stRequired Pattern: 2014-06-09
... @classCode 1..1csBinding: ActClassDocument (required)
Fixed Value: DOCCLIN
... @moodCode 1..1csBinding: ActMood (required)
Fixed Value: EVN
... id 1..1II
... code 1..1CDBinding: FHIRDocumentTypeCodes (example)
... text 0..1ED
... setId 0..1II
... versionNumber 0..1INT

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
ExternalDocument.nullFlavorrequiredCDANullFlavor
ExternalDocument.typeId.nullFlavorrequiredCDANullFlavor
ExternalDocument.templateId:external-doc-ref.nullFlavorrequiredCDANullFlavor
ExternalDocument.classCoderequiredFixed Value: DOCCLIN
ExternalDocument.moodCoderequiredFixed Value: EVN
ExternalDocument.codeexampleFHIRDocumentTypeCodes

Constraints

IdGradePath(s)DetailsRequirements
should-setIdwarningExternalDocumentSHOULD contain setId
: setId.exists()
should-versionNumberwarningExternalDocumentSHOULD contain versionNumber
: versionNumber.exists()

This structure is derived from ExternalDocument

Summary

Mandatory: 8 elements
Fixed Value: 1 element

Slices

This structure defines the following Slices:

  • The element ExternalDocument.templateId is sliced based on the values of value:root, value:extension

 

Other representations of profile: CSV, Excel