Some drugs are not associated to a prescription id and are both included as drugs, other time included as observations.
This PR tried to handle both cases.
Major modifications:
route now is passed as route_source_value and than matched to a concept_id in concept_lookup. If that is None than it will try to fetch it from Prescription.epaspresadmroute (if a prescription id is associated to the current admninistration)
conversion now can be directly a float. I think that the more quantifiable clinical drug we have the more conversion options we will have and I think it makes it much more readable if we can directly put the conversion factor in the column . Still the option of putting "recipe__ANYRECIPE" is available.
Some drugs are not associated to a prescription id and are both included as drugs, other time included as observations.
This PR tried to handle both cases.
Major modifications: