Skip to main content

New

Description

A New message is generated in the EHR when a referral is schebduled or booked.

API endpoints for New Referral

Sync REST API Endpoint to call the API: https://{base_url}/api/v1/referral/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": "Referral",
"EventType": "New",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "c7c12d13-7864-4c63-b72a-9a869338900a",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "ece3cbae-6a65-4d34-81cc-59b9a8809cf7",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "32f1df86-9af2-4f7c-a9e5-681289e2a80e",
"AttemptID": "e466989b-0f5d-4f47-97d6-57ad2d64a416"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Referral": {
"ID": "4356789876",
"IDType": null,
"AlternateID": "2133311",
"Type": "Medical",
"Category": "Outpatient",
"Priority": "Routine",
"Status": "Pending",
"DateTime": "2015-05-05T00:00:00.000Z",
"ExpirationDateTime": "2015-06-05T00:00:00.000Z",
"ProcessDateTime": null,
"Reason": "Provider Ordered",
"ProviderSpecialty": null,
"DepartmentSpecialty": null,
"Notes": [],
"Authorization": {
"Plan": {
"ID": "31572",
"IDType": null,
"Name": "HMO Plan"
},
"Company": {
"ID": "60054",
"IDType": null,
"Name": "aetna (60054 0131)"
},
"DateTime": "2015-05-05T00:00:00.000Z",
"ExpirationDateTime": "2015-06-05T00:00:00.000Z",
"Number": "9140860055",
"ReimbursementLimit": null,
"RequestedTreatmentCount": null,
"RequestedTreatmentUnits": null,
"AuthorizedTreatmentCount": null,
"Notes": []
},
"Diagnoses": [],
"Procedures": [
{
"Code": "400500400",
"Codeset": "CPT4",
"Description": "Therapy Referral",
"Notes": [],
"Quantity": null,
"Units": null,
"Modifiers": []
}
],
"Providers": [
{
"ID": "4236464757",
"IDType": "NPI",
"FirstName": "John",
"LastName": "Calvin",
"Credentials": [
"DO"
],
"Address": {
"StreetAddress": "500 First St.",
"City": "San Jose"",
"State": "CA",
"ZIP": "63105",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": null
},
"Type": "Referring Provider",
"ContactInfo": null,
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
}
],
"Visit": {
"VisitNumber": null
}
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "01254966-60d9-4dbb-8f72-9a4e8e795788",
"IDType": "EHRID"
},
{
"ID": "b2103553-f04f-43dc-b334-0f07408726ae",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "John ",
"MiddleName": "F",
"LastName": "Marker",
"DOB": "2008-01-06",
"SSN": "101-01-0001",
"Sex": "Male",
"Race": "White",
"IsHispanic": null,
"Religion": null,
"MaritalStatus": "Single",
"IsDeceased": null,
"DeathDateTime": null,
"PhoneNumber": {
"Home": "+18088675301",
"Office": null,
"Mobile": null
},
"EmailAddresses": [],
"Language": "en",
"Citizenship": [],
"Address": {
"StreetAddress": "1234 Hill Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
}
},
"Notes": [],
"Contacts": [
{
"FirstName": "Alena",
"MiddleName": null,
"LastName": "marker",
"Address": {
"StreetAddress": "4762 Bredleys Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": {
"Home": "+18088885303",
"Office": "+17098543758",
"Mobile": "+19176368865"
},
"RelationToPatient": "Mother",
"EmailAddresses": [
"barb.bixby@test.net"
],
"Roles": [
"Emergency Contact"
]
}
],
"Guarantor": {
"Number": "10001910",
"FirstName": "Kent",
"MiddleName": null,
"LastName": "Mark",
"SSN": null,
"DOB": null,
"Sex": null,
"Spouse": {
"FirstName": "Alexa",
"LastName": "Mark"
},
"Address": {
"StreetAddress": "4762 Kings Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": {
"Home": null,
"Business": null,
"Mobile": null
},
"EmailAddresses": [],
"Type": null,
"RelationToPatient": "Father",
"Employer": {
"Name": "digitech Labs",
"Address": {
"StreetAddress": "1456 Old Park Road",
"City": "San Jose"",
"State": "CA",
"ZIP": "53719",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": "+180093451121"
}
},
"Insurances": [
{
"Plan": {
"ID": "31572",
"IDType": "Payor ID",
"Name": "HMO Plan",
"Type": null
},
"MemberNumber": null,
"Company": {
"ID": "60054",
"IDType": null,
"Name": "aetna (60054 0131)",
"Address": {
"StreetAddress": "PO Box 14080",
"City": "San Jose"",
"State": "CA",
"ZIP": "40512-4079",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": "+18089541123"
},
"GroupNumber": "847025-024-0009",
"GroupName": "Digitech Labs",
"EffectiveDate": "2015-01-01",
"ExpirationDate": "2020-12-31",
"PolicyNumber": "9140860055",
"Priority": null,
"AgreementType": null,
"CoverageType": null,
"Insured": {
"Identifiers": [],
"LastName": null,
"MiddleName": null,
"FirstName": null,
"SSN": null,
"Relationship": null,
"DOB": null,
"Sex": null,
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
}
}
}
]
},
"Visit": {
"VisitNumber": null
}
}