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

Difference between revisions of "Talk:FHIR Json Page"

From HL7Wiki
Jump to navigation Jump to search
(STU3 Current - JSON Schema are broken - willing to help fix)
 
 
Line 4: Line 4:
 
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>:
 
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
+
''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:
 
Graham - I think the schemas are missing definitions for a number of entities - I could identify the following as missing:
Line 14: Line 14:
 
Structure
 
Structure
 
ResourceContainer
 
ResourceContainer
xhtml
+
xhtml''
 
   
 
   
 
As of 2016.09.20 this is still true as checked from a Download from "Current" today.
 
As of 2016.09.20 this is still true as checked from a Download from "Current" today.
Line 20: Line 20:
 
Here is a sample reference from the Patient.schema.json:
 
Here is a sample reference from the Patient.schema.json:
  
<nowiki>{
+
<nowiki>
 +
{
 
   "$schema": "http://json-schema.org/draft-04/schema#",
 
   "$schema": "http://json-schema.org/draft-04/schema#",
 
   "id": "http://hl7.org/fhir/json-schema/Patient",
 
   "id": "http://hl7.org/fhir/json-schema/Patient",
Line 34: Line 35:
 
           "description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
 
           "description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
 
           "properties": {
 
           "properties": {
 +
 
</nowiki>
 
</nowiki>
  

Latest revision as of 20:31, 20 September 2016

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