Question: FHIR Schemas

Feb 1, 2014

Question:

Since Resource.xsd is the base type for all resources, can this be used to validate any other FHIR resource if it doesn’t contain other resources? Our implementation is not the typical REST-based FHIR server implementation, and hence when we request a FHIR based wsdl-service, we can get one of a few FHIR resources. We like a general validation to ensure we received a FHIR resource, hence the question.

Answer:

The schema you want is fhir-single - this is all the resources in a single schema for web service / code generation tools that don’t like a circular schema. (There is no resource.xsd)