This data model allows you to stay up-to-date on documented patient demographics, insurance, and the patient identifier used by the EHR system (usually an MRN). PatientAdmin relies on an admission, discharge, and transfer (ADT) feed from a provider.
PatientAdmin data can vary, but there are two main categories of data:
- Patient-level: Information about the patient that persists over time (e.g., name, address, gender, DOB, email address, primary care provider) that isn't tied to a particular encounter.
- Visit-level: Information pertaining to the patient's visit (e.g., the current location within the hospital, referring provider, admitting provider, care team, or discharge date/time).
This data model has event types that allow you to:
- receive a notification about patient appointments or records;
- query for and receive a list of admitted patients; or
- query for and receive patient visit information.
Query for all currently admitted patients in a facility. Results are returned in PatientAdmin.CensusQueryReponse.
Admitted patients are those who've triggered an Arrival, Registration, or Transfer event type, but not a Cancel or Discharge event type.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
PatientAdmin
- EventTyperequired, stringReliable
CensusQuery
- 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.
- PatientClassesArray of string
Specify one or more classes of encounters to return (e.g., inpatient, outpatient, emergency). Any encounters with an unknown patient class won't be returned if this parameter is defined in a query.
- DepartmentsArray of string
Specify one or more departments to filter the census results. If multiple departments are specified, the results will include all patient visits with any of the specified departments.
- FacilitiesArray of string
Specify one or more facilities to filter the census results. If multiple facilities are included, the results will contain all patient visits in any of the specified facilities.
If both facility and department are specified, the results will only include patient visits that match both the facility and the department.