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.
Update an existing organization record in an external network or system.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
Organization
- EventTyperequired, stringReliable
Update
- 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.
- Actionrequired, stringProbable
Which update action is this for?.
Update or Delete - 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
- EndpointsArray of object
The Endpoints associated with thisorganization
- IdentifiersArray of object
Array of identifiers for this endpoint resource
- Typestring, nullProbable
This should be the type of identifier detailed here. Typically HCID or AAID for Carequality endpoints
- Systemstring, nullProbable
The system the identifier belongs to. Typically http://www.hl7.org/oid/
- Valuestring, nullProbable
The value of the ID
- ConnectionTypeobject
Defines the type of endpoint this is.
- Systemstring, nullProbable
The system for the ID. Typically http://hl7.org/fhir/subscription-channel-type
- Valuestring, nullProbable
The value for the connection, such as ihe-xcpd
- Namestring, nullProbable
A name for this endpoint.
- Addressstring, nullProbable
This specifies the actual endpoint value, such as the URL
- MIMETypestring, nullProbable
Details the type of payload this endpoint is expecting. Text/XML is standard for IHE endpoints
- Attributesobject
Additional information pertaining to this endpoint
- Transactionstring, nullProbable
Type of transaction for this endpoint, such as XCPD ITI-55
- Actorobject
Defines how the endpoint acts, such as "Responding Gateway"
- Systemstring, nullProbable
Actor value system used. Typically https://sequoiaproject.org/StructureDefinition/Endpoint/Actor/1.0.0
- Valuestring, nullProbable
Value defining this endpoint Actor from the system specified
- Versionobject
The version of this endpoint in the containing directory
- Systemstring, nullProbable
The system that defines the list of permissable values for the version. Typically https://sequoiaproject.org/StructureDefinition/Endpoint/Version/1.0.0
- Valuestring, nullProbable
The value of the version
- UseCasesArray of object
Defines how this endpoint should be used
- Systemstring, nullProbable
System used for the use case definition. Typically https://sequoiaproject.org/StructureDefinition/Endpoint/UseCases/1.0.0
- Valuestring, nullProbable
the value of the use case
- PurposeOfUseArray of object
Defines what purposes of use this endpoint is setup to support
- Systemstring, nullProbable
The system used for the definition of the purpose of use
- Valuestring, nullProbable
the value for this purpose of use
- RolesArray of object
Defines what roles this endpoint serves
- Systemstring, nullProbable
The sysem used to defined the role. Typically https://sequoiaproject.org/StructureDefinition/Endpoint/Roles/1.0.0
- Valuestring, nullProbable
The role value
- DestinationIDstring, nullProbable
The Redox Destination ID that is associated with this Carequality org for receiving query events over the network