Cumulus-fhir-support

Latest version: v1.1.0

Safety actively analyzes 622867 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

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:
json
"contained": [
{"resourceType": "Medication", "code": {...}},
{"resourceType": "Encounter", "status": "planned"}
]


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

See https://github.com/smart-on-fhir/cumulus-etl/issues/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

The first release! :tada:

This module holds exactly one public function right now: `pyarrow_schema_from_rows`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.