Infer
Documentation Index
Fetch the complete documentation index at: https://docs.medlistiq.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
MedListIQ API key (format: ml_...). Create one at Dashboard → API Keys.
Body
Response envelope shape.
inferred_list(default): our proprietary JSON withmedications, optionalprovenancedict, andmetain the body. Ergonomic for dashboards and CDS engines.fhir_bundle: a FHIR R4 Bundle (type: searchset) of MedicationRequest resources, plus Provenance resources at verbosity=full. Meta moves to response headers.fhir_array: a flat array of FHIR resources. MedicationRequest only at minimal/standard; mixed MedicationRequest + Provenance at full. Pipeline-friendly. Meta in response headers.
inferred_list, fhir_bundle, fhir_array minimal, standard, full Optional status filter. When present, only medications with an inferred status in this list are returned. When omitted, all statuses are returned.
active, completed, stopped, cancelled, unknown Response
Inferred medication list. Default shape (format=inferred_list) is shown below — pick from the union by request verbosity: InferResponseMinimal (verbosity=minimal), InferResponseStandard (verbosity=standard), or InferResponseFull (verbosity=full, adds provenance dict). When format=fhir_bundle the body is a FHIR R4 Bundle of MedicationRequest (+ Provenance at full verbosity). When format=fhir_array it's a flat array of FHIR resources. See https://docs.medlistiq.com/guides/output-formats for examples and the response-header reference.