Healthcare

The templates in this pack

Visits and hospital stays: patient, setting, admission and discharge. Emits FHIR Encounter.

The templates in this packtemplate_v1

Schema

The canonical field set, printed as it ships.

9 fields with multilingual hints (DE / FR / IT / EN / ES) and field-level validators. Any source column that resolves to one of these is mapped by the cascade — most of them on the deterministic layers, with no LLM call.

encounters_v1FHIR · Encounter
fields
9
required
3
validated
0
hints
62
Canonical columnTypeRequiredValidatorsHeader hints the cascade matches
encounter_idstringyes—fallnummerfall-nrbesuchsnummernuméro de séjournumero di casovisit idcase idnúmero de episodio
patient_idstringyes—patientpatient_idpidpatienten-idid patient
encounter_classenumoutpatientinpatientemergencyhomevirtualday case——fallartbehandlungsarttype de séjourtipo di ricoverosettingvisit typetipo de atención
statusenumplannedarrivedin-progressfinishedcancelled——statusstatutstatoestadofallstatus
start_timedateyes—eintritteintrittsdatumaufnahmeaufnahmedatumdate d'admissiondata di ricoveroadmission dateadmittedfecha de ingreso
end_timedate——austrittaustrittsdatumentlassungdate de sortiedata di dimissionedischarge datedischargedfecha de alta
encounter_typestring——grundeintrittsgrundmotifmotivoreason for visitreason
practitioner_idstring——arztbehandelnder arztmédecinmedicoproviderdoctormédico
location_idstring——stationabteilungservicerepartowardunitlocation

Read the same definition as JSON at GET /v1/templates/encounters_v1. A hint match resolves on layer 2 — no LLM call, no token spend, just the flat per-map fee. Hover a validator id to see what it checks.

  • 9 canonical fields
  • 3 required
  • 0 validated
  • 62 header hints
  • Healthcare pack

Try it

A real file, a real call, one template id.

9 rows, DE/FR/IT headers, encounter class + status enums. Fully synthetic — safe to share, commit, and run in CI.

bash
curl -X POST https://api.adaptivmapr.com/v1/uploads \
  -H "Authorization: Bearer $ADAPTIVMAPR_API_KEY" \
  -F "file=@encounters_sample.csv" \
  -F "template=encounters_v1"
→ upload created · mappings ready · confirm before commit
This is a medium-risk template. Its mappings response comes back with requires_hitl: true so you can gate your own commit. Schema-only mode — column names and a few example values, never the full file — is a data-minimization mode. Full-data routes the metered layer-5 call in-region under a BAA at a 20% uplift, and stays locked until the workspace accepts the BAA/NDA in-app.
mcp
adaptivmapr.match_headers({
  template_id: "encounters_v1",
  headers: ["encounter_id", "patient_id", "encounter_class", "status"]
})
schema-only · column names and a few examples only

Committed rows can be emitted as FHIR Encounter resources — a healthcare-vertical feature on a vertical-agnostic engine.

Put encounters in production — without shipping raw records.

Minimal data mode sends only column names and a few example values — never the full file. Add full-data when you need row-level AI, routed in-region under a BAA.