FHIR code systems
Which code systems each FHIR resource type uses: LOINC for measurements and lab results, ICD-10 for conditions, ATC for medications, UCUM units, and SNOMED CT behind a licence flag.
What the platform stores and what Anpheros Daily (the patient app) writes through the API. Applications may use any code system FHIR allows; this page says which ones the platform recognises (display lookup, IPS checks, context engine) and which ones Anpheros itself uses. Last updated 22 September 2026.
| Resource | Element | Code systems | Notes |
|---|---|---|---|
| Observation (vital-signs) | code |
LOINC (http://loinc.org) |
8867-4 heart rate, 85354-9 blood pressure panel (8480-6 / 8462-4 components), 8310-5 body temperature, 2339-0 glucose, 29463-7 body weight, 39156-5 BMI, 59408-5 SpO₂, 8302-2 height |
| Observation (laboratory) | code |
LOINC; local urn:anpheros:lab when no LOINC is known |
mapped by Anpheros Daily; reference range in referenceRange, document in derivedFrom |
| Observation (symptom) | code, category |
ICD-10 (http://hl7.org/fhir/sid/icd-10) chapter R; category urn:anpheros:observation-category\|symptom; SNOMED CT behind a flag |
free text stays in code.text; intensity 1–10 in valueQuantity ({score}). Resources written before 13 October 2026 may carry the HL7 observation-category system with code symptom; filter by code (category=symptom), not by system. Only symptoms the patient reports as present, about themselves, are written |
| Observation (survey, wellbeing) | code, component |
urn:anpheros:wellbeing (dimension: emotional / mental / physical) |
intensity as component valueQuantity {score}; note in note |
| Observation (activity, daily watch summaries) | code |
LOINC: 40443-4 resting HR, 8867-4 HR (min/avg/max components), 80404-7 HRV (RMSSD), 59408-5 SpO₂, 41950-7 steps, 41981-2 energy, 93832-4 sleep duration, 93831-6 / 93830-8 sleep stages | effectivePeriod covers the day; category activity |
| Condition | code, severity, clinicalStatus |
ICD-10; SNOMED CT severity (24484000 severe, 6736007 moderate, 255604002 mild); condition-clinical |
category problem-list-item |
| MedicationStatement | medicationCodeableConcept |
ATC (http://www.whocc.no/atc); code.text = product name |
extension daily-medication for app-specific fields |
| MedicationAdministration | medicationCodeableConcept, supportingInformation |
ATC; the treatment plan as MedicationStatement/{id} in supportingInformation (search parameter statement) |
one resource per dose taken or skipped (status completed / not-done) |
| Immunization | vaccineCode |
ATC J07 (http://www.whocc.no/atc) or the national nomenclature; vaccineCode.text always kept |
occurrenceDateTime required for the IPS section; protocolApplied.doseNumberPositiveInt for the dose |
| AllergyIntolerance | code, reaction.manifestation, criticality |
SNOMED CT (behind a flag) or code.text only; ATC for drug allergies |
category food / medication / environment / biologic |
| DocumentReference | type |
LOINC document kinds (DOC_KIND_LOINC in /v1) |
|
| Encounter | class, type |
v3-ActCode class; SNOMED CT type when known | episodeOfCare → the EpisodeOfCare of a pregnancy / long-term illness / treatment |
| EpisodeOfCare | type, diagnosis.condition |
urn:anpheros:episode-type (illness / treatment / pregnancy / other); diagnosis.condition → the Condition |
one per Anpheros Daily condition ("dosar", 25 Sep 2026); period = onset → end. Linked resources point to the Condition: Observation.focus, MedicationStatement.reasonReference, DocumentReference.context.related, Appointment.reasonReference (search: focus, reason-reference, related, condition) |
| Appointment | serviceType |
service-type code system |
|
| RelatedPerson | relationship |
v3-RoleCode (MTH, FTH, CHILD, SPS, …) | |
| QuestionnaireResponse | questionnaire |
canonical URLs under https://anpheros.com/fhir/Questionnaire/ |
|
| Basic | code |
urn:anpheros:basic |
escape hatch; every code documented here before use |
| Provenance | agent.type |
provenance-participant-type |
Identifiers and extensions
- Local identifiers of Anpheros Daily rows:
urn:anpheros:daily:{vital|medication|condition|episode|lab|symptom|document|weight|wellbeing|intake|immunization|allergy|health-day}. - Condition extension
daily-condition(25 Sep 2026):kind(illness / treatment / pregnancy / other),color(app palette key),source,due_date(pregnancy). A pregnancy without a written code carries ICD-10Z33. - Extensions live under
https://anpheros.com/fhir/StructureDefinition/daily-*(daily-medication,daily-symptom,daily-condition, …). - Units are UCUM (
http://unitsofmeasure.org) everywhere a quantity is written.
Symptom concepts (release 2026.10.2, 16 October 2026)
GET /v1/terminology/symptoms?q=&icd10=&kind=symptom|finding|all&lang=&limit=&offset= and
GET /v1/terminology/symptoms/{concept_id} serve the Anpheros symptom concepts: a stable identifier
(SYM-0001…, never reused; system https://anpheros.com/fhir/CodeSystem/symptom), the ICD-10 mapping with its
equivalence (equivalent, or broader when the ICD-10 code covers more than the concept), the labels and the
match terms used to find the concept in free text.
- 274 concepts: 197 symptoms and 77 findings (R65, R70–R94). Symptoms use ICD-10 R00–R69 and their non-residual subcategories and, where ICD-10 classifies the symptom elsewhere, that code: G47 sleep problems, H53.2 double vision, H53.8 blurred vision (broader), H93.1 tinnitus, K59.0 constipation, L29.9 itching, M25.5 joint pain, M54 back pain.
- Every code and English title was checked against the ICD-10 Version:2019 browser on 15 October 2026, including
its inclusion and exclusion notes;
icd10.displayis the official English title (Version:2019), reproduced unchanged with permission. - Every concept also maps to ICD-11 MMS 2025-01 (
icd11: code, official ICD-11 title, equivalenceequivalent | wider | narrower | inexact,mapping: "anpheros") and to a body system (body_system: the ICD-11 chapter 21 block of that code, e.g.nervous,digestive). The chapter 21 symptom code is used rather than a disease code (headache → MB4D, not 8A8Z); the links are Anpheros' own work, not part of the classifications; every departure from the official ICD-10 → ICD-11 mapping table is listed inrelease.json(icd11_departures) and marked on the concept (note). Filter with?icd11=MB4Dor?body_system=digestive. - Labels carry a
reviewstatus:source(the official ICD English title),in_use(the Romanian labels and match terms Anpheros Daily uses) orai_reviewed(lay labels in up to 19 languages: machine translations of Anpheros everyday names, reviewed term by term with AI assistance; names translated from an ICD title are not served; not by a clinician or a professional medical translator).displayis the preferred label inlang, else the lay label, else English;display_langsays which. - Warning signs: 32 items for 14 concepts, quoted word for word from CDC and NIDDK public-domain pages, each with its
source,
review: source_verifiedand a not-a-diagnosis note. No causes or condition associations. Every concept carriesclinical_review: falseuntil a qualified clinician reviews the release. - The data lives in
app/terminology/symptoms/(concepts.csv,labels.csv,release.jsonwith sources); a change is a reviewed commit and a new release number. - Anpheros Daily adds the concept as a second coding next to ICD-10 on symptom Observations.
- Walkthrough with requests and responses: Symptom data API.
The same concepts as FHIR terminology (15 October 2026)
Read-only, from the same release, with the same publication rule (reviewed labels only):
| Resource | Read | Notes |
|---|---|---|
| CodeSystem | GET /fhir/R4/CodeSystem/anpheros-symptom, GET /fhir/R4/CodeSystem?url=https://anpheros.com/fhir/CodeSystem/symptom |
content: complete, status: draft until clinically reviewed; properties kind, status, icd10, icd11, body_system; Romanian labels, match terms and the lay labels as designations |
| CodeSystem/$lookup | GET /fhir/R4/CodeSystem/$lookup?system=https://anpheros.com/fhir/CodeSystem/symptom&code=SYM-0047&displayLanguage=ro |
Parameters with display, designations and properties |
| ValueSet | GET /fhir/R4/ValueSet/anpheros-symptoms, GET /fhir/R4/ValueSet/$expand?url=https://anpheros.com/fhir/ValueSet/anpheros-symptoms&filter=&displayLanguage=&count=&offset= |
active symptoms (findings excluded) |
| ConceptMap | GET /fhir/R4/ConceptMap/anpheros-symptom-to-icd10 |
equivalent, or wider when the ICD-10 code covers more than the concept (H53.8) |
| ConceptMap | GET /fhir/R4/ConceptMap/anpheros-symptom-to-icd11 |
ICD-11 MMS 2025-01 (http://id.who.int/icd/release/11/mms), with equivalent, wider, narrower or inexact |
Profile anpheros-symptom (POST /fhir/R4/Observation/$validate?profile=anpheros-symptom, canonical
https://anpheros.com/fhir/StructureDefinition/anpheros-symptom-observation): category
urn:anpheros:observation-category|symptom (the HL7 observation-category code is rejected), the person's words in
code.text, the Anpheros concept consistent with the ICD-10 code, subject = Patient, status final / amended /
corrected / entered-in-error, effective[x] with effectivePeriod.end not before start, intensity as UCUM {score}
0–10. Like the other profiles it reports issues and does not reject writes.
Licences
LOINC, ATC and UCUM are used under their public licences. ICD-10 (Version:2019) and ICD-11 (release 2025-01) codes,
titles and descriptions are reproduced unchanged with permission, with the attribution each response carries. SNOMED CT requires a
national or affiliate licence: the mapping tables ship with the code, but SNOMED codes are only written
when TERMINOLOGY_SNOMED_ENABLED is on (pending the licence for Romania).
How to map data from different sources to these code systems, with units, dates and validation: How to normalize medical data.
Where to look up these code systems, and what the bundled subset covers: Medical terminology API.
Publications and trial registrations indexed under these codes (ICD-10, ATC and the symptom catalogue), with study design and retraction status: Research library API.
Ask your AI
Paste this into Claude, ChatGPT, Cursor or Claude Code. Your assistant reads this guide and adapts it to your code.
Read https://developers.anpheros.com/guides/fhir-code-systems.md and help me apply this guide to my own project. Use the Anpheros sandbox (base URL https://platform.anpheros.com) with my API key from the ANPHEROS_KEY environment variable, never written in the code. Give me complete, runnable code, the response I should expect, and how to fix the errors in https://developers.anpheros.com/guides/troubleshooting.md if a call fails.Open in ClaudeOpen in ChatGPTThis guide as MarkdownBuild the whole integration with an AI coding tool
Try it free in the sandbox · first FHIR call in 5 minutesFree · 30 synthetic patients · no cardYour first API call in 2 minutes →
