Skip to content

Releases: smart-on-fhir/cumulus-fhir-support

1.1.0

29 Apr 12:31
51fd987
Compare
Choose a tag to compare

Contained resources (sub-resources found in the "contained": [...] field) now contribute to the schema. (Previously, contained would just hold a bare bones schema for the root Resource type.)

Every contained resource found in the provided rows gets its fields added, as long as that field exists in any of the resources mentioned by contained resourceType schemas.

Example:

  "contained": [
    {"resourceType": "Medication", "code": {...}},
    {"resourceType": "Encounter", "status": "planned"}
  ]

For the above JSON, the final schema would include both contained.code and contained.status.

See smart-on-fhir/cumulus-etl#250 for a discussion of whether this kind of contained handling is the best approach. But it's arguably better than ignoring the contained resources altogether.

1.0.0

22 Nov 15:59
584d930
Compare
Choose a tag to compare

The first release! 🎉

This module holds exactly one public function right now: pyarrow_schema_from_rows