In several eCRs, the Administered Medications (Clinical Info) section does not display available medication name information. Please fix the FHIR conversion templates to ensure that all available medication name info gets properly converted and displayed in the eCR Viewer.
NOTE: This ticket only deals with the missing medication names. Other tickets are being written to dates not being displayed/other fields that are missing from the eCR Viewer.
Medication name: under consumable -> manufatcturedMaterial -> code -> originalText -> reference -> value -> Would need to grab reference value (rxmed-1)
Medication name: under consumable -> manufatcturedMaterial -> code -> originalText -> reference -> value -> Would need to grab reference value (rxmed-1)
Medication name: under consumable -> manufatcturedMaterial -> code -> originalText -> reference -> value -> Would need to grab reference value (med32)
Expected Result
If Administered Medication names are available, it should be displayed under Clinical Info -> Treatment Details -> Administered Medications.
Actual result
Example from 2ff3119d-b933-4236-8746-53726e291449:
Priority
Provide an estimate for level of impact the bug has today by placing an X in the applicable bracket
Priority
[ ] Low priorityThe bug does not have to be fixed immediately. High and medium priority bugs should be addressed first.
[ ] Medium priorityTypically, medium-priority bugs do not affect customers directly and therefore can be fixed in the normal course of testing and development.
[x] High priorityHigh priority bugs must be addressed immediately. They often affect the app’s functionality and impact customers and their user experience. They must take priority.
Notes
FHIR conversion & updating seed data is likely required.
Context: We need to fix how medication names are being converted. Right now, medication names are not being added to the FHIR bundle, and therefore medications with no names are put into the Unavailable Info section (see: evaluateAdministeredMedication).
Description
In several eCRs, the Administered Medications (Clinical Info) section does not display available medication name information. Please fix the FHIR conversion templates to ensure that all available medication name info gets properly converted and displayed in the eCR Viewer.
Relevant Files:
Header.liquid
->Resource/_Medication.liquid
->DataType/_CodeableConcept.liquid
->DataType/_Coding.liquid
NOTE: This ticket only deals with the missing medication names. Other tickets are being written to dates not being displayed/other fields that are missing from the eCR Viewer.
Steps to reproduce
Example eCRs:
rxmed-1
)rxmed-1
)med32
)Expected Result
If Administered Medication names are available, it should be displayed under Clinical Info -> Treatment Details -> Administered Medications.
Actual result
Example from
2ff3119d-b933-4236-8746-53726e291449
:Priority
Provide an estimate for level of impact the bug has today by placing an X in the applicable bracket
Priority
Notes
FHIR conversion & updating seed data is likely required.
Context: We need to fix how medication names are being converted. Right now, medication names are not being added to the FHIR bundle, and therefore medications with no names are put into the
Unavailable Info
section (see:evaluateAdministeredMedication
).