put
https://api.zenoti.com/v1/emr/guests/
This API adds or updates multiple EMR data sections for a guest in a single API call. Supports allergies, medications, medical histories, social history, and vitals — each section is optional and processed independently in parallel, with per-section error reporting.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Response Details
EMRDataModel
| Json Property | Data Type | Description |
|---|---|---|
| allergies | List | List of guest allergy records to add or update. |
| medications | List | List of guest medication records to add or update. |
| medical_histories | List | List of guest medical history records to add or update. |
| social_history | List | List of social history fields to add or update. |
| vitals | List | List of vital sign fields to add or update. |
GuestAllergy
| Json Property | Data Type | Description |
|---|---|---|
| allergy_id | Guid? | Unique identifier of the allergy record. Required when updating an existing allergy. |
| category | AllergyCategory | Category of the allergy. |
| allergy_name | string | Name of the allergy. |
| severity | AllergySeverity | Severity level of the allergy. |
| source | AllergySource | Source from which the allergy information was obtained. |
| is_active | bool | Indicates whether the allergy is currently active. |
| status | AllergyStatus | Status of the allergy record. |
| created_by | CreatedByObject | Information about the user who created the allergy record. |
| modified_by | CreatedByObject | Information about the user who last modified the allergy record. |
GuestMedication
| Json Property | Data Type | Description |
|---|---|---|
| medication_id | Guid? | Unique identifier of the medication record. Required when updating an existing medication. |
| medication_name | string | Name of the medication. |
| start_date | DateTime? | Date when the medication was started. |
| end_date | DateTime? | Date when the medication was stopped. |
| status | MedicationStatus | Current status of the medication. |
| created_by | CreatedByObject | Information about the user who created the medication record. |
| modified_by | CreatedByObject | Information about the user who last modified the medication record. |
| notes | string | Additional notes about the medication. |
| medication_source | ProviderType | Source/provider of the medication information. |
| critical_type | CriticalType? | Criticality classification of the medication. |
| guest_medication_id | long? | Internal guest medication identifier. |
| is_custom | bool | Indicates whether the medication is custom-defined. |
| data_source | MedicationDataSource? | Source system from which the medication data originated. |
| related_type | FormRelatedType? | Type of related entity associated with the medication entry. |
MedicalHistory
| Json Property | Data Type | Description |
|---|---|---|
| guest_condition_id | Guid? | Unique identifier of the guest medical history record. |
| health_condition_id | Guid? | Unique identifier of the health condition. |
| condition_name | string | Name of the medical condition. |
| category | MedicalConditionCategory? | Category of the medical condition. |
| diagnosis_date | DateTime? | Date when the condition was diagnosed. |
| status | MedicalConditionStatus | Current status of the medical condition. |
| resolution_date | DateTime? | Date when the condition was resolved. |
| notes | string | Additional notes about the condition. |
| is_family_history | bool | Indicates whether the condition is part of the guest's family history. |
| relationship_id | Guid? | Identifier of the family relationship associated with the condition. |
| relationship_name | string | Name of the family relationship associated with the condition. |
| is_genetic_risk | bool? | Indicates whether the condition represents a genetic risk. |
| created_by | CreatedByObject | Information about the user who created the medical history record. |
| critical_type | CriticalType? | Criticality classification of the condition. |
| modified_by | CreatedByObject | Information about the user who last modified the medical history record. |
| guest_medical_history_id | long? | Internal guest medical history identifier. |
EMREntityFieldModel
| Json Property | Data Type | Description |
|---|---|---|
| created_by | CreatedByObject | Information about the user who created the field entry. |
| modified_by | CreatedByObject | Information about the user who last modified the field entry. |
EMREntityField
| Json Property | Data Type | Description |
|---|---|---|
| id | int | Identifier of the EMR field. |
| name | string | Internal name of the field. |
| display_name | string | Display name shown to users. |
| value | string | Value assigned to the field. |
| value_id | string | Identifier corresponding to the selected field value. |
| default_value | string | Default value of the field. |
| options | string | Available options for the field. |
| is_enabled | bool | Indicates whether the field is enabled. |
| is_required | bool | Indicates whether the field is mandatory. |
| data_type | string | Data type of the field value. |
| critical_type | CriticalType? | Criticality classification of the field value. |
| description | string | Description of the field. |
| unit | string | Unit associated with the field value. |
| index | int | Display or processing order of the field. |
| session_datetime | DateTime? | Date and time associated with the field entry. |
| validation | string | Validation rules applied to the field. |
| entity_id | Guid? | Identifier of the parent entity. |
| is_custom | bool? | Indicates whether the field is custom-defined. |
| user_entity_field_id | long? | Internal identifier of the user entity field record. |
| blood_pressure | string | Blood pressure value, when applicable. |
CreatedByObject
| Json Property | Data Type | Description |
|---|---|---|
| id | Guid | Unique identifier of the employee or user. |
| name | string | Name of the employee or user. |
| date | DateTime | Date and time when the action occurred. |
GuestEMRBulkUpdateRequestModel
| Json Property | Data Type | Description |
|---|---|---|
| emr_data | EMRDataModel | Collection of EMR sections to add or update for the guest. |
GuestEMRBulkUpdateResponseModel
| Json Property | Data Type | Description |
|---|---|---|
| emr_data | EMRDataModel | Successfully processed EMR sections returned after the update. |
| section_errors | List | Errors encountered while processing individual EMR sections. |
| error | APICommonErrorModel | Top-level error returned when the entire request fails |
EMRBulkSectionError
| Json Property | Data Type | Description |
|---|---|---|
| section | string | Name of the EMR section that failed processing. |
| error | APICommonErrorModel | Error details for the failed section. |
APICommonErrorModel
| Json Property | Data Type | Description |
|---|---|---|
| code | string | Application-specific error code. |
| message | string | Human-readable error message. |
FormRelatedType (Enum)
| Value | Description |
|---|---|
| 0 | None |
| 1 | Appointment |
| 2 | GuestForm |
| 3 | ePrescribe |
