Closed lucywilcock closed 6 years ago
A medication prescribed elsewhere is medication that is in the patient's record but that was not prescribed at the provider that is handling the GpConnect request.
This medication will therefore have no 'issue' information associated with it. It should have a single MedicationRequest with an intent of plan. This is similar to unissued medication but medication prescribed elsewhere should also have the PrescribingAgency field populated in the associated MedicationStatement.
Unless commented below, patient 12 will have medication prescribed elsewhere.
Added a new test for patient 12. This will check that any prescriptions from elsewhere (with the prescribing agency populated) have a single request with intent of plan.
This test will be need to be added to when the spec is completed - PrescribingAgency still has a TODO to do.
Leaving issue open until demonstrator is done and can be tested properly.
Demonstrator has been completed and the tests now pass. Closing.
Add a test for medications prescribed elsewhere as per the spec.