LevelUp.Health.Migration
0.1.0-preview.2
dotnet add package LevelUp.Health.Migration --version 0.1.0-preview.2
NuGet\Install-Package LevelUp.Health.Migration -Version 0.1.0-preview.2
<PackageReference Include="LevelUp.Health.Migration" Version="0.1.0-preview.2" />
<PackageVersion Include="LevelUp.Health.Migration" Version="0.1.0-preview.2" />
<PackageReference Include="LevelUp.Health.Migration" />
paket add LevelUp.Health.Migration --version 0.1.0-preview.2
#r "nuget: LevelUp.Health.Migration, 0.1.0-preview.2"
#:package LevelUp.Health.Migration@0.1.0-preview.2
#addin nuget:?package=LevelUp.Health.Migration&version=0.1.0-preview.2&prerelease
#tool nuget:?package=LevelUp.Health.Migration&version=0.1.0-preview.2&prerelease
LevelUp.Health.Migration
The P3 FHIR data-migration accelerator for the LevelUp.Health backend plane (asclepius A5, issues #46 + #60). Turns EHR-style source records into US-Core-conformant FHIR R4 resources and loads them idempotently into a FHIR store, with a validator-in-the-loop mapping harness for the long tail of local codes.
Concern
An opinionated migration pipeline: an idempotent $import/$export load transport, business-identity
idempotency (stable ids from source keys, not surrogate ids), medallion (bronze → silver → gold)
staging, US-Core 6.1.0 profile validation, terminology resolution (local code → LOINC/SNOMED via
ConceptMap/ValueSet), FHIR conversion, and a retrieve-then-$validate AI mapping harness that
proposes mappings and gates them on a real validator pass.
Harvest claim
The reusable load-engine core is lifted from ares-elite/aegis-api's Aegis.Tools.DataMigration
behind neutral ports — no Ares-specific types cross the boundary. The frontier capabilities
(validation, terminology, conversion, AI mapping) are expressed as ports with in-repo reference
implementations so the package is exercisable end-to-end offline. Live backends — Azure FHIR
$import/$export, a hosted terminology server, and an LLM mapping model — are opt-in seams,
deferred behind [Skip]-gated integration tests until their credentials/hosts are provisioned.
Reflection-heavy (Firely SDK + Azure SDK), so this package stays off the AOT-safe ServiceDefaults core and outside the package-boundary gate.
Status
T001 ships only the package skeleton, the empty concern folders, and the shared golden migration
fixture (LevelUp.Health.Migration.Tests/Fixtures/) that downstream tasks consume. The ports and
their reference implementations land in T002–T014.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Azure.Identity (>= 1.21.0)
- Firely.Fhir.Packages (>= 5.0.0)
- Firely.Fhir.Validation.R4 (>= 3.0.0)
- Hl7.Fhir.Specification.R4 (>= 6.0.1)
- LevelUp.Health.Abstractions (>= 0.1.0-preview.2)
- LevelUp.Health.Fhir (>= 0.1.0-preview.2)
- Microsoft.Extensions.AI (>= 9.10.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.2 | 43 | 7/10/2026 |