POST api/allergy/add

Request Information

URI Parameters

None.

Body Parameters

Collection of AllergyModel
NameDescriptionTypeAdditional 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": "6632d9ff-9724-43b2-986d-fe3c0e9e7ee3",
    "original_allergy_id": "47539169-f251-42ea-b5bd-1fc7f1e4d36f",
    "name_txt": "sample string 3",
    "reaction_detail_txt": "sample string 4",
    "type_txt": "sample string 5",
    "created_dt": "2025-08-29T03:17:19.7476897+00:00",
    "created_by": "893d068f-8a6a-42b3-a23c-1a5156be905e",
    "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
    "updated_by": "51f5730b-606d-44d3-8a3c-5e2af23eaeb8",
    "patient_history_id": "83eac2b2-2327-4856-9355-998f57c49342",
    "patient_id": "5bd12896-42d0-448b-b7fa-039fb9425f6d",
    "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": "2025-08-29T03:17:19.7476897+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": "2025-08-29T03:17:19.7476897+00:00",
      "secondaryInsuredRelation": "sample string 17",
      "selfPay": true,
      "socialSecurityNum": "sample string 19",
      "reasonForVisit": "sample string 20",
      "dateOfLastExam": "2025-08-29T03:17:19.7476897+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": "2025-08-29T03:17:19.7476897+00:00",
      "doctorReviewed": true,
      "doctorReviewedDate": "2025-08-29T03:17:19.7476897+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": "2025-08-29T03:17:19.7476897+00:00",
      "visionInsuredGroup": "sample string 79",
      "patient_id": "275deb7e-c71a-4f44-b777-5ccfc097fefa",
      "patient_review_id": "c622f743-e643-41ce-8f5a-c7556da063c0",
      "provider_id": "b6231e45-7969-4676-bd82-4b7be08b0477",
      "medReconciliation": true,
      "highCholesterol": 1,
      "addPsychiatric": 1,
      "adhd": 1,
      "anxiety": 1,
      "socialHistory_Other": "sample string 83",
      "isArchived": true,
      "created_by": "fc943e90-46af-45ba-8457-f53dd646d393",
      "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
      "updated_by": "32ae4027-f1d0-4483-b1ce-9e6d983c1019",
      "careReconciliation": true,
      "start_dt": "2025-08-29T03:17:19.7476897+00:00",
      "weightLoss": 1,
      "socialHistoryInfection": "sample string 85",
      "familyHistories": [
        {
          "$id": "3",
          "familyhistory_id": "6d838d44-dd84-4775-a0c2-2652d8f1f72c",
          "patient_review_id": "e5c60134-102b-4dd9-a4c5-5f09983d9bba",
          "patient_id": "d47a3e22-7603-4dd2-b70b-234304595957",
          "familyhistory_other_txt": "sample string 4",
          "otherInFamily": 1,
          "otherRelation": "sample string 5",
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "created_by": "8df3bf61-b3e4-49d7-8f40-1d7349f50fc6",
          "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
          "updated_by": "9854ec13-439f-4d47-a650-b64b3e190581",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "3"
        }
      ],
      "familyHistoryAdditionals": [
        {
          "$id": "4",
          "familyhistoryadditional_id": "23ac0807-a912-4c0d-8e6d-777ad732ccf8",
          "patient_review_id": "222b8855-c78f-49b5-8fe5-69172520cfaa",
          "patient_id": "a1194059-c064-4182-898b-efab26a5395c",
          "condition_txt": "sample string 3",
          "condition_yes_no": true,
          "relationship_to_patient_txt": "sample string 4",
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "created_by": "b54e795b-ef0c-4867-a742-ed85c6624f1d",
          "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
          "updated_by": "23ac2db5-6f7c-4878-96e4-6add11503d78",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "4"
        }
      ],
      "patientReview_SocialHistory": [
        {
          "$id": "5",
          "socialhistory_id": "0b5fde42-137c-452a-9a99-dbe03dc7aeb5",
          "patient_review_id": "c5779c80-5618-412c-affd-190544c4f807",
          "patient_id": "017fbfae-64ff-48b1-a8b3-6356cd00c0f4",
          "socialhistory_other_txt": "sample string 4",
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "created_by": "2c23ecce-b036-4d2f-9225-8156af8da1ff",
          "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
          "updated_by": "a648bb35-ad6c-415a-b1c4-4241da0b3b7f",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "5"
        }
      ],
      "ros": [
        {
          "$id": "6",
          "rosId": "c8901ce9-b68c-4878-9abe-87ae685c5bd7",
          "patient_review_id": "9c1cb2db-78cf-4d1a-ae90-953446165d40",
          "secName": "sample string 3",
          "otherTxt": "sample string 4",
          "otherHad": 1,
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "created_by": "c7bbaca7-a5d3-437f-ab6c-6f8c07f3b540",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "6"
        }
      ],
      "allergy": [
        {
          "$ref": "1"
        },
        {
          "$ref": "1"
        }
      ],
      "immunization": [
        {
          "$id": "7",
          "immunization_id": "f8f9049c-e9b2-4a8b-8cd3-2190f8ee1b29",
          "original_id": "e7bfe0c8-d4f5-4502-88f7-627c31849f48",
          "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": "2025-08-29T03:17:19.7476897+00:00",
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "record_type_txt": "sample string 10",
          "record_id": "be5f7171-e7ac-43cf-a58a-ff8e7325edf3",
          "patient_id": "fa0e220d-a977-4672-955f-1936bcfaa724",
          "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": "2025-08-29T03:17:19.7476897+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": "2025-08-29T03:17:19.7476897+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": "2025-08-29T03:17:19.7476897+00:00",
          "pid_name_of_code_sys_txt": "sample string 44",
          "pid_publicity_code_eff_dt": "2025-08-29T03:17:19.7476897+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": "91edab70-1513-45bd-847c-721c7aa58ca9",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "7"
        }
      ],
      "medicalrx": [
        {
          "$id": "8",
          "rx_id": "a61126d5-be71-4ee0-ab11-e1c1b83b9b89",
          "original_rx_id": "41637426-1654-4114-a265-d6494356b00a",
          "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": "2025-08-29T03:17:19.7476897+00:00",
          "detail_txt": "sample string 13",
          "record_id": "2ecc1fe9-db5e-4b58-a0f8-8b5a0b15dbba",
          "record_type": "sample string 15",
          "patient_id": "513f9f4e-9b74-4870-bad1-a04a4319069b",
          "created_dt": "2025-08-29T03:17:19.7476897+00:00",
          "created_by": "abb13374-725c-43b7-a1b2-7cb9fff1b467",
          "updated_dt": "2025-08-29T03:17:19.7476897+00:00",
          "updated_by": "f646fa1a-bce0-430a-98e9-6cfe57e46d7e",
          "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": "98f4895c-b8d7-4e03-90f6-34a242557079",
          "patientReview": {
            "$ref": "2"
          }
        },
        {
          "$ref": "8"
        }
      ]
    }
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.