Upload Document
Document
Upload Document
Creates a DocumentReference and returns its ID and a URL to use for a medical document upload to our servers.
POST
Upload Document
This endpoint returns the DocumentReference ID and a URL to enable you to upload your patients’ medical documents, making them available to other HIEs.Documentation Index
Fetch the complete documentation index at: https://docs.metriport.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
To use this endpoint, you will need to follow these steps:-
Create a
DocumentReferenceto describe the document that’s being uploaded (see sections below for details on the expected fields and format). - Execute the endpoint and receive a URL to use for the document upload.
-
Upload the document by executing a
PUTrequest using theURLwith aContent-Lengthheader specifying the size of the document.
Query Params
The ID of the Patient.
Body
A FHIR DocumentReference.A CodeableConcept of the document type.
A brief description of the document - for example
Discharge Summary.Context of the document content.

