nhsconnect / gpconnect-demonstrator

GP Connect demonstrator is a reference implementation of a GP Connect providing system and a consumer system demonstration
https://orange.testlab.nhs.uk/
Apache License 2.0
17 stars 9 forks source link

1.2.0 - Medications prescribed elsewhere #72

Closed lucywilcock closed 6 years ago

lucywilcock commented 6 years ago

Add a patient who has medications prescribed elsewhere and ensure the bundle is returned correctly as per the latest spec.

lucywilcock commented 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.

Create and populate the request for patient 12 (or another patient who already has medications if you prefer). Be sure to update the Test Suite Prerequisite file with this new requirement. Please comment on test suite issue 57 if not using patient 12.

damian-answ commented 6 years ago

changes on branch: MedicationPrescribedElsewhere-72

lucywilcock commented 6 years ago

A couple of things.

In MedicationStatementResourceProvider:

damian-answ commented 6 years ago

updated and merged to develop

lucywilcock commented 6 years ago

This looks good. Leaving closed