The clinical document typeId identifies the constraints imposed by CDA R2 on the
content, essentially acting as a version identifier.
The @root and @extension values of this element are specified as shown in the example below.
The ClinicalDocument/id element is an instance identifier data type. The root attribute is an OID. The root
uniquely identifies the scope of the extension. The root and extension attributes
uniquely identify the document.
The nn portion SHALL be an ISO-639-1 language code in lower case derived by the Value
Set epSOSLanguage.
The CC portion SHALL be an ISO-3166 country code in upper case derived by the value
Set epSOSCountry
R.11.10
Example
<languageCodecode="en-GB"/>
Schematron assert
role
error
test
matches(@code,'[a-z]{2}-[A-Z]{2}')
Message
The language code SHALL be in the form nn-CC where nn is ISO-639-1 epSOSLanguage and
CC is ISO-3166 epSOSCountry
hl7:setId
II
0 .. 1
This element shall be present to enable further updates to this ClinicalDocument.
This identifier is to remain the same across all revisions of a patient summary.
The person taking responsibility for the medical content of the document. In Spain
this is the regional authority in healthcare. This regional authority healthcare organization
will send this to the NCP. The definition of the legal authenticator may vary accoriding
to the rules set up in the framework agreement particular to each state. It may be
a person or a regional authority, or an NCP.
<codecode="11348-0"codeSystem="2.16.840.1.113883.6.1"codeSystemName="LOINC"displayName="History of Past Illnesses"/>
<title>History of Past Illnesses</title>
<text>
<!-- ... -->
</text>
<entrytypeCode="DRIV">
<!-- ... -->
</entry>
</section>
hl7:templateId
II
1 .. 1
M
Template id History of Past Illnesses
R7
@root
1 .. 1
F
1.3.6.1.4.1.19376.1.5.3.1.3.8
hl7:code
CV
1 .. 1
M
Section code for History of Past Illnesses
R7
@code
1 .. 1
F
11348-0
@codeSystem
1 .. 1
F
2.16.840.1.113883.6.1 (LOINC)
hl7:title
ST
1 .. 1
M
Section title
R7
hl7:text
SD.TEXT
1 .. 1
M
Section text
R7
hl7:component
0 .. *
R7.1
@typeCode
0 .. 1
F
COMP
Contains
an element from template SectionProblemsResolvedClosedInactive (DYNAMIC) with overridden cardinality 0 .. *
hl7:component
0 .. *
R8
@typeCode
0 .. 1
F
COMP
Contains
an element from template SectionVaccinations (DYNAMIC) with overridden cardinality 0 .. *
hl7:component where [hl7:section [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.3.12' or @root='1.3.6.1.4.1.19376.1.5.3.1.3.11'
or @root='2.16.840.1.113883.10.20.1.12']]]
hl7:component where [hl7:section [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.3.12' or @root='1.3.6.1.4.1.19376.1.5.3.1.3.11'
or @root='2.16.840.1.113883.10.20.1.12']]]