New
API endpoints for New Organization
Sync REST API Endpoint to call the API: https://{base_url}/api/v1/organizations/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": "Organization",
"EventType": "New",
"EventDateTime": "2022-08-24T19:01:54.396Z",
"Test": true,
"Source": {
"ID": "104b87f5-17c2-4a8e-9ddd-7de07de17596",
"Name": "EHR Bridge Dev Tools"
},
"Destinations": [
{
"ID": "b3af98dd-fab9-42d8-ad36-0dc836c9d1d7",
"Name": "EHR Bridge EMR"
}
],
"Logs": [
{
"ID": "3498aee0-8e11-45d1-962b-cca7c32f751c ",
"AttemptID": "49288c12-da81-4c1a-a40a-edd1ae63845a"
}
],
"Message": {
"ID": 5565
},
"Transmission": {
"ID": 12414
},
"FacilityCode": null
},
"Directory": "Quality Care Info",
"Organizations": [
{
"Active": true,
"Name": "Test Org",
"Aliases": [],
"Identifiers": [
{
"ID": "0000000001",
"IDType": "FACID"
},
{
"ID": "1.2.3.4.5",
"IDType": "OID"
}
],
"Type": {
"System": "http://hl7.org/fhir/organization-type",
"Value": "Implementer"
},
"PartOf": {
"Identifier": {
"Type": "HCID",
"System": "http://www.hl7.org/oid/",
"Value": "1.2.3.4"
}
},
"Contacts": [
{
"Purpose": null,
"Name": "Bixby, Barbara",
"EmailAddresses": [
"barb.bixby@test.net"
],
"PhoneNumber": {
"Home": "+18088675303",
"Work": null,
"Mobile": "+19189368865"
}
}
],
"Address": {
"StreetAddress": "123 Main St.",
"City": "San Jose",
"State": "CA",
"ZIP": "86754",
"County": "Santa Clara",
"Country": "USA"
},
"Endpoints": [
{
"Identifiers": [
{
"Type": "HCID",
"System": "http://www.hl7.org/oid/",
"Value": "2.8.1.2"
}
],
"ConnectionType": {
"System": "http://hl7.org/fhir/subscription-channel-type",
"Value": "ihe-xcpd"
},
"Name": "Patient Discovery",
"Address": "https://fake.fake.com/xcpd",
"MIMEType": "Text/XML",
"Attributes": {
"Transaction": "XCPD ITI-55",
"Actor": {
"System": "https://example.org/api/Actor/1.0.0",
"Value": "Responding Gateway"
},
"Version": {
"System": "https://example.org/api/Version/1.0.0",
"Value": "2.0"
},
"UseCases": [
{
"System": "https://example.org/api/UseCases/1.0.0",
"Value": "QueryBasedDocumentExchange"
}
],
"PurposeOfUse": [
{
"System": "https://example.org/api/Purpose/1.0.0",
"Value": "Treatment"
}
],
"Roles": [
{
"System": "https://example.org/api/Roles/1.0.0",
"Value": "All"
}
]
}
}
],
"DestinationID": "399b11a9-041b-4aa4-a857-2b4ed85afb49"
}
]
}