<!--/* Font Definitions */@font-face {font-family:Calibri; panose-1:2 15 5
2 2 2 4 3 2 4;}/* Style Definitions */p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm; margin-bottom:.0001pt; font-size:12.0pt;
font-family:"Arial","sans-serif"; mso-fareast-language:EN-US;}a:link,
span.MsoHyperlink {mso-style-priority:99; color:blue;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99; color:purple;
text-decoration:underline;}span.EmailStyle17
{mso-style-type:personal-compose; font-family:"Calibri","sans-serif";
color:windowtext; font-weight:normal;
font-style:normal;}..MsoChpDefault {mso-style-type:export-only;
font-size:12.0pt; font-family:"Arial","sans-serif";
mso-fareast-language:EN-US;}@page WordSection1 {size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}div.WordSection1 {page:WordSection1;}-->
Hi, the uid might be assigned by the archetype editor, before uploading the
adl into the ckm, so this can be a bug on the AE.
Sent from my LG Mobile
------ Original message------From: Barnet David (HEALTH AND SOCIAL CARE
...Date: Thu, Sep 3, 2015 10:31To:
[email protected];Subject:A question about the XML schema for
version 1.4 archetypesI have a question about the XML schema for archetypes
based on ADL version 1.4 The set of schemas we are using to validate XML
archetype exports are 1.0.1<!-- openEHR Release 1.0.1 OpenehrProfile XML
schema--><!-- openEHR Release 1.0.1 Archetype XML schema--><!-- openEHR
Release 1.0.1 BaseTypes XML schema-->ETC.. The issue we are getting is that
sometimes an archetype has a tag. All those downloaded from our CKM
(ckm.hscic.gov.uk) have this tag, but it’s not present on all archetypes from
other CKMs (which may be why this could be a new issue). The schema is
expecting the <uid> tag before the <archetype_id> tag <xs:complexType
name="ARCHETYPE"> <xs:complexContent>
<xs:extension base="AUTHORED_RESOURCE">
<xs:sequence>
<xs:element name="uid" type="HIER_OBJECT_ID" minOccurs="0"/>
<xs:element
name="archetype_id" type="ARCHETYPE_ID"/>
<xs:element name="adl_version" type="xs:string"
minOccurs="0"/> However, in the XML instances, the <uid> (if present) appears
after the <adl_version> tag <archetype_id>
<value>openEHR-EHR-OBSERVATION.newborn_birth_details.v0</value>
</archetype_id> <adl_version>1..4</adl_version>
<uid>7f716e0e-5fa8-4fec-942d-208764409b07</uid> Further, changing the schema to
change the expected tag order to match the XML instances shows up a further
issue in that the format of <uid> (according to the schema) should use a
<value> tag like this <uid>
<value>7f716e0e-5fa8-4fec-942d-208764409b07</value> </uid> Are we
using an out of date set of schema? Or are these known issues? Have people
corrected the schema for their own use (if so could I have a copy please)? Kind
regards Dave Barnet
Interoperability LeadInteroperability SpecificationsHealth & Social Care
Information Centre
[email protected]
www.hscic.gov.uk
********************************************************************************************************************
This message may contain confidential information. If you are not the intended
recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take
any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.
Thank you for your co-operation.
NHSmail is the secure email and directory service available for all NHS staff
in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information
with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be
accessed anywhere
********************************************************************************************************************
_______________________________________________
openEHR-technical mailing list
[email protected]
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org