Working with FHIR schemas

The schemas in the /fhir/ folder are fetched from the official FHIR Page. fhir.schema.v301.json contains the combined schema with minor changes.\ For the inplementation, data4life had to change the oneOf keyword in ResourceList to anyOf because otherwise the validator fails. The minimal Practitioner resource, for example, is accepted by multiple of the schemas referenced in ResourceList. Therefore, the validation would fail. Those changes have already been proposed to HL7. \ data4life migrated the schema to draft-06. Therefore, we only had to remove the schema property from the JSON. \ fhir.schema.v301.min.json is the same schema as in fhir.schema.v301.json but with reduced size. To achieve this, we removed the description properties and all the spaces and line breaks.

This website uses cookies - see our privacy policy for more information about cookies and your rights as a user. Click on "accept" to allow the cookie use.
More about this