I added all the HL7 v3.0 schemas to a BizTalk Server project as-is. When I try to build this project, I run into the next problem:
This schema is an invalid XSD Schema and has the following error(s):
1. Type ‘urn:hl7-org:v3:cs’ is not declared, or is not a simple type.
2. Type ‘urn:hl7-org:v3:cs’ is not declared, or is not a simple type.
3. Type ‘urn:hl7-org:v3:cs’ is not declared, or is not a simple type.
4. Type ‘urn:hl7-org:v3:cs’ is not declared, or is not a simple type.
5. Type ‘urn:hl7-org:v3:cs’ is not declared, or is not a simple type.
etc…
With some help from Nictiz it seems that voc.xsd needs a reference to datatypes.xsd.So:
<xs:include schemaLocation="datatypes.xsd"/>
After adding this line, these errors were gone. I ran into some other reference errors. I’ll blog about this in the near future, so stay tuned…




