In writing some code to parse the XML to populate my database I notice
there is not always a matching XML on subversion for a given ADL.

For example there is

http://svn.openehr.org/knowledge/archetypes/dev/adl/openehr/ehr/entry/observation/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl

http://svn.openehr.org/knowledge/archetypes/dev/xml/openehr/ehr/entry/observation/openEHR-EHR-OBSERVATION.blood_pressure.v1.xml


but not an XML for

http://svn.openehr.org/knowledge/archetypes/dev/adl/openehr/ehr/entry/observation/openEHR-EHR-OBSERVATION.respiration.v1.adl


To get around this I started to use the LiU Archetype Editor but I
realize now it generates a different XML than on subversion.  For
example the LiU editor generates nodes with type

<children xsi:type="at:C_QUANTITY">
   <rm_type_name>DvQuantity</rm_type_name>

but on subversion it has

<children xsi:type="C_DV_QUANTITY">
    <rm_type_name>QUANTITY</rm_type_name>


Is the XML unreliable such that I must use a Java ADL parser?

thanks!

Greg

Reply via email to