Healthcare

The templates in this pack

Allergies and intolerances: substance, criticality and status. Emits FHIR AllergyIntolerance.

The templates in this packtemplate_v1

Schema

The canonical field set, printed as it ships.

8 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.

allergies_v1FHIR · AllergyIntolerance
fields
8
required
2
validated
0
hints
46
Canonical columnTypeRequiredValidatorsHeader hints the cascade matches
allergy_idstring——allergie-idallergy idid allergieid allergiaid alergia
patient_idstringyes—patientpatient_idpidpatienten-idid patient
substancestringyes—allergenauslösersubstanzallergèneallergenesubstancesustanciaalérgenoallergy
allergy_codestring——allergiecodecode allergènecodice allergenesubstance codecódigo
criticalityenumlowhighunable-to-assess——schweregradkritikalitätgravitégravitàseveritygravedad
clinical_statusenumactiveinactiveresolved——statusstatutstatoestadoclinical status
onset_datedate——erstmalsbeginndate d'apparitiondata di insorgenzaonsetfecha de aparición
recorded_datedate——erfasst amdate de saisiedata di registrazionerecordedfecha de registro

Read the same definition as JSON at GET /v1/templates/allergies_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.

  • 8 canonical fields
  • 2 required
  • 0 validated
  • 46 header hints
  • Healthcare pack

Try it

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

7 rows, drug allergens with ATC codes, criticality enum. 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=@allergies_sample.csv" \
  -F "template=allergies_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: "allergies_v1",
  headers: ["allergy_id", "patient_id", "substance", "allergy_code"]
})
schema-only · column names and a few examples only

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

Put allergies 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.