This data model allows you to retrieve information about organizations from a clinical network (e.g., Carequality Interoperability Framework) or an EHR-maintained list. The most common use case is to see a list of available organizations to query via the Carequality Framework.
This data model has event types that allow you to:
- create a new or update an existing organization record; or
- query for and receive organization records.
Receive organization details, along with its OID, based on the query parameters defined in Organization.Query.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
Organization
- EventTyperequired, stringReliable
QueryResponse
- EventDateTimestring, nullReliable
Displays the UTC date and time that an outgoing request is delivered or an incoming request is received.
ISO 8601 Format - Testboolean, nullReliable
Indicates whether the request is a test or not.
- Sourceobject
Contains the information for the system initiating the message, including the source ID and name.
Included in messages from Redox- IDstring, nullReliable
Identifies the system initiating the message. If you have multiple OAuth API keys per environment type, this value is required. If you have only one OAuth API key per environment type, or you're using legacy API keys, this value is optional.
UUID - Namestring, nullReliable
Displays the name of the system initiating the message.
- DestinationsArray of object
Contains the information for the endpoint(s) receiving the request. A request must contain at least one destination, but asynchronous requests can have more than one destination. Synchronous requests like queries can only support one destination.
Required when sending data to Redox.- IDstring, nullReliable
Identifies the endpoint that the request is directed to.
UUID - Namestring, nullReliable
Displays the name of the endpoint that the request is directed to.
- LogsArray of object
Contains the log identifier(s) for the request.
- IDstring, nullReliable
Identifies the request log(s) that correspond to this request. You can use this value to locate the relevant log in the Redox dashboard for support and reference.
UUID - AttemptIDstring, nullReliable
Identifies the request log attempt value, which is useful when retries are possible.
UUID
- FacilityCodestring, nullPossible
Code for the facility related to the message.
Only use this field if a health system indicates you should. The code is specific to the health system's EHR and might not be unique across health systems. In general, the facility fields within the data models (e.g. OrderingFacility) are more reliable and informative.
- Directoryrequired, stringProbable
Directory this organization belongs to.
one of: Carequality - Organizationsrequired, Array of object
- Activerequired, booleanProbable
If this organization is considered active
- Namerequired, stringProbable
The name of the organization
- AliasesArray of string
Name aliases for this organization
- IdentifiersArray of object
An array of IDs and IDTypes to identify this organization
- IDstring, nullProbable
The ID for the organization
- IDTypestring, nullProbable
The IDType associated with the ID
- Typeobject
The type of organization
- Systemstring, nullProbable
The system used to define the type
- Valuestring, nullProbable
The value of the type of organization
- PartOfobject
Information/identifiers of the owning/maintaining organization
- Identifierobject
Identifying information for the owning organization
- Typestring, nullProbable
ID Type
- Systemstring, nullProbable
The ID Type system used
- Valuestring, nullProbable
The ID
- ContactsArray of object
Any specified contact information for the organization
- Purposestring, nullProbable
The contact's role at this organization
- Namestring, nullProbable
The contact's full name
- EmailAddressesArray of string
The contact's emails
- PhoneNumberobject
The contact's phone numbers
- Homestring, nullProbable
The contact's home number
- Workstring, nullProbable
The contact's work number
- Mobilestring, nullProbable
The contact's mobile number
- Addressobject
The address information for the organization
- StreetAddressstring, nullProbable
Street address
- Citystring, nullProbable
City
- Statestring, nullProbable
State
- ZIPstring, nullProbable
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- ManagingOrgstring, nullProbable
The managing organization
- Pagingobject
information related to a paged response
- Countnumber, nullProbable
The count of responses returned in this response
- Indexnumber, nullProbable
The index used to return the above array of responses