Tim, Looking at the extract below, this MLHIM model would be hard to use as a basis for generating source code facades, WSDL, JSON UI form specifications, and other things we regularly generate downstream from templates.
- thomas On 10/04/2013 14:01, Timothy W. Cook wrote: >> I would like to have the element-names referring to the >> information-model. I want to call an ITEM_LIST-attribute "items" just >> "items", not "items_12". If the validation-schema does not allow that >> (XML-Schema has this problem), and there can't be worked around, than >> the schema is not good enough for me. > Did you actually LOOK at MLHIM CCDs? For example: > > <xs:complexType name="ct-ef7dc8ee-5cf5-47cc-92a5-7143094b88c8"> > <xs:complexContent> > <xs:restriction base="mlhim2:CareEntryType"> > <xs:sequence> > <xs:element maxOccurs="unbounded" minOccurs="0" > ref="mlhim2:links"/> > <xs:element maxOccurs="1" minOccurs="0" > ref="mlhim2:feeder-audit"/> > <xs:element maxOccurs="1" minOccurs="1" name="language" > type="xs:language" default="en-US"/> > <xs:element maxOccurs="1" minOccurs="1" name="encoding" > type="xs:string" default="utf-8"/> > <xs:element maxOccurs="1" minOccurs="1" > ref="mlhim2:el-c2c7e652-46f8-498a-99d0-c85005d98f6f"/> > <xs:element maxOccurs="1" minOccurs="0" > ref="mlhim2:entry-provider"/> > <xs:element maxOccurs="unbounded" minOccurs="0" > ref="mlhim2:other-participations"/> > <xs:element maxOccurs="1" minOccurs="0" > ref="mlhim2:protocol-id"/> > <xs:element maxOccurs="1" minOccurs="0" > name="current-state" type="xs:string"/> > <xs:element maxOccurs="1" minOccurs="0" > ref="mlhim2:workflow-id"/> > <xs:element maxOccurs="1" minOccurs="0" > ref="mlhim2:attestation"/> > <xs:element maxOccurs="1" minOccurs="1" > ref="mlhim2:el-a69717be-7b3f-4be7-9fec-80f8ec1891e8"/> > </xs:sequence> > </xs:restriction> > </xs:complexContent> > </xs:complexType> > <xs:element name="el-a69717be-7b3f-4be7-9fec-80f8ec1891e8" > substitutionGroup="mlhim2:entry-data" > type="mlhim2:ct-a69717be-7b3f-4be7-9fec-80f8ec1891e8"/> > <xs:element name="el-c2c7e652-46f8-498a-99d0-c85005d98f6f" > substitutionGroup="mlhim2:entry-subject" > type="mlhim2:ct-c2c7e652-46f8-498a-99d0-c85005d98f6f"/> > > * * -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openehr.org/pipermail/openehr-technical_lists.openehr.org/attachments/20130410/7637bc1c/attachment.html>

