POST api/allergy/add
Request Information
URI Parameters
None.
Body Parameters
Collection of AllergyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| allergy_id | globally unique identifier |
None. |
|
| original_allergy_id | globally unique identifier |
None. |
|
| name_txt | string |
None. |
|
| reaction_detail_txt | string |
None. |
|
| type_txt | string |
None. |
|
| created_dt | date |
None. |
|
| created_by | globally unique identifier |
None. |
|
| updated_dt | date |
None. |
|
| updated_by | globally unique identifier |
None. |
|
| patient_history_id | globally unique identifier |
None. |
|
| patient_id | globally unique identifier |
None. |
|
| status_txt | string |
None. |
|
| severity_txt | string |
None. |
|
| reconciled_txt | string |
None. |
|
| vocabulary_txt | string |
None. |
|
| source_txt | string |
None. |
|
| rx_norm_code_txt | string |
None. |
|
| PatientReview | PatientReviewModel |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"allergy_id": "982cabaf-0e27-4052-b5ae-3f49178799b7",
"original_allergy_id": "acd06166-b6ca-4afa-b619-d10c15605596",
"name_txt": "sample string 3",
"reaction_detail_txt": "sample string 4",
"type_txt": "sample string 5",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "8fd27d98-1d3e-4401-aac5-06517183c680",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "47c9194b-9162-4967-900f-922528f2eddf",
"patient_history_id": "82586fa8-b375-4e72-bb82-289417657fd7",
"patient_id": "d4b45f71-e164-470b-ab23-631b9e23e196",
"status_txt": "sample string 12",
"severity_txt": "sample string 13",
"reconciled_txt": "sample string 14",
"vocabulary_txt": "sample string 15",
"source_txt": "sample string 16",
"rx_norm_code_txt": "sample string 17",
"patientReview": {
"$id": "2",
"doctorReferred": true,
"referringDoctor": "sample string 2",
"spouseName": "sample string 3",
"spouseEmployer": "sample string 4",
"emergencyContactName": "sample string 5",
"emergencyContactRelation": "sample string 6",
"emergencyContactHomePhone": "sample string 7",
"emergencyContactWorkPhone": "sample string 8",
"primaryInsuredDOB": "2026-11-04T19:48:26.9198634+00:00",
"primaryInsuredGroup": "sample string 9",
"primaryInsuredSSN": "sample string 10",
"primaryInsuredName": "sample string 11",
"primaryInsuredEmployer": "sample string 12",
"secondaryInsurance": "sample string 13",
"secondaryInsuranceID": "sample string 14",
"secondaryInsuredGroup": "sample string 15",
"secondaryInsuredName": "sample string 16",
"secondaryInsuredDOB": "2026-11-04T19:48:26.9198634+00:00",
"secondaryInsuredRelation": "sample string 17",
"selfPay": true,
"socialSecurityNum": "sample string 19",
"reasonForVisit": "sample string 20",
"dateOfLastExam": "2026-11-04T19:48:26.9198634+00:00",
"lastExaminer": "sample string 21",
"currentlyWear": 64,
"interestedInContacts": true,
"contactBrand": "sample string 22",
"areContactsComfortable": true,
"ageOfGlasses": "sample string 23",
"ageOfContacts": "sample string 24",
"medicalDoctorName": "sample string 25",
"medicalDoctorPhone": "sample string 26",
"currentlyTakingMedications": true,
"allergicToMedications": true,
"surgeriesAndHospitalizations": "sample string 27",
"hadCrossedEyes": true,
"hadLazyEye": true,
"hadDroopingEyelid": true,
"hadProminentEyes": true,
"hadGlaucoma": true,
"hadRetinalDisease": true,
"hadCataracts": true,
"hadEyeInfections": true,
"hadEyeInjury": true,
"hadDoubleVision": true,
"hadEyePain": true,
"hadItching": true,
"hadTearing": true,
"hadBurning": true,
"hadRedness": true,
"hadFloaters": true,
"hadFlashes": true,
"hadHalos": true,
"isPregnantOrNursing": true,
"height": "sample string 46",
"weight": "sample string 47",
"interestedInLaserVision": true,
"interestedInDryEyeTreatment": true,
"preferDiscussWithDoctor": true,
"usesTobacco": true,
"tobaccoTypeAmount": "sample string 49",
"smokes": true,
"smokeTypeAmount": "sample string 50",
"usesIllegalDrugs": true,
"illegalDrugsTypeAmount": "sample string 51",
"gonorrhea": true,
"hepatitis": true,
"hiv": true,
"syphilis": true,
"signed": true,
"signedName": "sample string 57",
"signedDate": "2026-11-04T19:48:26.9198634+00:00",
"doctorReviewed": true,
"doctorReviewedDate": "2026-11-04T19:48:26.9198634+00:00",
"doctorID": 1,
"feverWeight": 1,
"integumetary": 1,
"allergiesHayFever": 1,
"sinusCongestion": 1,
"runnyNose": 1,
"postNasalDrip": 1,
"chronicCough": 1,
"dryMouth": 1,
"headaches": 1,
"migraines": 1,
"seizures": 1,
"lossOfVision": 1,
"blurredVision": 1,
"distortedVision": 1,
"lossOfSideVision": 1,
"doubleVision": 1,
"dryness": 1,
"mucousDischarge": 1,
"redness": 1,
"sandyFeeling": 1,
"burning": 1,
"foreignBodySens": 1,
"lightSensitive": 1,
"eyePainSoreness": 1,
"chronicEyeInfection": 1,
"styesChalazia": 1,
"flashesFloaters": 1,
"tiredEye": 1,
"asthma": 1,
"chronicBronchitis": 1,
"emphysema": 1,
"diabetes": 1,
"heartPain": 1,
"highBloodPressure": 1,
"vascularDisease": 1,
"itching": 1,
"gastrointestinalDiarrhea": 1,
"constipation": 1,
"excessTearingWatery": 1,
"genitourinaryDiarrhea": 1,
"bonesJointsMuscles": 1,
"rheumatoidArthritis": 1,
"musclePain": 1,
"jointPain": 1,
"anemia": 1,
"thyroidOtherGlands": 1,
"psychiatric": 1,
"immunologic": 1,
"explinationOfConditions": "sample string 59",
"systemReviewQuestion": "sample string 60",
"blindnessInFamily": 1,
"blindnessRelation": "sample string 61",
"cataractInFamily": 1,
"cataractRelation": "sample string 62",
"glaucomaInFamily": 1,
"glaucomaRelation": "sample string 63",
"lazyCrossedEyesInFamily": 1,
"lazyCrossedEyesRelation": "sample string 64",
"macularDegenerationInFamily": 1,
"macularDegenerationRelation": "sample string 65",
"retinalDetachmentInFamily": 1,
"retinalDetachmentRelation": "sample string 66",
"retinalDiseaseInFamily": 1,
"retinalDiseaseRelation": "sample string 67",
"arthritisInFamily": 1,
"arthritisRelation": "sample string 68",
"cancerInFamily": 1,
"cancerRelation": "sample string 69",
"diabetesInFamily": 1,
"diabetesRelation": "sample string 70",
"heartDiseaseInFamily": 1,
"heartDiseaseRelation": "sample string 71",
"highBloodPressureInFamily": 1,
"highBloodPressureRelation": "sample string 72",
"kidneyDiseaseInFamily": 1,
"kidneyDiseaseRelation": "sample string 73",
"lupusInFamily": 1,
"lupusRelation": "sample string 74",
"thyroidDiseaseInFamily": 1,
"thyroidDiseaseRelation": "sample string 75",
"otherInFamily": 1,
"otherDescription": "sample string 76",
"otherRelation": "sample string 77",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"visionInsuredGroup": "sample string 79",
"patient_id": "2da0a5dc-0234-40df-b79b-cc518c99f375",
"patient_review_id": "060e1699-0fde-4981-aa7f-302931f4a6b7",
"provider_id": "728a8db4-3ad8-4a10-8689-522bde70a362",
"medReconciliation": true,
"highCholesterol": 1,
"addPsychiatric": 1,
"adhd": 1,
"anxiety": 1,
"socialHistory_Other": "sample string 83",
"isArchived": true,
"created_by": "2485de6c-9bf3-4b9d-a921-7b4487634594",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "4ba946bb-d44f-4a96-a5e9-0a2652cf974f",
"careReconciliation": true,
"start_dt": "2026-11-04T19:48:26.9198634+00:00",
"weightLoss": 1,
"socialHistoryInfection": "sample string 85",
"familyHistories": [
{
"$id": "3",
"familyhistory_id": "1c3ae04a-5e16-4d7c-922c-fb8c1daeb120",
"patient_review_id": "8839f00b-8841-433d-8523-50f80a747e70",
"patient_id": "88fe7e4d-b7a6-43b9-b8c4-709ba7305af9",
"familyhistory_other_txt": "sample string 4",
"otherInFamily": 1,
"otherRelation": "sample string 5",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "bf060c13-661b-46c7-a630-af452acea2eb",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "78457bc3-353e-4458-8265-57888b7cd5a1",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "3"
}
],
"familyHistoryAdditionals": [
{
"$id": "4",
"familyhistoryadditional_id": "bdc20e5b-768f-4164-8ace-5c8b464ffddf",
"patient_review_id": "c1075ca0-3cab-4903-88f8-fad08482ee9a",
"patient_id": "0ee43adf-4525-4f81-a155-fef45c58f8bb",
"condition_txt": "sample string 3",
"condition_yes_no": true,
"relationship_to_patient_txt": "sample string 4",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "39af3e4e-002b-41b4-8250-f27cd23e97a2",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "bb5210be-4c70-4753-81b9-ba29b9a266f5",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "4"
}
],
"patientReview_SocialHistory": [
{
"$id": "5",
"socialhistory_id": "1893f586-145e-4949-94c0-a0220538c845",
"patient_review_id": "d7f8b4cc-5a0d-4317-9ebb-57e8ef648e1b",
"patient_id": "7a2f0da7-5662-4ceb-978b-f771404c5404",
"socialhistory_other_txt": "sample string 4",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "68bbc58f-2e21-4bdb-8deb-b6a19abe5523",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "7265d849-6ade-4b2f-8581-aab04a221735",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "5"
}
],
"ros": [
{
"$id": "6",
"rosId": "758bb906-e63d-43fb-abcd-793ed4024fd6",
"patient_review_id": "1a503f56-4108-4b2d-ba6e-36ce0125f979",
"secName": "sample string 3",
"otherTxt": "sample string 4",
"otherHad": 1,
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "14a383a7-4069-42a6-9534-4ae9b116d0c1",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "6"
}
],
"allergy": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"immunization": [
{
"$id": "7",
"immunization_id": "3c8f2266-c56a-4816-ab15-98eca4e28138",
"original_id": "ec72e935-90a1-4563-8d5c-35ebd055dac2",
"vaccine_name_txt": "sample string 3",
"cvX_code_txt": "sample string 4",
"administered_amount_txt": "sample string 5",
"administered_units_txt": "sample string 6",
"vaccine_lot_number_txt": "sample string 7",
"manufacturer_name_txt": "sample string 8",
"manufacturer_code_txt": "sample string 9",
"immunized_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"record_type_txt": "sample string 10",
"record_id": "65fe9ed7-1cde-4dda-8ddb-a57f1a321428",
"patient_id": "71789216-cf1b-4186-b250-904eb33ec416",
"nk1_local_number": "sample string 13",
"pd1_protect_indicator": "sample string 14",
"pid_identifier_txt": "sample string 15",
"pid_race_id": "sample string 16",
"msh_application_acknowledgment_type": "sample string 17",
"nk1_rel_phone_usecode": "sample string 18",
"pid_telecomm_use_code_txt": "sample string 19",
"msh_accept_acknowledgment_type_txt": "sample string 20",
"msh_message_structure_txt": "sample string 21",
"msh_sending_facility_id": "sample string 22",
"pid_assigning_authority_txt": "sample string 23",
"msh_message_control_id": "sample string 24",
"pid_race_code_system_txt": "sample string 25",
"pid_ssn_identifier_type_code": "sample string 26",
"msh_receiving_facility_id": "sample string 27",
"pid_ethnic_code_sys_txt": "sample string 28",
"pid_ssn_namespace_id": "sample string 29",
"pid_registry_status_eff_dt": "2026-11-04T19:48:26.9198634+00:00",
"msh_version_id": "sample string 30",
"nk1_relationship_txt": "sample string 31",
"nk1_set_id": "sample string 32",
"pid_address_type_txt": "sample string 33",
"pid_immunization_registry_status": "sample string 34",
"msh_message_typecode_txt": "sample string 35",
"msh_sending_application_id": "sample string 36",
"nk1_relationship_id": "sample string 37",
"pid_ethnic_id": "sample string 38",
"pid_patient_set_id": "sample string 39",
"msh_message_dt": "2026-11-04T19:48:26.9198634+00:00",
"msh_processing_id": "sample string 40",
"nk1_address_type_txt": "sample string 41",
"nk1_codesystem_txt": "sample string 42",
"nk1_name_type_code_txt": "sample string 43",
"pd1_protect_date": "2026-11-04T19:48:26.9198634+00:00",
"pid_name_of_code_sys_txt": "sample string 44",
"pid_publicity_code_eff_dt": "2026-11-04T19:48:26.9198634+00:00",
"pid_identity_type_id": "sample string 45",
"pid_name_type_code_txt": "sample string 46",
"msh_message_triggerevent_txt": "sample string 47",
"nk1_areacode": "sample string 48",
"nk1_phone_telcom_equip": "sample string 49",
"pid_telecom_equip_type_txt": "sample string 50",
"pid_text_txt": "sample string 51",
"patient_history_id": "922b8bc9-8c10-4f54-ac33-7414e2d28316",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "7"
}
],
"medicalrx": [
{
"$id": "8",
"rx_id": "7ab1e45d-10ba-4fdb-9595-9f3e11078d71",
"original_rx_id": "5bcfcfaf-f7eb-48c4-9d78-2da909180247",
"rx_norm_code_txt": "sample string 3",
"product_txt": "sample string 4",
"generic_name_txt": "sample string 5",
"brand_name_txt": "sample string 6",
"strength_txt": "sample string 7",
"dose_txt": "sample string 8",
"route_txt": "sample string 9",
"frequency_txt": "sample string 10",
"refill_times_txt": "sample string 11",
"date_started_dt": "2026-11-04T19:48:26.9198634+00:00",
"detail_txt": "sample string 13",
"record_id": "d55b1bb4-85c8-4e8e-bc30-10cec045d50c",
"record_type": "sample string 15",
"patient_id": "59715453-2b34-4aa4-af71-a85dcd63b473",
"created_dt": "2026-11-04T19:48:26.9198634+00:00",
"created_by": "c5c21877-4486-4c5d-a9ff-a312261a154f",
"updated_dt": "2026-11-04T19:48:26.9198634+00:00",
"updated_by": "6541a37d-e3a3-405f-9724-1d1117968d95",
"print_ind": true,
"status_txt": "sample string 22",
"number_val": 1,
"fill_instruction_txt": "sample string 23",
"e_rx": true,
"source_txt": "sample string 24",
"reconciled_txt": "sample string 25",
"vocabulary_txt": "sample string 26",
"fq": true,
"patient_history_id": "1702a2de-b565-4502-8ba1-cbeff73a5341",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "8"
}
]
}
},
{
"$ref": "1"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |