Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Use official JSON schema #14

Open
aviks opened this issue Mar 17, 2019 · 1 comment
Open

Use official JSON schema #14

aviks opened this issue Mar 17, 2019 · 1 comment

Comments

@aviks
Copy link

aviks commented Mar 17, 2019

Currently the schema is generated from examples, which does not seem to be comprehensive. In one example I found, the Patient schema has a birthDate attribute, but since it's not present in the example used (patient-example-a.json), it does not appear in the swagger file.

You already have #5 which is similar, but I was wondering if doing directly to the published schema (https://www.hl7.org/fhir/fhir.schema.json.zip) might be best?

@rbren
Copy link
Owner

rbren commented Mar 18, 2019

Definitely! I don't there was JSON Schema published when I first created this repo.

I would happily accept a PR that added these schemas.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants