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": "be454595-0446-4f74-a1ed-8bb29f22a63c",
"original_allergy_id": "8392792c-eff4-4b8a-b326-28b11b829178",
"name_txt": "sample string 3",
"reaction_detail_txt": "sample string 4",
"type_txt": "sample string 5",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "5a231c82-3d3d-4edf-a4d4-41dbf7b96014",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "f46b3c49-7400-4779-8c79-172bb6701be3",
"patient_history_id": "ba2a8bd2-6e03-4d2f-98cf-c161ca8153ad",
"patient_id": "23541ab3-e659-473a-b5cb-f54ebcdf524f",
"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-02-04T02:51:16.8917919+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-02-04T02:51:16.8917919+00:00",
"secondaryInsuredRelation": "sample string 17",
"selfPay": true,
"socialSecurityNum": "sample string 19",
"reasonForVisit": "sample string 20",
"dateOfLastExam": "2026-02-04T02:51:16.8917919+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-02-04T02:51:16.8917919+00:00",
"doctorReviewed": true,
"doctorReviewedDate": "2026-02-04T02:51:16.8917919+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-02-04T02:51:16.8917919+00:00",
"visionInsuredGroup": "sample string 79",
"patient_id": "2fde5d34-84f1-435c-9fd5-6a9437e3e92a",
"patient_review_id": "fa3e7cdb-9da8-4e76-a2c0-be1e9410af29",
"provider_id": "19945820-2fa2-49db-a8f3-b4a874dff2ee",
"medReconciliation": true,
"highCholesterol": 1,
"addPsychiatric": 1,
"adhd": 1,
"anxiety": 1,
"socialHistory_Other": "sample string 83",
"isArchived": true,
"created_by": "e1ea28ec-c140-435c-a378-cca76bae11f4",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "0e80f8f1-03b9-4bd1-aaf6-753c4523ddba",
"careReconciliation": true,
"start_dt": "2026-02-04T02:51:16.8917919+00:00",
"weightLoss": 1,
"socialHistoryInfection": "sample string 85",
"familyHistories": [
{
"$id": "3",
"familyhistory_id": "d02152f4-ec33-4577-83be-501de836be60",
"patient_review_id": "f26f7189-7f9a-465c-bbe3-8e8be440b876",
"patient_id": "1626d948-d69f-4a63-93e2-3a9b3602146f",
"familyhistory_other_txt": "sample string 4",
"otherInFamily": 1,
"otherRelation": "sample string 5",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "ce502b99-ae02-4487-a789-6f6c66ece96c",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "43ce4f18-71f7-4545-9975-691b3cd708ec",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "3"
}
],
"familyHistoryAdditionals": [
{
"$id": "4",
"familyhistoryadditional_id": "fd2e4f12-e314-4c86-909a-0ef274790cb5",
"patient_review_id": "2e2fabd7-9525-40a8-b949-9ff9b1f258d5",
"patient_id": "dc94173e-d302-47ea-ab76-a8667e3e2759",
"condition_txt": "sample string 3",
"condition_yes_no": true,
"relationship_to_patient_txt": "sample string 4",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "27d074be-24a7-42cf-b293-cc33a454622c",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "b5e360e0-bb89-4b3e-8ea7-6d945325a46f",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "4"
}
],
"patientReview_SocialHistory": [
{
"$id": "5",
"socialhistory_id": "95dacd62-ca4c-4564-a69a-95f253162fbc",
"patient_review_id": "9d0c9421-4d4e-43dd-bac1-7283a55d29b7",
"patient_id": "3d25591f-9552-4871-b77c-0daffde1c557",
"socialhistory_other_txt": "sample string 4",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "1a06c9be-0b79-4e18-a11e-14de4d56c348",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "e1288b54-2252-4496-b61f-f61e481a916c",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "5"
}
],
"ros": [
{
"$id": "6",
"rosId": "cb08ffae-f47a-4f3a-acbb-e0f15f9267a2",
"patient_review_id": "a98d2a42-3e3e-4fe7-853f-b96f3ca2f292",
"secName": "sample string 3",
"otherTxt": "sample string 4",
"otherHad": 1,
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "fd1fcb2a-43b9-4b3f-a07b-783275195c64",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "6"
}
],
"allergy": [
{
"$ref": "1"
},
{
"$ref": "1"
}
],
"immunization": [
{
"$id": "7",
"immunization_id": "39d015db-c085-45af-8acb-a4d2af9eee94",
"original_id": "bbd89ced-0544-4cb9-90b0-d5fcb8577ffd",
"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-02-04T02:51:16.8917919+00:00",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"record_type_txt": "sample string 10",
"record_id": "67b7bbfd-66bb-48e4-b36c-8ed92c00671c",
"patient_id": "f986a2e0-3529-41b9-9786-f6ed3d562615",
"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-02-04T02:51:16.8917919+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-02-04T02:51:16.8917919+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-02-04T02:51:16.8917919+00:00",
"pid_name_of_code_sys_txt": "sample string 44",
"pid_publicity_code_eff_dt": "2026-02-04T02:51:16.8917919+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": "8fc98a80-f08b-496f-a1ba-f0db8f1b707a",
"patientReview": {
"$ref": "2"
}
},
{
"$ref": "7"
}
],
"medicalrx": [
{
"$id": "8",
"rx_id": "e1a0cc0b-4d15-4736-ba76-19197dc45722",
"original_rx_id": "7f6007b0-7188-4f6b-91b2-8332232dccef",
"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-02-04T02:51:16.8917919+00:00",
"detail_txt": "sample string 13",
"record_id": "8a059a5e-2087-4036-a85a-5e7b289536f4",
"record_type": "sample string 15",
"patient_id": "db758a2d-43e9-4392-bb69-42f790d3afdd",
"created_dt": "2026-02-04T02:51:16.8917919+00:00",
"created_by": "5b6f47bb-ccee-49ba-8e77-be6fbf7db7a4",
"updated_dt": "2026-02-04T02:51:16.8917919+00:00",
"updated_by": "fe3602c6-54df-4417-a03e-52f728b102af",
"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": "6d172798-e3dd-41fa-83ec-8ee5b8ae1d30",
"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. |