Skip to content

Commit

Permalink
quick fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Jul 8, 2024
1 parent ec6da3e commit 1a3868f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public Module clone() {
public static final Code[] DR_STAGE_CODES = {
/* 0 */ new Code("LOINC", "LA18643-9", "No apparent retinopathy"),
/* 1 */ new Code("LOINC", "LA18644-7", "Mild non-proliferative retinopathy"),
/* 2 */ new Code("LOINC", "LA18644-7", "Moderate non-proliferative retinopathy"),
/* 2 */ new Code("LOINC", "LA18645-4", "Moderate non-proliferative retinopathy"),
/* 3 */ new Code("LOINC", "LA18646-2", "Severe non-proliferative retinopathy"),
/* 4 */ new Code("LOINC", "LA18648-8", "Proliferative retinopathy")
};
Expand Down Expand Up @@ -66,7 +66,7 @@ public boolean process(Person person, long time) {
// https://www.mdpi.com/2077-0383/13/3/676
if (highIop || (drStage == 4 && person.rand() < 0.001)) {
// very small chance of this happening
person.attributes.getOrDefault("high_iop", true);
person.attributes.put("high_iop", true);

if (person.record.medicationActive("1923432") || person.record.medicationActive("861204")) {
// dorzolamide 20 MG/ML / timolol 5 MG/ML Ophthalmic Solution
Expand Down

0 comments on commit 1a3868f

Please sign in to comment.