Using ChatGPT To Build DMN models Automatically - Gnorion/BizVR GitHub Wiki

image image image image image

Generate a Camunda DMN model in XML format using the "normal" ranges listed below. Add rules to handle values outside the normal range (low and high). For each, set an output variable named for the input plus "-result". Use the measurement units in the condition heading. eg. Ammonia (ฮผg/dL). Use the range notation eg [lower..upper]. Create additional tables to summarize the result of the individual tables in their respective groupings and flag any abnormal results. Include all of the tables Include all the diagram elements including input sources

Chemistry Normal Ranges

Ammonia: 40โ€“70 ฮผg/dL

Ceruloplasmin: 25โ€“43 mg/dL

Chloride: 95-105 mmol/L

Copper: 100โ€“200 ฮผg/dL

Creatinine: 0.8-1.3 mg/dL

Blood urea nitrogen: 8โ€“20 mg/dL

Ferritin: Female: Female: 24โ€“307 ng/mL; male: 24โ€“336 ng/mL

Glucose:70โ€“99 mg/dL

Inorganic phosphorous: 3-4.5 mg/dL

Ionized calcium: 1.12โ€“1.23 mmol/L

Magnesium: 1.6โ€“2.6 mg/dL

Phosphate: 2.5 to 4.5 mg/dL (0.81 to 1.45 mmol/L)

Potassium: 3.5โ€“5.0 mEq/L

Pyruvate: .08-0.16 mmol/L

Sodium: 136โ€“145 mEq/L

Total calcium: 2-2.6 mmol/L (9-10.5 mg/dL)

Total iron-binding capacity: 250โ€“310 ฮผg/dL

Total serum iron: 50โ€“150 ฮผg/dL

Transferrin: 200โ€“400 mg/dL

Urea: 1.2-3 mmol/L

Uric acid: 0.18-0.48 mmol/L

Zinc: 75โ€“140 ฮผg/dL

Hematology Normal ranges

Hemoglobin: Female: 12โ€“16 g/dL; male: 14โ€“18 g/dL

Hematocrit Female: 37%โ€“47%; male: 42%โ€“50%

Glycosylated hemoglobin 4.0%โ€“5.6%

Mean corpuscular volume (MCV): 80โ€“98 fL

Red blood cell distribution width (RDW): 9.0%โ€“14.5%

Mean corpuscular hemoglobin (MCH): 28โ€“32 pg

Mean corpuscular hemoglobin concentration (MCHC): 33โ€“36 g/dL

Reticulocytes 0.5%โ€“1.5% of red cells

White blood cells (WBC) 4-10 x 109/L

Neutrophils: 2-8 x 109/L

Bands: < 1 x 109/L

Lymphocytes: 1000 to 4800/mcL (1 to 4.8 ร— 109/L)

Monocytes: 0.2-0.8 x 109/L

Eosinophils: .000-0.600 th/uL (0-6%)

Platelets: 150,000-350,000/ยตL (150-350 x 109/L)

Prothrombin time: 11โ€“13 seconds

International normalized ratio (INR): 0.9-1.2

Activated partial thromboplastin time (aPTT): 25โ€“35 seconds

Fibrinogen: 150-350 mg/dL (1.5-3.5 g/L)

Bleeding time: ห‚8 minutes

Lipids Normal ranges

Triglycerides: ห‚150 mg/dL

Total cholesterol: ห‚200 mg/dL

High-density lipoprotein (HDL): Female: ห‚50 mg/dL; male: ห‚40 mg/dL

Low-density lipoprotein (LDL): ห‚100 mg/dL

Acid base Normal ranges

pH: 7.38โ€“7.44

Base excess: (-3)-(+3)

H+: 36-44 nmol/L

Partial pressure of oxygen (pO2): 75-100 mm Hg

Oxygen saturation: โ‰ฅ95%

Partial pressure of carbon dioxide (pCO2): 35-45 mm Hg

