You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the location of a vaccination record is determined from the
session it was recorded in. In most cases, this will be the same,
however there are scenarios where this is not the case:
- If the session is for the generic clinic, the location needs to be set
to one of the community clinics.
- If a nurse is marking a patient as already having had the vaccine,
this happens in a session, but the vaccination would have occurred
elsewhere.
The first case is already handled by the `location_name` column which is
a free-text field and can contain anything. This works, but is
unstructured, ideally we'd like to move to a place where we can link
these records with the locations in the database for the community
clinic. This commit gets us closer to that point.
The second case is not handled currently. Instead, when recording a
patient as having already had the vaccine, the location of the
vaccination ends up being the session that the nurse happened to use to
mark the patient as vaccinated already. In some cases this might be
correct, but in most it won't be. This commit allows us to fix the
second case, which will be done in a followup commit to this one.
0 commit comments