hl7:observation
|
|
|
|
|
CDA-SMCP |
|
|
@classCode
|
cs |
1 … 1 |
F |
OBS |
@moodCode
|
cs |
1 … 1 |
F |
EVN |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
2.16.756.5.30.1.1.10.4.113 |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
2.16.756.5.30.1.1.10.4.78 |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
1.3.6.1.4.1.19376.1.5.3.1.4.13.7 |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
1.3.6.1.4.1.19376.1.5.3.1.4.13 |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.10.20.1.17 |
hl7:id
|
II |
1 … 1 |
M |
|
CDA-SMCP |
hl7:code
|
CD |
1 … 1 |
R |
|
CDA-SMCP |
@codeSystem
|
oid |
0 … 1 |
F |
2.16.840.1.113883.6.96 |
hl7:text
|
ED |
1 … 1 |
M |
|
CDA-SMCP |
hl7:statusCode
|
CS |
1 … 1 |
M |
|
CDA-SMCP |
@code
|
CONF |
1 … 1 |
F |
completed |
hl7:effectiveTime
|
IVL_TS |
1 … 1 |
M |
|
CDA-SMCP |
Choice |
1 … 3 |
|
Elements to choose from:
- hl7:value[not(@nullFlavor)][(local-name-from-QName(resolve-QName(@xsi:type,.))='BL'
and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
- hl7:value[@codeSystem = '2.16.756.5.30.1.112.3.1.201812.5' or concat(@code, @codeSystem)
= doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.15-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,
@codeSystem)]
- hl7:value[(local-name-from-QName(resolve-QName(@xsi:type,.))='ST' and namespace-uri-from-QName(resolve-QName(@xsi:type,.))='urn:hl7-org:v3')]
|
hl7:value
|
BL |
1 … 1 |
M |
|
CDA-SMCP |
|
|
@xsi:type
|
|
1 … 1 |
F |
BL |
@value
|
bl |
1 … 1 |
R |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(@value='true') or (parent::hl7:observation/hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.5']) |
|
|
Message |
Advance directive existence must be precised using another value element containing
a code of code system 2.16.756.5.30.1.112.3.1.201812.5. |
|
hl7:value
|
CD |
0 … 1 |
C |
|
CDA-SMCP |
|
|
@xsi:type
|
|
1 … 1 |
F |
CD |
@code
|
cs |
1 … 1 |
R |
|
@codeSystem
|
oid |
1 … 1 |
F |
2.16.756.5.30.1.112.3.1.201812.5 |
@codeSystemName
|
st |
1 … 1 |
F |
dmst-prec3 |
@displayName
|
st |
1 … 1 |
R |
|
|
CONF |
|
Included |
0 … 1 |
C |
from 2.16.756.5.30.1.1.10.9.49 Original Text Reference (DYNAMIC) The human-readable text MUST be generated automatically from the structured information
of this element. The text element MUST contain the reference to the corresponding
text in the human readable part, ONLY.
|
hl7:originalText
|
ED |
0 … 1 |
C |
|
CDA‑CH V2 |
hl7:reference
|
TEL |
1 … 1 |
M |
The reference to the corresponding text in the human readable part must be specified
by reference to content[@ID]: reference[@value='#xxx']
|
CDA‑CH V2 |
@value
|
|
1 … 1 |
R |
Reference to the narrative part of the section in the format '#xxx', where xxx is
the ID of the corresponding
element.
|
|
Schematron assert |
role |
error
|
|
|
test |
starts-with(@value,'#') |
|
|
Message |
The @value attribute content MUST conform to the format '#xxx', where xxx is the ID
of the corresponding <content/> element. |
|
|
Variable let |
Name |
idvalue |
|
|
Value |
substring-after(@value,'#') |
|
|
Schematron assert |
role |
error
|
|
|
test |
ancestor::hl7:structuredBody//*[@ID=$idvalue] |
|
|
Message |
No narrative text found for this reference (no content element within this document
has an ID that corresponds to '<value-of select="$idvalue"/>'). |
|
|
Schematron assert |
role |
error
|
|
|
test |
parent::*/text()=ancestor::hl7:structuredBody//*[@ID=$idvalue]/text() |
|
|
Message |
The originalText content MUST be identical to the narrative text for this reference. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(@code=('a')) or (parent::hl7:observation/hl7:reference[hl7:templateId/@root='2.16.840.1.113883.10.20.1.36']) |
|
|
Message |
When declaring an advance directive as attached, a reference to an externaL document
ist required. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(@code=('d')) or (parent::hl7:observation/hl7:value[@xsi:type='ST']/text()) |
|
|
Message |
When declaring an advance directive as deposited, another value of type ST containing
the precision for the deposit place is required. |
|
hl7:value
|
ST |
0 … 1 |
C |
|
CDA-SMCP |
|
|
@xsi:type
|
|
1 … 1 |
F |
ST |
hl7:reference
|
|
0 … * |
R |
|
CDA-SMCP |
@typeCode
|
cs |
1 … 1 |
F |
REFR |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.10.20.1.36 |
hl7:externalDocument
|
|
1 … 1 |
R |
|
CDA-SMCP |
@moodCode
|
cs |
0 … 1 |
F |
EVN |
@classCode
|
cs |
0 … 1 |
F |
DOC |
hl7:id
|
II |
1 … 1 |
M |
|
CDA-SMCP |
hl7:text
|
ED |
0 … 1 |
|
|
CDA-SMCP |