fhir-resource-mapper
OpenClaw skill for transforming synthetic clinical input into FHIR-aligned resources.
Why this exists
- •Demonstrates domain-aware mapping for clinical interoperability POCs.
- •Uses strict zod validation to reduce malformed tool argument risk.
- •Produces deterministic JSON output suitable for API routing or chat delivery.
Inputs
- •
resourceType:PatientorObservation - •
payload: resource-specific input object
Patient payload fields
- •
id?: local patient identifier - •
firstName - •
lastName - •
birthDate:YYYY-MM-DD - •
gender:male|female|other|unknown
Observation payload fields
- •
id?: local observation identifier - •
patientId - •
code: short clinical code string - •
display: human readable label - •
value: numeric observation value - •
unit: value unit (example:mg/dL) - •
effectiveDateTime: ISO date-time string
Output
- •JSON object with:
- •
ok: boolean - •
resource: FHIR-likePatientorObservation
- •
Demo Note
This skill is intentionally publish-safe: synthetic-only payloads, no real patient data, no real credentials.