Patientxml
xml
posted: Feb, 6th 2012 | jump to bottom
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="patients"> <xs:complexType> <xs:sequence> <xs:element ref="patient" minOccurs="1" maxOccurs="unbounded"/> <xs:attribute name="patID" type="patientID" use="required"> <xs:simpleType name="patientID"> <xs:restriction base="xs:string"> <xs:pattern value="MR\d{3}-\d{3}-\d{2}"> </xs:restriction> </xs:simpleType> <xs:attribute name="onStudy" type="study" use="required"> <xs:simpleType name="study"> <xs:restriction base="xs:string"> <xs:pattern value="TBC-\d{3}-\d{1}"> </xs:restriction> </xs:simpleType> </xs:sequence> </xs:complexType> </xs:schema>
24 views




