I am in the process of integrating a DeviceRequest resource for FHIR.
Using the custom skeleton module created by @adunsulag, I have set up the database and the functionality to access a GET request endpoint to pull all the DeviceRequest resources.
This is a sample bundle request.
I am having difficulty on how exactly to create the DeviceRequest data to associate with a patient, or a group or location. My higher level view is to integrate OpenEMR with a SMART app that is already created but I need to add the DeviceRequest data in OpenEMR first.
The way I’m seeing it right now is to possibly create some sort of UI in the Patient dashboard or elsewhere so that the practitioner or whoever is making the request can add the DeviceRequest data and store it. I’m having an issue as to where to look to create that UI for reference.
Any push in the right direction is appreciated.