fhir_node 0.6.1
fhir_node: ^0.6.1 copied to clipboard
Minimal model-reflection interface (FhirNode) letting model-independent FHIRPath/CQL engines navigate FHIR data of any version (R4/R5/R6).
0.6.1 #
- Alongside the
FhirNodecontract (unchanged), the pieces every model-independent package in the family had started to copy:ResourceModel<R>(what a version supplies to a package that reads resources throughFhirNodeand builds them only from JSON: version, resource type names, from/to JSON),errorOperationOutcomeJson(the one error-issue OperationOutcome, as JSON, with optional contained resources), andJsonNode(aFhirNodeover plain JSON, for tests and tools without a model; a child's type is itsresourceType, an optional element-type table entry, a choice suffix, the JSON scalar's primitive type, or else its element name).
0.6.0 #
Versioned 0.6.0 (not 0.1.0) to ship on the same release train as the fhir_r4/r5/r6 family — the fhir-fli packages version in lockstep (ucum excepted, which is independent).
- Initial release: the read-only
FhirNodemodel-reflection interface —fhirType,isPrimitive,isResource,primitiveValue,hasType,isEmpty,getChildrenByName,listChildrenNames,getChildByName,equalsDeep,isMetadataBased. - Implemented by the
fhir_r4/fhir_r5/fhir_r6FhirBaseclasses; consumed by the standalonefhirpathandcqlengines. - Scope commitment: this interface is read-only navigation, permanently.
Mutation support will be a separate
MutableFhirNodeinterface so that adding it never breaks implementers (see the compatibility policy in the README).