aboutsummaryrefslogtreecommitdiff
path: root/id/server/stork2-commons/src/main/resources/schema
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/stork2-commons/src/main/resources/schema')
-rw-r--r--id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd35
1 files changed, 34 insertions, 1 deletions
diff --git a/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd b/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd
index 463b39ee2..1dfd6b319 100644
--- a/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd
+++ b/id/server/stork2-commons/src/main/resources/schema/StorkcomplexAttributes.xsd
@@ -27,6 +27,7 @@
<xs:element name="acTitle" type="stork:acTitleType"/>
<xs:element name="hasAccountInBank" type="stork:hasAccountInBankType"/>
<xs:element name="isHealthCareProfessional" type="stork:isHealthCareProfessionalType"/>
+<xs:element name="isHealthCareProfessional_deprecated" type="stork:isHealthCareProfessional_deprecatedType"/>
<xs:element name="canonicalRegisteredAddress" type="stork:canonicalAddressType"/>
<xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType"/>
<xs:element name="mandate" type="stork:mandateType"/>
@@ -274,7 +275,7 @@
<xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType"/>
</xs:sequence>
</xs:complexType>
-<xs:complexType name="isHealthCareProfessionalType">
+<xs:complexType name="isHealthCareProfessional_deprecatedType">
<xs:sequence>
<xs:element name="nameOfOrganisation" type="xs:string"/>
<xs:element ref="stork:HCPType"/>
@@ -360,4 +361,36 @@
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
+
+ <xs:complexType name="isHealthCareProfessionalType">
+ <xs:sequence>
+ <xs:element name="typeOfHCP">
+ <xs:simpleType>
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration value="dentist" />
+ <xs:enumeration value="nurse" />
+ <xs:enumeration value="pharmacist" />
+ <xs:enumeration value="physician" />
+ <xs:enumeration value="nurse midwife" />
+ <xs:enumeration value="admission clerk" />
+ <xs:enumeration value="ancillary services" />
+ <xs:enumeration value="clinical services" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="nameOfOrganisation" type="xs:string" />
+ <xs:element name="typeOfOrganisation">
+ <xs:simpleType>
+ <xs:restriction base="xs:anyURI">
+ <xs:enumeration value="Hospital" />
+ <xs:enumeration value="Resident Physician" />
+ <xs:enumeration value="Pharmacy" />
+ <xs:enumeration value="Other" />
+ <xs:enumeration value="Unknown" />
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="AQAA" type="stork:QualityAuthenticationAssuranceLevelType" />
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>