Skip to main content

Update

description

An Update message is used when an existing order is updated.

API endpoints for Order Update

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

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

Data Model JSON for Update

Update - Sample Payload
{
"Meta": {
"DataModel": "Order",
"EventType": "Update",
"EventDateTime": "2022-08-16T14:21:20.733Z",
"Test": true,
"Source": {
"ID": "61999032-29e1-424a-bbdc-8b326f25853e",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "bcd73031-0760-4a8a-a7e6-ba0c2eaf09d5",
"Name": "Destinations EMR"
}
],
"Logs": [
{
"ID": "3aa63bee-dd81-4dca-bb34-07992f327780 ",
"AttemptID": "7dc152fa-6378-4d93-a5e5-58c16de9b772"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Patient": {
"Identifiers": [
{
"ID": "0000000001",
"IDType": "MR"
},
{
"ID": "a7dfdda3-59c0-4388-a81a-0ee368f33692",
"IDType": "EHRID"
},
{
"ID": "e4df035c-0d5e-4355-b91a-874e01b9206c",
"IDType": "NIST"
}
],
"Demographics": {
"FirstName": "James",
"MiddleName": "Nathan",
"LastName": "Williams",
"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": "3456 Golden Bar Street",
"City": "San Jose"",
"State": "CA",
"ZIP": "53566",
"County": "Santa Clara",
"Country": "USA"
}
},
"Notes": []
},
"Visit": {
"VisitNumber": "1234",
"AccountNumber": null,
"PatientClass": null,
"VisitDateTime": "2015-04-21T13:54:49.863Z",
"AttendingProvider": {
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "Davis",
"LastName": "Wilson",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "123 Alfred St.",
"City": "San Jose",
"State": "CA",
"ZIP": "53703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16085551234"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"ConsultingProvider": {
"ID": "2434534567",
"IDType": "NPI",
"FirstName": "Smith",
"LastName": "Brown",
"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
}
},
"ReferringProvider": {
"ID": "4237864757",
"IDType": "NPI",
"FirstName": "Martin ",
"LastName": "Thomas",
"Credentials": [
"DO"
],
"Address": {
"StreetAddress": "500 First St.",
"City": "San Jose",
"State": "CA",
"ZIP": "63105",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+13145554321"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"Guarantor": {
"Number": "10001910",
"FirstName": "Kent",
"MiddleName": null,
"LastName": "Allen",
"SSN": null,
"DOB": null,
"Sex": null,
"Spouse": {
"FirstName": "Gracy",
"LastName": "Allen"
},
"Address": {
"StreetAddress": "4762 Welfare 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": " Labs",
"Address": {
"StreetAddress": "1456 Newman Street",
"City": "San Jose",
"State": "CA",
"ZIP": "53719",
"County": "Santa Clara",
"Country": "USA"
},
"PhoneNumber": "+18083451121"
}
},
"Insurances": [
{
"Plan": {
"ID": "31572",
"IDType": "Payor ID",
"Name": "HMO Deductible 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": "Medcare 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
}
}
}
],
"Location": {
"Type": "Inpatient",
"Facility": "Sasson Clinic",
"Department": "3N",
"Room": "136",
"Bed": "B"
}
},
"Order": {
"ID": "157968300",
"ApplicationOrderID": null,
"Status": "New",
"TransactionDateTime": "2015-05-06T06:00:58.872Z",
"CollectionDateTime": "2015-05-06T06:00:58.872Z",
"Specimen": {
"Source": null,
"BodySite": null,
"ID": null
},
"Procedure": {
"Code": "49086-2",
"Codeset": null,
"Description": "Trimester Maternal screening"
},
"Provider": {
"NPI": "4356789876",
"ID": "4356789876",
"IDType": "NPI",
"FirstName": "James",
"LastName": "Smith",
"Credentials": [
"MD"
],
"Address": {
"StreetAddress": "123 Main St.",
"City": "San Jose",
"State": "CA",
"ZIP": "53703",
"County": "Santa Clara",
"Country": "USA"
},
"EmailAddresses": [],
"PhoneNumber": {
"Office": "+16085551234"
},
"Location": {
"Type": null,
"Facility": null,
"Department": null,
"Room": null
}
},
"ResultCopyProviders": [],
"OrderingFacility": {
"Name": null,
"Address": {
"StreetAddress": null,
"City": null,
"State": null,
"ZIP": null,
"County": null,
"Country": null
},
"PhoneNumber": null
},
"Priority": "Stat",
"Expiration": null,
"Comments": null,
"Notes": [],
"Diagnoses": [
{
"Code": "Z31.41",
"Codeset": "ICD-10",
"Name": "Fertility testing encounter",
"Type": null,
"DocumentedDateTime": null
}
],
"ClinicalInfo": [
{
"Code": "QUESTION001",
"Codeset": null,
"Description": "Estimated Due Date",
"Value": "2015-10-05",
"Units": null,
"Abbreviation": null,
"Notes": []
},
{
"Code": "QUESTION002",
"Codeset": null,
"Description": "Ethnicity",
"Value": "White",
"Units": null,
"Abbreviation": "W",
"Notes": []
},
{
"Code": "QUESTION010",
"Codeset": null,
"Description": "twin pregnancy?",
"Value": "Singleton",
"Units": null,
"Abbreviation": "sng",
"Notes": []
},
{
"Code": "QUESTION011",
"Codeset": null,
"Description": "Dating Method",
"Value": "LMP",
"Units": null,
"Abbreviation": "lmp",
"Notes": []
}
]
}
}