fhir_r4_mapping 0.13.0 copy "fhir_r4_mapping: ^0.13.0" to clipboard
fhir_r4_mapping: ^0.13.0 copied to clipboard

FHIR Mapping Language (FML) engine for FHIR R4B: parse StructureMaps and transform healthcare data between structures.

fhir_r4_mapping #

0.13.0 #

  • The engine and parser move to fhir_mapping 0.13.0; this package is its R4B binding. The generated builders stay here and now implement FhirNodeBuilder, the contract the shared engine writes through; R4MappingModel supplies them and R4B's StructureMap spellings. fhirMappingEngine, FhirMapEngine.create(cache) and StructureMapParser.create() keep their signatures and return R4B types. MappingVariables, the views, the exceptions and the caches are re-exported from fhir_mapping; the engine-only extensions on ElementDefinition, StructureDefinition, StructureMap and ValueSet are gone (the engine reads those by element name now). crypto and http are no longer dependencies.

  • Parser, per the Java reference: the old-format header's comment block is the map's description, /// experimental is read, and a bare /// status = draft is accepted.

  • translate over a CodeableConcept source looks the codings up one by one.

  • A bound code Builder carries its CodeSystem, the same change as in the core package: constants name the CodeSystem, not the ValueSet, and a value parsed from JSON or built from a string takes its constant's system, version and display. fromJson also sets valueEnum, which it did not.

  • FhirDateTimeBaseBuilder.valueDateTime honours the offset, the same change as in the core package: a value with Z or an offset comes back in UTC at the instant it denotes; one without stays local.

  • A map that leaves a required element unset now says so usefully. transformBuilder ends in result.build(), which is Type.fromJson(toJson()), and fromJson dereferences the required elements — so an unset one surfaced as Null check operator used on a null value, naming neither the type nor the element, inside an OperationOutcome the caller could do nothing with. The failure now reports the target type and the elements the map actually did set, which is the list the missing one is absent from.

0.12.0 #

  • No code changes; version aligned with the fhir_r4 0.12.0 family release

0.9.0 #

  • No code changes; version aligned with the fhir_r4 0.9.0 family release

0.8.0 #

  • Carries the memberOf behavior change from fhir_r4_path ^0.8.0 — an invariant or expression using memberOf against a value set that cannot be resolved now throws rather than silently answering no. See the fhir_r4_path 0.8.0 entry
  • fhir_r4 ^0.8.0

0.7.0 #

  • BREAKING: MedicationrequestStatusBuilder -> MedicationRequestStatusBuilder and MessageheaderResponseRequestBuilder -> MessageHeaderResponseRequestBuilder (with their ...BuilderEnum companions), matching the core enum rename (GH fhir_r4#34). Old names remain as deprecated typedef aliases
  • Web/WASM compatible transitively (fhir_r4_path 0.7.0 removed the last dart:io in the dependency chain)
  • fhir_r4 ^0.7.0, fhir_r4_path ^0.7.0

0.6.0 #

  • Family lockstep 0.6.0; fhir_node dependency now declared explicitly
  • FHIRPath host services migrated to the post-split fhirpath engine API
  • xml constraint widened to '>=6.6.1 <8.0.0'
  • README rewritten and verified against the API; analyzer clean

0.5.1 #

  • Improved documentation and README files

0.5.0 #

  • Unified versioning across all fhir_r4 packages
  • Updated dependencies

0.4.2 #

  • Added id to xhtml _allowedAttributes
  • Updated dependencies

0.4.1 #

  • Dependencies updated

0.4.0 #

  • First time publishing this.
  • Performs parsing of FHIR maps
  • Performs application of FHIR maps

0.3.0 #

0.3.0-2 #

  • split back up into smaller packages, that seems to be how most people use it

0.3.0-1 #

  • Lots and Lots of changes.
  • Once I get Mapping working properly, I'll create some actual documentation

0.2.0 #

  • Getting ready for FlutterCon!
  • Updated dependencies
  • Added documentation

0.1.0+2 #

  • Added ability to store versionIds as DataTimes instead of just integers (useful for syncing)
  • Added a "sync" box in the Hive db. When turned on, saves all resources when updated, to allow easily finding them for syncing.
  • Updated to work with updated primitives package (that has a lot more functionality with FhirBase)
  • Added a deprecated parser to fhirpath for traversing tests

0.1.0+1 #

  • Overhaul. The packages were getting too big, and most people don't use all of them at the same time. So now, one package, all the functionality.
  • Addressed this issue pointed out by fokusfpa - by just returning the OperationOutcome
  • All FHIR dependencies should now be within this package.
  • All dependencies updated except for collection, http_parser, and meta because there are some issues with the flutter version
0
likes
160
points
422
downloads

Documentation

API reference

Publisher

verified publisherfhirfli.dev

Weekly Downloads

FHIR Mapping Language (FML) engine for FHIR R4B: parse StructureMaps and transform healthcare data between structures.

Homepage
Repository (GitHub)
View/report issues

Topics

#fhir #hl7 #healthcare #mapping #interoperability

License

MIT (license)

Dependencies

collection, fhir_mapping, fhir_node, fhir_r4, fhir_r4_path, uuid, xml, yaml

More

Packages that depend on fhir_r4_mapping