Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions on primitives are not working in the Playground -- Underscore property #113

Closed
dbooth-boston opened this issue Jan 27, 2023 · 1 comment

Comments

@dbooth-boston
Copy link
Contributor

In FHIR JSON, primitives are extended by prepending an underscore to the property name, and attaching the extension to that. For example:

  "birthDate": "1974-12-25",
  "_birthDate": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
        "valueDateTime": "1974-12-25T14:35:45-05:00"
      }
    ]
  },

But _birthDate is not recognized in the Playground. See example.

@dbooth-boston
Copy link
Contributor Author

Closing as superseded by #158

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

No branches or pull requests

2 participants