Delete
description
A Delete message is a type of communication used in electronic health records (EHR) systems or other healthcare information systems to request the deletion of a document or media file that was previously added to a patient's chart.
API Endpoints for Media Delete
Sync REST API Endpoint to call the API: https://{base_url}/api/v1/media/delete.
Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.
Data Model JSON for Delete
Delete - Sample Payload
{
"Meta": {
"DataModel": "Media",
"EventType": "Delete",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "bf0ab0ef-9454-4a6e-a9a4-d47e11ce402a",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "f72a1964-78a1-427b-8c69-cc1da3f273ad",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "20874523-25fb-4464-ad3a-2ca3c5d92496",
"AttemptID": "9e7639ab-1870-442d-8737-cd8a6b457e0c"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "711d1810-ad1a-4f55-9c6a-4cfe72bb8700",
"IDType": "EHRID"
},
{
"ID": "137ecc67-19dc-4b7d-adc3-d3432eff7f42",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "Roonie",
"MiddleName": "Patricks",
"LastName": "Oliver",
"DOB": "2008-01-06",
"SSN": "101-01-0001",
"Sex": "Male",
"Race": "White",
"IsHispanic": null,
"Religion": null,
"MaritalStatus": "Single",
"IsDeceased": null,
"DeathDateTime": null,
"PhoneNumber": {
"Home": "+19088675301",
"Office": null,
"Mobile": null
},
"EmailAddresses": [],
"Language": "en",
"Citizenship": [],
"Address": {
"StreetAddress": "4762 Wallgate Avenue",
"City": "San Jose",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
}
},
"Notes": []
},
"Visit": {
"VisitNumber": "1234",
"AccountNumber": null,
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null,
"Bed": null
}
},
"Media": {
"FileType": "PDF",
"FileName": "SamplePDF",
"DocumentType": "Empty File",
"DocumentID": "b169267c-10c9-4fe3-91ae-9ckf5703e90l",
"DocumentDescription": null,
"CreationDateTime": "2017-06-22T19:30:04.387Z",
"ServiceDateTime": "2017-06-22T17:00:00.387Z",
"DirectAddressFrom": "jolly.matt@ehrbridge.com",
"DirectAddressTo": "ron.aker@ehrbridge.com",
"Provider": {
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "Alex",
"LastName": "Moon",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "123 Main St.",
"City": "San Jose",
"State": "CA",
"ZIP": "53703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16034551234"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"Authenticated": "False",
"Authenticator": {
"ID": null,
"IDType": null,
"FirstName": null,
"LastName": null,
"Credentials": [],
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"Availability": "Unavailable",
"Notifications": [
{
"ID": "2434534567",
"IDType": "NPI",
"FirstName": "Shanyon",
"LastName": "Blinks",
"Credentials": [
"MD",
"PhD"
],
"Address": {
"StreetAddress": "312 Neo.Suite 400",
"City": "San Jose"",
"State": "CA",
"ZIP": "53593",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16085559999"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
{
"ID": "8263749385",
"IDType": "NPI",
"FirstName": "Jimmy",
"LastName": "Michael",
"Credentials": [
"RN"
],
"Address": {
"StreetAddress": "5235 Sasoon Ave.",
"City": "San Jose",
"State": "CA",
"ZIP": "63141",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+13145557437"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
}
]
},
"Orders": []
}