FHIR json schema

走远了吗. 提交于 2019-12-12 03:54:31

问题


Is there a complete or partial JSON schema for HL7 FHIR resources? I saw this. http://www.interopen.org/candidate-profiles/care-connect/CareConnect-AllergyIntolerance-1.html

But the JSON scchema is not available. This is also not functioning.


回答1:


JSON schemas will be published as a standard part of release 3. You can find the current draft here: http://build.fhir.org/fhir.schema.json.zip

There's still a bit of fine-tuning to do. Feedback welcome.




回答2:


You can run on your computer terminal:

sudo curl -i -H "Accept: [VER-HEAD]" https://your-fhir-base-url/metadata
  • use "application/json+fhir" for DSTU2 compatible
  • use "application/fhir+json" for anything greater than STU2

And the response will return JSON data on your terminal




回答3:


You may try this: https://github.com/glennjones/hapi-swagger and obtain the json schemas from swagger.json.



来源:https://stackoverflow.com/questions/41427110/fhir-json-schema

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!