This data model allows you to exchange plain text or rich text content with an EHR system. This is helpful if you want to display content in the EHR context with advanced text parsing capabilities (e.g., NLP, searching of the chart).
This is typically non-structured documentation about a patient's clinical care. Notes can summarize actions taken in third-party apps and provide context for the patient's chart in the EHR system. Alternatively, notes created in the EHR system may be sent outbound to apps for reference or analysis.
You can also send files or documents with the Media and Results data models. Learn how to send a file with different data models.
This data model has event types that allow you to:
- save, replace, or delete a note document; or
- query for and receive note documents.
Query for notes by defining the search criteria. Results are returned in Notes.QueryReponse.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
Notes
- EventTyperequired, stringReliable
Query
- 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.
- PatientsArray of object
Array of patients to filter results on.
If multiple patients are provided, notes associated with any of the patients will be returned.- IdentifiersArray of object
List of IDs and ID types that identify the patient.
If multiple identifiers are provided, only patients with all identifiers will be considered.- IDstring, nullReliable
ID of the Patient
- IDTypestring, nullReliable
ID Type for the corresponding ID of this patient (ie. MRN, EHRID)
- VisitNumbersArray of string
Array of patient visits to query on.
If multiple visits are provided, notes associated with any of the patient visits will be returned. - DocumentTypesArray of string
Array of document types to query on.
The type of note to retrieve (E.g. Consent Form, Treatment Plan) - DocumentIDsArray of string
Array of a document identifier to query.