FreeHealth / freehealth

Free and open source Electronic Health Record
https://freehealth.io
Other
44 stars 16 forks source link

Missing weight & prescription #84

Open jeromecc opened 7 years ago

jeromecc commented 7 years ago

If no weight is available, token Patient.Metrics.WeightInGrams returns 0. Then if we use something like {{~Patient.Metrics.WeightInGrams~ grams}} It will print:

0 grams

In this situation, should we return "Unknown weight grams" or nothing? If the token returns nothing, nothing will be printed. It the token returns "Unknown weight", "Unknown weight grams" will be printed.

It could be a way of pointing out to the doctor that no weight is recorded in the EHR, which is probably wrong. Another way of warning about this would be to to print a warning when a doctor tries to print a prescription for a patient that has no recorded weight...