Skip to main content

New

Description

A New message is used to append new document to the patient's medical record/chart.

API endpoints for New

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/media/new.

Async REST API Endpoint to call the API: https://{base_url}/api/v1/endpoint.

Data Model JSON for New

New - Sample Payload
{
"Meta": {
"DataModel": "Media",
"EventType": "New",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "fac79922-3c40-4d38-a8e0-a1a133f51384",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "2a865abd-eea4-4feb-bee3-7161d12c546c",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "1e4e0f66-1290-4c44-9df8-7b1194badea4",
"AttemptID": "de55fbae-1500-4b1a-9444-775c8095d3c1"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "53289984-842e-4310-8c32-d1eb3d990cb7",
"IDType": "EHRID"
},
{
"ID": "2c8402ef-80c0-46f2-ad42-f0b885eab1d5 ",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "Ronnie",
"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",
"FileContents": "<...base 64 file contents...>",
"DocumentType": "Empty File",
"DocumentID": "32aae267-d5e4-415a-82b6-c0601f91e456",
"DocumentDescription": null,
"CreationDateTime": "2017-06-22T19:30:04.387Z",
"ServiceDateTime": "2017-06-22T17:00:00.387Z",
"DirectAddressFrom": "johhnie.jade@ehrbridge.com",
"DirectAddressTo": "klasen.borris@ehrbridge.com",
"Provider": {
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "Ammey",
"LastName": "Clever",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "356 Main St.",
"City": "San Jose",
"State": "CA",
"ZIP": "58703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+12085551234"
},
"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": "Sharon",
"LastName": "Chalk",
"Credentials": [
"MD",
"PhD"
],
"Address": {
"StreetAddress": "312 Maple Dr. 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": "+13145557777"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
}
]
},
"Orders": []
}