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.
Receive note file metadata and content, along with the related patient and visitor info, based on the query parameters defined in Notes.Query.
Remember that you won't receive provider info. To receive provider info with note details, we recommend listening for new notes with the Notes.New event type instead.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
Notes
- 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.
- NotesArray of object
- Patientobject
- IdentifiersArray of object
List of IDs and ID types that identify the patient
- IDstring, nullReliable
ID for the patient
- IDTypestring, nullReliable
Type of ID.
E.g. MRN, EPI
- Visitobject
- VisitNumberstring, nullReliable
Visit Number.
A VisitNumber is highly recommended so that the document can be associated with a specific visit
- ContentTypestring, nullReliableValue Set
Describes the type of text provided in Note.FileContents.
- FileContentsstring, nullProbable
Contains the content of the file. This should be a Blob URL if the file is referenced. Otherwise, this contains plain or rich text.
Either plain text, RTF, or a Base64 encoded string - FileNamestring, nullProbable
Displays the name of the document.
- DocumentTypestring, nullReliable
Classifies the type of document (e.g., consent form, treatment plan).
- DocumentIDstring, nullReliable
Contains the unique identifier for this document. You must have the document ID to update the document later.
This ID is required in order to update the document with Modify messages - ServiceDateTimestring, nullReliable
Displays the time of the clinical service that the document is related to. For example, for a surgical note, this would be the date/time of the surgery.
- DocumentationDateTimestring, nullReliable
Displays the timestamp for when the document was finalized or created. For example, a surgeon may enter the surgical note contents after the surgery. This timestamp represents the time the note was saved.
For example, a surgeon may enter the surgical note contents following the surgery. This is the field representing the time the note was saved.