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.112 |
hl7:templateId
|
II |
1 … 1 |
M |
|
CDA-SMCP |
@root
|
uid |
1 … 1 |
F |
2.16.756.5.30.1.1.10.4.71 |
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:id
|
II |
1 … 1 |
M |
|
CDA-SMCP |
hl7:code
|
CD |
1 … 1 |
M |
|
CDA-SMCP |
|
CONF |
|
hl7:text
|
ED |
1 … 1 |
M |
|
CDA-SMCP |
hl7:reference
|
TEL |
0 … 1 |
|
|
CDA-SMCP |
@value
|
st |
1 … 1 |
R |
|
hl7:statusCode
|
CS |
1 … 1 |
M |
|
CDA-SMCP |
@code
|
cs |
1 … 1 |
F |
completed |
Choice |
1 … 1 |
|
Elements to choose from:
- hl7:effectiveTime
- hl7:effectiveTime
|
hl7:effectiveTime
|
TS.CH.TZ |
0 … 1 |
R |
|
CDA-SMCP |
hl7:effectiveTime
|
IVL_TS |
0 … 1 |
R |
|
CDA-SMCP |
hl7:low
|
TS.CH.TZ |
|
|
|
CDA-SMCP |
hl7:high
|
TS.CH.TZ |
|
|
|
CDA-SMCP |
Choice |
1 … 2 |
|
Elements to choose from:
- hl7:value[concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.21-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,
@codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.1.1.3.6.3.11.22-DYNAMIC.xml')//valueSet[1]/conceptList/concept/concat(@code,
@codeSystem) or concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.1-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
|
CD |
0 … 2 |
C |
|
CDA-SMCP |
|
|
@xsi:type
|
|
1 … 1 |
F |
CD |
@code
|
cs |
1 … 1 |
R |
|
@codeSystem
|
oid |
1 … 1 |
R |
|
@codeSystemName
|
st |
1 … 1 |
R |
|
@displayName
|
st |
1 … 1 |
R |
|
|
CONF |
|
hl7:value
|
ST |
0 … 1 |
C |
|
CDA-SMCP |
@xsi:type
|
|
1 … 1 |
F |
ST |
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('17.4')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.2.1.1.3.1'
and @code])
|
|
|
Message |
Transfer envelope must be valued based on CD datatype and the Swiss Standard CDA Body
Selection code (2.16.756.5.30.2.1.1.3.1) as code system. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('17.5.1')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.7'
and @code])
|
|
|
Message |
Drugs taken on the day of transfer must be valued based on CD datatype and the corresponding
DMST code (2.16.756.5.30.1.112.3.1.201812.7) as code system. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('18.1.1')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.6'
and @code])
|
|
|
Message |
Transferred with must be valued based on CD datatype and the corresponding DMST code
(2.16.756.5.30.1.112.3.1.201812.6) as code system. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('18.1.1')]) or (not(hl7:value[@code='oth'])) or (hl7:value[@code='oth']
and hl7:value[@xsi:type='ST' and text()])
|
|
|
Message |
When Transferred with is anserwed by other, a precision must be valued based on ST
datatype. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('18.2.1', '18.3.1', '19.1')]) or (hl7:value[@xsi:type='CD' and
@codeSystem='2.16.756.5.30.2.1.1.3.1' and @code])
|
|
|
Message |
Lost objects, Searching for objects, La personne (et/ou son représentant) a été informée
et a donné son accord must be valued based on CD datatype and the Swiss Standard CDA
Body Selection code (2.16.756.5.30.2.1.1.3.1) as code system. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('18.2.1', '18.3.1')]) or (hl7:value[@code='N']) or (hl7:value[@code='Y']
and hl7:value[@xsi:type='ST' and text()])
|
|
|
Message |
When Lost objects, Searching for objects is anserwed by yes, a precision must be valued
based on ST datatype. |
|