---
title: "MedicalHistory"
url: "https://developers.zinnia.com/apis/new-business/versions/b8532e16-b28e-4393-9305-def50b91e40e/schemas/MedicalHistory"
---

> Full API specification: https://developers.zinnia.com/apis/new-business/versions/b8532e16-b28e-4393-9305-def50b91e40e.md

# MedicalHistory

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Zinnia New Business API.
  version: 0.9.8
servers:
  - url: https://qa.api.zinnia.io
    description: QA Environment
  - url: https://dev.api.zinnia.io
    description: DEV Environment
  - url: https://uat.api.zinnia.io
    description: UAT Environment
  - url: https://api.zinnia.io
    description: PROD Environment
components:
  schemas:
    TreatmentDetail:
      type: object
      properties:
        treatmentType:
          type: string
          enum:
            - Medication
            - Hospitalization
            - CPAP
            - Surgery
            - Chemotherapy
            - Radiation
            - Other
            - Test
            - Medication Added
            - Medication Increased
            - Quit Medication
            - None
          description: Treatment Type
        isApplicable:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for recovered status
        description:
          type: string
          description: treatment description
          example: other type of treatment
        treatmentCompletionInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for treatment completion
        otherTestRecommendInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for other test recommendation
        complicationsInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for treatment complication
        dateLastSeen:
          type: string
          format: date
          description: Last seen date for treatment observation
        medication:
          type: string
          description: treatment description
          example: prescribed pain meds
        treatmentStartDate:
          type: string
          format: date
          description: treatmentStartDate in 'YYYY-MM-DD' format.
    SubstanceUsage:
      type: object
      properties:
        substanceType:
          type: string
          enum:
            - Drug
            - Alcohol
          description: Type of substance
        substanceTypeDesc:
          type: string
          description: Type of substance description
          example: Cocaine
        frequency:
          type: string
          enum:
            - Per Day
            - Per Week
            - Per Year
            - Per Month
            - Per Lifetime
            - Random
            - Single
            - Other
            - Unknown
          description: Violation date
          example: Per Day
        substanceAmount:
          type: string
          description: Amount of substance
          example: "2"
    MedicalHistory:
      type: object
      properties:
        conditionType:
          type: string
          enum:
            - None
            - Substance Abuse
            - Drug Abuse
            - Alcoholism
            - Self Help
            - Arthritis
            - Ankylosing Spondylitis
            - Myositis
            - Rheumatoid Arthritis
            - Scleroderma
            - SLE
            - Granulomatosis
            - Benign Tumor
            - Brain Tumor
            - Colon Polyps
            - Insitu Melanoma
            - Insitu Breast
            - Ovarian Cyst
            - Blood Disorder
            - Aplastic Anemia
            - Clotting Disorder
            - Essential Thrombocytosis
            - Hemochromatosis
            - Low Platelets
            - Polycythemia Vera
            - Cancer
            - Breast Cancer
            - Colon Cancer
            - Leukemia
            - Lymphomas
            - Lung Cancer
            - Melanoma
            - Ovarian Cancer
            - Pancreatic Cancer
            - Prostate Cancer
            - Skin Cancer
            - Testicular Cancer
            - Alzheimer Disease
            - ALS
            - Cerebral Palsy
            - Epilepsy
            - Multiple Sclerosis
            - Paraplegia
            - Stroke
            - Endocrine Disorder
            - Addisons Disease
            - Cushings Disease
            - Hyperparathyroidism
            - Hyperthyroidism
            - Pituitary Disorder
            - Thyroid Nodule
            - Hypothyroidism
            - Liver Disorder
            - Autoimmune Hepatitis
            - Barrett Esophagus
            - Chronic Pancreatitis
            - Liver Cirrhosis
            - Crohns Disease
            - Hepatitis B
            - Hepatitis C
            - Liver Enzymes
            - Ulcerative Colitis
            - Heart Disorder
            - Abnormal Heart
            - Aneurysm
            - Brain Aneurysm
            - Thrombosis
            - Coronary Disease
            - Heart Attack
            - Heart Failure
            - Cardiomyopathy
            - Heart Valve
            - HBP
            - Pacemaker
            - Kidney Disorder
            - Kidney Infection
            - Glomerulonephritis
            - Kidney failure
            - PKD
            - Blood Urine
            - Self Catheterization
            - Respiratory Disorder
            - Asthma
            - COPD
            - Sleep Apnea
            - Mens Health
            - PSA
            - Enlarged Prostate
            - Metabolic Disorder
            - High Cholesterol
            - Diabetes Type1
            - Diabetes Type2
            - Prediabetes
            - Psychiatric Illness
            - ADHD
            - Anxiety
            - Bipolar Disorder
            - Depression
            - Eating Disorder
            - PTSD
            - Schizophrenia
            - UnspecifiedHIV
            - AIDS
            - ARC
            - HIV
            - Womens Health
            - Abnormal Mammogram
            - Abnormal Pap
            - Brain Disorder
            - Cystic Fibrosis
            - Pulmonary Fibrosis
            - Chronic Kidney Disease
            - OCD
            - Psychosis
            - DrugAlcohol
            - Pulmonary Hypertension
            - Deep Vein Thrombosis
            - Heart Disorder None Apply
            - Metabolic Disorder None Apply
            - Endocrine Disorder None Apply
            - Respiratory Disorder None Apply
            - Kidney Disorder None Apply
            - Psychiatric Illness None Apply
            - Womens Health None Apply
            - Liver Disorder None Apply
            - Brain Disorder None Apply
            - Arthritis None Apply
            - Blood Disorder None Apply
          description: Medical condition questions
        isApplicable:
          type: string
          enum:
            - Yes
            - No
          description: Indicator flag for medical history questions
        treatmentInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for treatment indicator
        recoveredStatus:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for recovered status
        stage:
          type: string
          description: Condition Stage
          example: Stage 1
        organCancerSpreadInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for organ cancer spread
        basalSquamousSkinCancerInd:
          type: string
          enum:
            - Yes
            - No
          description: Indicator flag for basal or squamous cell skin cancer
        resultsKnownInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for test result value
        bipolarSuicideInd:
          type: string
          enum:
            - Yes
            - No
          description: Indicator flag for bipolar Suicide
        motorAccidentInd:
          type: string
          enum:
            - Yes
            - No
          description: Indicator flag for motar accident
        resultsReading:
          type: string
          description: Results reading
          example: "70"
        resultsReadingDate:
          type: string
          format: date
          description: Last result reading date
        diagnosisDate:
          type: string
          format: date
          description: Treatment Date
        systolicBPReading:
          type: string
          description: BP reading upper
          example: "140"
        diastolicBPReading:
          type: string
          description: BP reading lower
          example: "70"
        yearOfFirstSeizure:
          type: string
          description: Year of first seizure in case of epilepsy
          example: "2001"
        dateOfLastSeizure:
          type: string
          format: date
          description: Last Seizure date if applicable
        numberOfSeizure:
          type: string
          description: number of seizure in past year. Maximum value applicable is 10.
          example: "6"
        raLmtdFingToesInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for Rheumatoid arthritis limitation
        workSchlHmActRAInd:
          type: string
          enum:
            - Yes
            - No
            - Unknown
          description: Indicator flag for Rheumatoid arthritis life impact
        treatmentDetail:
          type: array
          items:
            $ref: "#/components/schemas/TreatmentDetail"
        substanceUsage:
          type: array
          items:
            $ref: "#/components/schemas/SubstanceUsage"
```
