CDA xsi:type is namespwce?How to set it in the code? [message #50249] |
Tue, 26 May 2009 07:42 |
RobertHua Messages: 58 Registered: July 2009 |
Member |
|
|
<value xsi:type="PQ" value="201.5" unit="lb_av"/>
If I use Xpath to get the value,how can I write the path include the
xsi:type?
I validate the CCD using the template,
Error:
rror at axsl:template on line 3963 of
file:/D:/eclipse/WorkBench/3c/inforson.hl7.phmr/resources/Sa mpleCCDDocument.xml:
Invalid character (:) in expression
*[cda:templateId/@root="2.16.840.1.113883.10.20.1.31"]/cda:value[*:type= "PQ"]
In the 2.16.840.1.113883.10.20.1.31.ent:
<!-- next context -should- be xsi:type but xsi prefix not declared -->
<rule
context='*[cda:templateId/@root="2.16.840.1.113883.10.20.1.31 "]/cda:value[*:type="PQ"]'>
<assert test="@codeSystem='2.16.840.1.113883.6.8'">Where Observation /
value is a physical quantity, the unit of measure SHALL be expressed using
a valid UCUM expression.</assert>
</rule>
Give me some suggestion?
Thanks!!!
|
|
|
Powered by
FUDForum. Page generated in 0.04289 seconds