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.
Replace an existing document in a patient's chart. This event type overwrites an existing document.
Request Body Schema
- Metarequired, object
- DataModelrequired, stringReliable
Notes
- EventTyperequired, stringReliable
Replace
- 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.
- Patientrequired, object
- Identifiersrequired, Array of object
List of IDs and ID types that identify the patient
- IDrequired, stringReliable
ID for the patient
- IDTyperequired, stringReliable
Type of ID.
E.g. MRN, EPI
- Demographicsobject
- FirstNamestring, nullReliable
Patient's first name
- MiddleNamestring, nullPossible
Patient's middle name or middle initial. For patients with multiple middle names, all their middle names are included in this field.
- LastNamestring, nullReliable
Patient's last name
- DOBstring, nullReliable
Patient's date of birth.
In ISO 8601 format - SSNstring, nullProbable
Patient's social security number
- Sexstring, nullReliableValue Set
Patient's sex
- Racestring, nullPossibleValue Set
Patient's race
- IsHispanicboolean, nullPossibleValue Set
Indicates if the patient is of hispanic origin.
- Religionstring, nullPossibleValue Set
Patient's religious affiliation
- MaritalStatusstring, nullPossibleValue Set
Patient's marital status
- IsDeceasedboolean, nullPossible
Indicates if the patient is deceased
- DeathDateTimestring, nullPossible
Date and Time the patient was proclaimed deceased.
ISO 8601 Format - PhoneNumberobject
- Homestring, nullProbable
Patient's home phone number.
In E. 164 Format. (e.g. +16085551234) - Officestring, nullProbable
Patient's office phone number.
In E. 164 Format. (e.g. +16085551234) - Mobilestring, nullProbable
Patient's mobile phone number.
In E. 164 Format. (e.g. +16085551234)
- EmailAddressesArray of string
Patient's email address(es)
- Languagestring, nullPossibleValue Set
Patient's primary spoken language.
In ISO 639-1 alpha values (e.g. 'en'). Supported Values - CitizenshipArray of string
Patient's nation(s) of citizenship.
In ISO 3166 alpha 2 format (e.g. 'US'). - Addressobject
Patient's home address
- StreetAddressstring, nullProbable
Street address
- Citystring, nullProbable
City
- Statestring, nullProbable
State
- ZIPstring, nullProbable
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- NotesArray of string
Patient-level notes
- Noterequired, object
- ContentTyperequired, stringReliableValue Set
Describes the type of text provided in Note.FileContents.
- DocumentTyperequired, stringReliable
Classifies the type of document (e.g., consent form, treatment plan).
- OriginalDocumentIDrequired, string
ID of the note being replaced
- DocumentIDrequired, stringReliable
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 - Providerrequired, object
- IDrequired, stringProbable
ID of the Provider responsible for the document
- IDTypestring, nullProbable
ID type of the ID for the Provider responsible for the document
- FirstNamestring, nullPossible
First name of the Provider responsible for the document
- LastNamestring, nullPossible
Last name of the Provider responsible for the document
- CredentialsArray of string
List of credentials for the Provider responsible for the document.
e.g. MD, PhD - Addressobject
Provider's address
- StreetAddressstring, nullPossible
Street address
- Citystring, nullPossible
City
- Statestring, nullPossible
State
- ZIPstring, nullPossible
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- EmailAddressesArray of string
Provider's email address(es)
- PhoneNumberobject
- Officestring, nullPossible
Provider's office phone number.
In E. 164 Format. (e.g. +16085551234)
- Locationobject
Provider's location
- Typestring, nullPossible
Type of location.
Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone - Facilitystring, nullPossible
Facility.
Example: Community Hospital - FacilityIdentifiersArray of object
List of IDs specific to this facility
- IDstring, nullPossible
An ID specific to this facility
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Departmentstring, nullPossible
Department
- DepartmentIdentifiersArray of object
List of IDs specific to this department
- IDstring, nullPossible
An ID specific to this department
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Roomstring, nullPossible
Room.
Example: 136
- 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.
If using data on demand, the plain or rich text is stored as base64 encoded data. It gets decoded when responding to a Notes.Query. - FileNamestring, nullProbable
Displays the name of the document.
- FileTypestring, nullProbable
Identifies the format of the file (e.g., PDF, JPG). Use this if referencing a file with a Redox Blob URL.
Not supported with data on demand. - DocumentDescriptionstring, nullPossible
Contains a descriptive label for the document.
Not supported with data on demand. - 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. - Statusstring, nullProbableValue Set
TDisplays the authenticated status of the document, which can be either Authenticated or In progress. If Authenticated, the related Note.Authenticator field must be populated.
Not supported with data on demand. - Availabilitystring, nullProbableValue Set
Indicates whether the document is available for use.
Not supported with data on demand. - Authenticatorobject
- IDstring, nullProbable
ID of the provider who authenticated the document.
This ID is often required for Inpatient Visits. - IDTypestring, nullProbable
ID type of the ID for the provider who authenticated the document
- FirstNamestring, nullPossible
First name of the provider who authenticated the document
- LastNamestring, nullPossible
Last name of the provider who authenticated the document
- CredentialsArray of string
List of credentials for the provider who authenticated the document.
e.g. MD, PhD - Addressobject
Provider's address
- StreetAddressstring, nullPossible
Street address
- Citystring, nullPossible
City
- Statestring, nullPossible
State
- ZIPstring, nullPossible
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- EmailAddressesArray of string
Provider's email address(es)
- PhoneNumberobject
- Officestring, nullPossible
Provider's office phone number.
In E. 164 Format. (e.g. +16085551234)
- Locationobject
Provider's location
- Typestring, nullPossible
Type of location.
Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone - Facilitystring, nullPossible
Facility.
Example: Community Hospital - FacilityIdentifiersArray of object
List of IDs specific to this facility
- IDstring, nullPossible
An ID specific to this facility
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Departmentstring, nullPossible
Department
- DepartmentIdentifiersArray of object
List of IDs specific to this department
- IDstring, nullPossible
An ID specific to this department
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Roomstring, nullPossible
Room.
Example: 136
- NotificationsArray of object
- IDstring, nullReliable
ID of the provider who should be notified.
This ID is often required for Inpatient Visits. - IDTypestring, nullReliable
ID type of the ID for the provider who should be notified
- FirstNamestring, nullPossible
First name of the provider who should be notified
- LastNamestring, nullPossible
Last name of the provider who should be notified
- CredentialsArray of string
List of credentials for the provider who should be notified.
e.g. MD, PhD - Addressobject
Provider's address
- StreetAddressstring, nullPossible
Street address
- Citystring, nullPossible
City
- Statestring, nullPossible
State
- ZIPstring, nullPossible
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- EmailAddressesArray of string
Provider's email address(es)
- PhoneNumberobject
- Officestring, nullPossible
Provider's office phone number.
In E. 164 Format. (e.g. +16085551234)
- Locationobject
Provider's location
- Typestring, nullPossible
Type of location.
Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone - Facilitystring, nullPossible
Facility.
Example: Community Hospital - FacilityIdentifiersArray of object
List of IDs specific to this facility
- IDstring, nullPossible
An ID specific to this facility
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Departmentstring, nullPossible
Department
- DepartmentIdentifiersArray of object
List of IDs specific to this department
- IDstring, nullPossible
An ID specific to this department
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Roomstring, nullPossible
Room.
Example: 136
- ComponentsArray of object
- IDstring, nullPossible
Contains the identifier of the discrete note component. This could be either a report ID or document field ID.
Not supported with data on demand. - Namestring, nullPossible
Displays the name of the discrete note component (e.g., severity).
Not supported with data on demand. - Valuestring, nullPossible
Contains the text of the note component, either in plain text or rich text.
Not supported with data on demand. - Commentsstring, nullPossible
Contains any additional comments for the discrete note field.
Not supported with data on demand.
- Visitobject
- VisitNumberstring, nullReliable
Displays a unique identifier for the patient visit. We highly recommend including a visit number so the document can be associated with a specific visit.
- AccountNumberstring, nullPossible
Contains an identifier that can span several visits often related to the same patient condition (e.g., surgeries, research study, pregnancy). In other words, the account number can be used to link related visits.
- PatientClassstring, nullReliable
Classifies the department or type of patient care. Patient class is used in many EHR systems to determine where to put the patient (e.g., inpatient, outpatient, emergency).
- VisitDateTimestring, nullReliable
Displays the timestamp for the patient visit or the time that the patient arrived for admission.
ISO 8601 Format - Locationobject
Displays the location of the patient visit. This may be used to validate or to identify your application/device.
- Typestring, nullProbable
Type of location.
Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone - Facilitystring, nullProbable
Facility.
Example: Community Hospital - FacilityIdentifiersArray of object
List of IDs specific to this facility
- IDstring, nullProbable
An ID specific to this facility
- IDTypestring, nullProbable
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Departmentstring, nullProbable
Department
- DepartmentIdentifiersArray of object
List of IDs specific to this department
- IDstring, nullProbable
An ID specific to this department
- IDTypestring, nullProbable
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Roomstring, nullProbable
Room.
Example: 136 - Bedstring, nullProbable
Bed.
Example: B
- AdditionalStaffArray of object
Contains information about all other staff assigned to the assist with the patient visit. Each may be scheduled individually.
- IDstring, nullProbable
ID of the Additional staff member.
This ID is often required for Inpatient Visits. - IDTypestring, nullProbable
ID type of the ID for the Additional staff member
- FirstNamestring, nullPossible
First name of the Additional staff member
- LastNamestring, nullPossible
Last name of the Additional staff member
- CredentialsArray of string
List of credentials for the Additional staff member.
e.g. MD, PhD - Addressobject
Provider's address
- StreetAddressstring, nullPossible
Street address
- Citystring, nullPossible
City
- Statestring, nullPossible
State
- ZIPstring, nullPossible
ZIP
- Countystring, nullPossible
County
- Countrystring, nullPossibleValue Set
Country
- EmailAddressesArray of string
Provider's email address(es)
- PhoneNumberobject
- Officestring, nullPossible
Provider's office phone number.
In E. 164 Format. (e.g. +16085551234)
- Locationobject
Provider's location
- Typestring, nullPossible
Type of location.
Examples: Clinic, Department, Home, Nursing Unit, Provider's Office, Phone - Facilitystring, nullPossible
Facility.
Example: Community Hospital - FacilityIdentifiersArray of object
List of IDs specific to this facility
- IDstring, nullPossible
An ID specific to this facility
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Departmentstring, nullPossible
Department
- DepartmentIdentifiersArray of object
List of IDs specific to this department
- IDstring, nullPossible
An ID specific to this department
- IDTypestring, nullPossible
The source or system to which this ID pertains.
Could be an OID or a human-readable name
- Roomstring, nullPossible
Room.
Example: 136
- Roleobject
Identifies an additional staff member.
- Codestring, nullProbable
Code for the service
- Codesetstring, nullProbable
Code set used to identify the service.
Codeset will be blank for system-defined codes. - Descriptionstring, nullProbable
Description of the service.
Example: Primary Physician, Technologist, etc.
- OrdersArray of object
- IDstring, nullPossible
Contains the unique identifier of the order request, which is assigned by the system that placed the order.
Not supported with data on demand. - Namestring, nullPossible
Displays the name of the order, which is assigned by the system that placed the order.
Not supported with data on demand.