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...
If no weight is available, token Patient.Metrics.WeightInGrams returns 0. Then if we use something like {{~Patient.Metrics.WeightInGrams~ grams}} It will print:
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...