This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Talk:FHIR Json Page

From HL7Wiki
Jump to navigation Jump to search

JSON Schemas

I am interested in assisting in the testing and maturing of the JSON Schemas. At current, they are broken c.f. the comment below from <http://community.fhir.org/t/json-fhir-schema-validation/200/6>:

from jasiek on Aug 17

Graham - I think the schemas are missing definitions for a number of entities - I could identify the following as missing:

DomainResource Resource Type SimpleQuantity Structure ResourceContainer xhtml

As of 2016.09.20 this is still true as checked from a Download from "Current" today.

Here is a sample reference from the Patient.schema.json:

{ "$schema": "http://json-schema.org/draft-04/schema#", "id": "http://hl7.org/fhir/json-schema/Patient", "$ref": "#/definitions/Patient", "description": "see http://hl7.org/fhir/json.html#schema for information about the FHIR Json Schemas", "definitions": { "Patient": { "allOf": [ { "$ref": "DomainResource.schema.json/definitions/DomainResource" }, { "description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.", "properties": {

The file "DomainResource.schema.json" in not included in the "zips". I was not able with some searching to find the necessary elements defined in another file, either.

Kevan Riley kevan.riley@infor.com