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.107 |
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 |
0 … 1 |
R |
|
CDA-SMCP |
hl7:effectiveTime
|
IVL_TS |
0 … 1 |
R |
|
CDA-SMCP |
hl7:low
|
IVXB_TS |
|
|
|
CDA-SMCP |
hl7:high
|
IVXB_TS |
|
|
|
CDA-SMCP |
Choice |
1 … 2 |
|
Elements to choose from:
- hl7:value[concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.1-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.20-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 |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(parent::hl7:observation/hl7:code/@code=('16.4')) or not(@code=('Y')) or (parent::hl7:observation/hl7:value[@xsi:type='ST']/text()) |
|
|
Message |
When Ambulatory follow-up is anserwed by Yes, a precision must be valued based on
ST datatype. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(parent::hl7:observation/hl7:code/@code=('16.9')) or not(@code=('n')) or (parent::hl7:observation/hl7:value[@xsi:type='CD'
and @codeSystem='2.16.756.5.30.2.1.1.3.1' and @code])
|
|
|
Message |
When Medical Document (DMT) anserwed by No, a precision for 'follows' 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(@codeSystem=('2.16.756.5.30.1.112.3.1.201812.3', '2.16.756.5.30.1.112.3.1.201812.4',
'2.16.756.5.30.1.112.3.1.201812.5') and @code=('a')) or (parent::hl7:observation/hl7:reference[hl7:templateId/@root='2.16.840.1.113883.10.20.1.36'])
|
|
|
Message |
When a question is anserwed by attached, a reference to an externaL document ist required. |
|
hl7:value
|
ST |
0 … 1 |
C |
|
CDA-SMCP |
@xsi:type
|
|
1 … 1 |
F |
ST |
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('15.4.1')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.2.1.1.3.1'
and @code])
|
|
|
Message |
Outpatient follow-up 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=('15.4.1')]) or (hl7:value[@code='N']) or (hl7:value[@code='Y']
and hl7:value[@xsi:type='ST' and text()])
|
|
|
Message |
When Outpatient follow-up is anserwed by yes, a precision must be valued based on
ST datatype. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.2.1', '16.2.3', '16.2.3')]) or (hl7:value[@xsi:type='CD' and
@codeSystem='2.16.756.5.30.2.1.1.3.1' and @code])
|
|
|
Message |
Adhesion to the decision 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=('16.3')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Care to continue and care to plan must be precised using another value element containing
a code of code system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.4')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.2.1.1.3.1'
and @code])
|
|
|
Message |
Ambulatory follow-up 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=('57833-6')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Ordonnance must be precised using another value element containing a code of code
system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.9')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Medical Document (DMT) must be precised using another value element containing a code
of code system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.10')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Treatment plan must be precised using another value element containing a code of code
system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.11')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Specific evaluations must be precised using another value element containing a code
of code system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('16.12')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.1.112.3.1.201812.4'
and @code])
|
|
|
Message |
Other documents must be precised using another value element containing a code of
code system 2.16.756.5.30.1.112.3.1.201812.4. |
|
|
Schematron assert |
role |
error
|
|
|
test |
not(hl7:code[@code=('19.1')]) or (hl7:value[@xsi:type='CD' and @codeSystem='2.16.756.5.30.2.1.1.3.1'
and @code])
|
|
|
Message |
The person was informed and has agreed 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. |
|