hl7:observation
|
|
|
|
|
(Vition) |
@classCode
|
cs |
1 … 1 |
F |
OBS |
@moodCode
|
cs |
1 … 1 |
F |
EVN |
hl7:templateId
|
II |
1 … 1 |
M |
|
(Vition) |
@root
|
uid |
1 … 1 |
F |
2.16.756.5.30.1.1.10.4.21 |
hl7:templateId
|
II |
1 … 1 |
M |
|
(Vition) |
@root
|
uid |
1 … 1 |
F |
1.3.6.1.4.1.19376.1.5.3.1.4.13 |
hl7:templateId
|
II |
1 … 1 |
M |
|
(Vition) |
@root
|
uid |
1 … 1 |
F |
1.3.6.1.4.1.19376.1.5.3.1.4.13.2 |
hl7:templateId
|
II |
1 … 1 |
M |
|
(Vition) |
@root
|
uid |
1 … 1 |
F |
2.16.840.1.113883.10.20.1.31 |
hl7:id
|
II |
1 … 1 |
M |
An ID for this item CAN be filled for traceability. |
(Vition) |
@extension
|
st |
1 … 1 |
R |
MUST contain the ID itself. The ID MUST be unique within the system that issued the
ID.
|
@root
|
uid |
1 … 1 |
R |
MUST contain the OID of the system that issued the ID. OIDs of code systems, which
are published in the public OID registry for the Swiss health care system (oid.refdata.ch)
are REQUIRED. Others are NOT ALLOWED.
|
hl7:code
|
CD |
1 … 1 |
R |
|
(Vition) |
|
CONF |
|
Included |
1 … 1 |
|
from 2.16.756.5.30.1.1.10.9.14 Narrative Text Reference (DYNAMIC) The reference to the text in the narrative section of the section MUST be specified.
|
hl7:text
|
ED |
1 … 1 |
M |
|
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"/>'). |
|
hl7:statusCode
|
CS |
1 … 1 |
M |
The status 'completed' indicates that the observation is final. |
(Vition) |
|
CONF |
|
hl7:effectiveTime
|
IVL_TS.CH.TZ |
|
NP |
(de-CH) Es gilt die effectiveTime des organizer.
|
(Vition) |
hl7:value
|
ANY |
1 … 1 |
R |
According to table in [IHE PCC TF-2], 6.3.4.22.3 |
(Vition) |
hl7:interpretationCode
|
CE |
0 … * |
R |
|
(Vition) |
hl7:methodCode
|
CE |
0 … * |
R |
|
(Vition) |
hl7:targetSiteCode
|
CD |
0 … * |
R |
|
(Vition) |
Included |
|
|
from 2.16.756.5.30.1.127.10.4.35 Check Properties (DYNAMIC)
|
|
Variable let |
Name |
ap |
|
|
Value |
doc('include/cs-2.16.756.5.30.1.127.77.6.5.1-DYNAMIC.xml') |
|
|
Variable let |
Name |
apunits |
|
|
Value |
$ap//concept[property/code[@value='unit']] |
|
|
Variable let |
Name |
apDataTypes |
|
|
Value |
$ap//concept[property/code[@value='dataType']] |
|
|
Variable let |
Name |
apObservationValuePresent |
|
|
Value |
$ap//concept[property/code[@value='observationValuePresent']] |
|
|
Variable let |
Name |
apInterpretationCodePOSNEGIND |
|
|
Value |
$ap//concept[property/code[@value='interpretationCodePOSNEGIND']] |
|
|
Variable let |
Name |
apsection |
|
|
Value |
$ap//concept[property/code[@value='specialtySection']] |
|
|
Variable let |
Name |
oc |
|
|
Value |
hl7:code/@code |
|
|
Variable let |
Name |
ovu |
|
|
Value |
hl7:value/@unit |
|
|
Variable let |
Name |
dc |
|
|
Value |
$apunits[code/@value=$oc]/property[code/@value='unit']/valueCode/@value |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($ovu)=0 or count($apunits[code/@value=$oc])=0 or count($dc)=0 or $ovu=$dc |
|
|
Message |
Observations with code <value-of select="$oc"/> shall have unit(s) <value-of select="$dc"/>. |
|
|
Variable let |
Name |
osectioncode |
|
|
Value |
ancestor::hl7:section/hl7:code/@code |
|
|
Variable let |
Name |
dc |
|
|
Value |
$apsection[code/@value=$oc]/property[code/@value='specialtySection']/valueCode/@value |
|
|
Variable let |
Name |
dn |
|
|
Value |
$apsection[code/@value=$oc]/property[code/@value='specialtySectionName']/valueString/@value |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($osectioncode)=0 or string-length($dc)=0 or $osectioncode = $dc |
|
|
Message |
Observations with code <value-of select="$oc"/> shall appear within a section with code <value-of select="$dc"/>
<value-of select="$dn"/>, found <value-of select="$osectioncode"/>. |
|
|
Variable let |
Name |
apDataTypes |
|
|
Value |
$ap//concept[property/code[@value='dataType']] |
|
|
Variable let |
Name |
dtr |
|
|
Value |
$apDataTypes[code/@value=$oc]/property[code/@value='dataType']/valueCode/@value |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($dtr)=0 or hl7:value[@xsi:type=$dtr] |
|
|
Message |
Datatype of the value element (xsi:type) shall be <value-of select="$dtr"/>
|
|
|
Variable let |
Name |
apObservationValuePresent |
|
|
Value |
$ap//concept[property/code[@value='observationValuePresent']] |
|
|
Variable let |
Name |
vpre |
|
|
Value |
$apObservationValuePresent[code/@value=$oc]/property[code/@value='observationValuePresent']/valueBoolean/@value |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($vpre)=0 or $vpre='false' or hl7:value |
|
|
Message |
Observations with code <value-of select="$oc"/> shall have a value element. |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($vpre)=0 or $vpre='true' or not(hl7:value) |
|
|
Message |
Observations with code <value-of select="$oc"/> shall not have a value element. |
|
|
Variable let |
Name |
apInterpretationCodePOSNEGIND |
|
|
Value |
$ap//concept[property/code[@value='interpretationCodePOSNEGIND']] |
|
|
Variable let |
Name |
icd |
|
|
Value |
$apInterpretationCodePOSNEGIND[code/@value=$oc]/property[code/@value='interpretationCodePOSNEGIND']/valueBoolean/@value |
|
|
Schematron assert |
role |
error
|
|
|
test |
string-length($icd)=0 or $icd='false' or hl7:interpretationCode/@nullFlavor or hl7:interpretationCode/@code=('POS','NEG','IND') |
|
|
Message |
Observations with code <value-of select="$oc"/> shall have a interpretationCode element that shall be valued with POS','NEG' or 'IND'. |
|
hl7:entryRelationship
|
|
0 … * |
R |
(de-CH) Allfällige Bemerkungen
Contains 1.3.6.1.4.1.19376.1.5.3.1.4.2 IHE Comment Entry (DYNAMIC)
|
(Vition) |
|
where [hl7:act [hl7:templateId [@root = '2.16.840.1.113883.10.20.1.40'] and hl7:templateId
[@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']]] |
|
|
@typeCode
|
|
1 … 1 |
F |
SUBJ |