GET
/
patient
/
:id
/
medical-record-status
curl --request GET \
  --url https://api.sandbox.metriport.com/patient/:id/medical-record-status \
  --header 'x-api-key: <api-key>'
import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");
const metriportPatientId = "018a80c4-292a-7486-a223-6dcbc636c44c";

const status = await metriport.getMedicalRecordSummaryStatus(metriportPatientId);

This endpoint checks whether the patient’s Medical Record Summary already exists in the PDF and HTML formats.

To create a Medical Record Summary, you need to use the Start Consolidated Data Query.

Path Params

id
string
required

The ID of the Patient.

Response

Returns a JSON containing the dates when the Medical Record Summary in PDF and HTML formats were generated.

htmlCreatedAt
string

When the HTML summary was created.

pdfCreatedAt
string

When the PDF summary was created.

{
  "htmlCreatedAt": "2024-01-18T00:26:54.000Z",
  "pdfCreatedAt": "2024-01-18T00:27:16.000Z"
}