Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » CDA xsi:type is namespwce?How to set it in the code?
CDA xsi:type is namespwce?How to set it in the code? [message #588273] Tue, 26 May 2009 07:42
RobertHua is currently offline RobertHuaFriend
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!!!
Previous Topic:CDA xsi:type is namespwce?How to set it in the code?
Next Topic:Metadata ClassCode and TypeCode validate?
Goto Forum:
  


Current Time: Sat Nov 29 02:58:39 GMT 2014

Powered by FUDForum. Page generated in 0.07778 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software