Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

   Let result:GLIFDecisionResult =

  if not vmr.vitals.pulseRate.oclIsDefined() and not vmr.patient.dob.oclIsDefined() then
    GLIFDecisionResult{Question = q,Answer = unknown, Reason = "No pulse rate or age information",Weight = aWeight}
      else
       If isTachycardic and ageInYears >= factory.PQ(75, 'yr')
         then
          GLIFDecisionResult{Question = q,Answer = true, Reason = "Patient is tachycardic and aged over 75 years",Weight = aWeight}
        else
        GLIFDecisionResult{Question = q,Answer = false, Reason = "Patient is not tachycardic and aged oiverover 75 years",Weight = aWeight}
      endif
  endif

result

...