REST v1

Import a lab report (CSV, HL7 v2 ORU^R01 or JSON) as laboratory Observations

Un buletin întreg într-o singură cerere: fiecare rând devine un Observation de laborator (LOINC unde îl recunoaștem, altfel codul laboratorului + textul de pe buletin), cu interval de referință și interpretare. Rândurile deja importate (același buletin, marker, dată și valoare) sunt sărite, deci retrimiterea e sigură.

post/v1/patients/{patient_id}/labs/import

Request

  • Base URL: https://platform.anpheros.com
  • URL: https://platform.anpheros.com/v1/patients/{patient_id}/labs/import
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://platform.anpheros.com/oauth/authorize, token URL https://platform.anpheros.com/oauth/token; client credentials, token URL https://platform.anpheros.com/oauth/token, scopes: patient/*.rs, patient/Observation.rs, patient/Observation.rs?category=laboratory, patient/Condition.rs, patient/MedicationStatement.rs, patient/DocumentReference.rs, patient/AllergyIntolerance.rs, offline_access, openid, fhirUser, anpheros/patterns)

Path parameters

patient_idstring required

Query parameters

datestring nullable

Default date (ISO) for rows without one

Headers

Idempotency-Keystring nullable
X-Anpheros-Source-Systemstring nullable
authorizationstring nullable
X-Api-Keystring nullable
X-Anpheros-Acting-Asstring nullable
X-Anpheros-On-Behalf-Ofstring nullable

Response

Successful Response

createdinteger required
skippedinteger required
warningsstring[] required

Changes

No recorded changes to this operation across all 2 revisions of this API.