Bicarbonate (HCO3): 23โ€“26 mEq/L

Gastrointestinal function Normal ranges

Albumin: 3.5โ€“5.5 g/dL

Alkaline phosphatase: 30โ€“120 U/L

Alanine aminotransferase (ALT): 10โ€“40 U/L

Amylase: 25โ€“125 U/L (80โ€“180 [Somogyi] units/dL)

Aspartate aminotransferase (AST): 10โ€“40 U/L

Direct bilirubin: 0.1โ€“0.3 mg/dL

Gamma glutamyl transferase: Female: 8โ€“40 U/L; male: 9โ€“50 U/L

Lipase: 10โ€“140 U/L

Total bilirubin: 0.3โ€“1.0 mg/dL

Total protein: 5.5โ€“9.0 g/dL

Cardiac enzymes Normal ranges

Creatine kinase: Female: 30โ€“135 U/L; male: 55โ€“170 U/L

Creatine kinase MB (CKMB): ห‚5% of total

Troponin: โ‰ค0.04 ng/mL

Hormones Normal ranges

17 hydroxyprogesterone (female, follicular): ห‚80 ng/dL

Adrenocorticotropic hormone (ACTH): 10โ€“60 pg/mL

Estradiol: 20โ€“50 pg/mL (male), 10โ€“180 pg/mL (female, follicular), 40โ€“200 pg/mL (female, luteal), ห‚10 pg/mL (postmenopausal)

Free T3: 2.3โ€“4.2 pg/mL

Free T4: 0.8โ€“1.8 ng/dL

Follicle-stimulating hormone (FSH): 1โ€“7 mIU/mL (1โ€“7 U/L) (male), 2โ€“9 mIU/mL (2โ€“9 U/L) (female, follicular/luteal), 4โ€“22 mIU/mL (4โ€“22 U/L) (female, ovulation), >30 mIU/mL (>30 U/L) (postmenopause)

Growth hormone (fasting) : 0-5 ng/mL

Progesterone: 70-280 (ovulation), ng/dL

Prolactin: ห‚20 ng/mL

Testosterone (male): 291โ€“1100 ng/dL

Thyroxine-binding globulin: 12โ€“27 ยตg/mL

Thyroid-stimulating hormone (TSH): 0.5โ€“4.0 ฮผU/mL (0.5โ€“4.0 mU/L)

Total T4, adult: 5โ€“12 ฮผg/dL

Total T3: 80โ€“180 ng/dL

Free T3: 2.3โ€“4.2 pg/mL

Vitamins Normal ranges

Folate (serum) : 1.8โ€“9.0 ng/mL

Vitamin A: 32.5โ€“78.0 ฮผg/dL

Vitamin B12: 200โ€“800 pg/mL

Vitamin C: 0.4-1.5 mg/dL

Vitamin D: 5-75 ng/mL

Tumor markers Normal ranges

Alpha fetoprotein: 0-44 ng/mL

Beta human chorionic gonadotropin (HCG): Female, premenopausal nonpregnant: ห‚1.0 U/L; female, postmenopausal: ห‚7.0 U/L; male: ห‚1.4 U/L

CA19.9: 0โ€“37 U/mL

Carcinoembryonic antigen (CEA): ห‚2.5 ng/mL

Prostatic acid phosphatase (PAP): 0-3 U/dL

Prostate-specific antigen (PSA): ng/mL; no specific normal or abnormal level

Miscellaneous normal ranges:

Alpha 1-antitrypsin: 83-199 mg/dL

Angiotensin-converting enzyme: 8โ€“53 U/L

C-reactive protein: < 0.5 mg/dL

D-dimer: โ‰ค 300 ng/mL (300 ยตg/L)

Erythrocyte sedimentation rate (ESR): Females 0-20 mm/h; Males 0-15 mm/h

Lactate dehydrogenase (LDH): 60-160 U/L

Lead: < 40 ยตg/dL

Rheumatoid factor: < 40 U/mL