feature: FHIR R4 Inbound Facade

This commit is contained in:
voltsrage
2026-06-21 13:53:38 +08:00
parent 9f96f54007
commit a43db52813
42 changed files with 2873 additions and 3 deletions
+1 -1
View File
@@ -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
{
+8
View File
@@ -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`.