feature: FHIR R4 Inbound Facade
This commit is contained in:
@@ -93,7 +93,7 @@ Implementation order: **20 → 21 → 22 → 23 → 24**. Phase plans for 21 and
|
||||
|
||||
## Sync Payload Contract (summary)
|
||||
|
||||
Shared types live in **`VigilCare.ClinicalContracts`** (class library referenced by central API and WardGateway). Full field definitions in [phase-20-plan.md](phase-20-plan.md) Step 6.
|
||||
Shared types live in **`VigilCare.ClinicalContracts`** (class library referenced by central API and WardGateway). Scaffold and manage projects per [dotnet-solution-scaffolding.md](plans/dotnet-solution-scaffolding.md). Full field definitions in [phase-20-plan.md](phase-20-plan.md) Step 1.
|
||||
|
||||
```json
|
||||
{
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
| HL7v2 Message | Mirth Action | FHIR Target |
|
||||
|---|---|---|
|
||||
| ADT A01 (Admit) | Map PID → Patient, PV1 → Encounter | `POST /fhir/R4` transaction Bundle |
|
||||
| ADT A03 (Discharge) | Map PV1 → Encounter.status=finished | `POST /fhir/R4/Encounter` |
|
||||
| ADT A08 (Update) | Map PID/PV1 changes | `POST /fhir/R4/Patient` + Encounter upsert |
|
||||
| ORU R01 (Lab result) | Map OBX → Observation (LOINC in OBX-3) | `POST /fhir/R4/Observation` |
|
||||
|
||||
Mirth HTTP Sender destination: `{vigilcare_url}/fhir/R4` with header `X-Api-Key` and content type `application/fhir+json`.
|
||||
Reference in New Issue
Block a user