Patient
Delete Patient
Patient
Delete Patient
Removes the specified Patient.
DELETE
/medical/v1/patient/{id}
x-api-key*
curl --request DELETE \
--url https://api.metriport.com/medical/v1/patient/{id} \
--header 'x-api-key: <x-api-key>'
Query Params
facilityIdrequired
string
The ID of the Facility where the patient is receiving care.
Path Params
idrequired
string
The ID of the Patient to delete.
Response
204
- no content, upon successful delete.
import { MetriportMedicalApi } from "@metriport/api";
const metriport = new MetriportMedicalApi("YOUR_API_KEY");
const patientId = "2.16.840.1.113883.3.666.5.2004.2.110";
const facilityId = "2.16.840.1.113883.3.666.5.2004.4.102";
await metriport.deletePatient(patientId, facilityId);
curl --request DELETE \
--url https://api.metriport.com/medical/v1/patient/{id} \
--header 'x-api-key: <x-api-key>'
import { MetriportMedicalApi } from "@metriport/api";
const metriport = new MetriportMedicalApi("YOUR_API_KEY");
const patientId = "2.16.840.1.113883.3.666.5.2004.2.110";
const facilityId = "2.16.840.1.113883.3.666.5.2004.4.102";
await metriport.deletePatient(patientId, facilityId);