REST v1

Create a document and get an upload target

post/v1/patients/{patient_id}/documents

Request

  • Base URL: https://platform.anpheros.com
  • URL: https://platform.anpheros.com/v1/patients/{patient_id}/documents
  • 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

Headers

Idempotency-Keystring nullable
X-Anpheros-Author-Typestring 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

idstring required
patientstring required
kindstring required
identifiersobject[]
titlestring nullable required
descriptionstring nullable required
datestring nullable required
content_typestring nullable required
sizeinteger nullable required
sha256string nullable required
statusstring required
download_urlstring nullable
updated_atstring nullable required
fhirstring required

Changes

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