nhsconnect / gpconnect-provider-testing

GP Connect automated test suite for API providers
Apache License 2.0
11 stars 5 forks source link

Testing issues On Medications in Structured Records #309

Closed KevinMayfield closed 5 years ago

KevinMayfield commented 5 years ago

We have noticed the following rule which doesn't seem to make sense for repeats:

the MedicationStatement BasedOn should not be null and should refer to MedicationRequest with intent Plan

Our plan (MedicationRequest) would be based on the first issue and our statement (current status) will most often be a summary based on the last issue.

For all prescription types it seems wrong to say the Statement was based on the plan (unless the drug hasn't been issued), it should say which issue(s) it was based on.

KevinMayfield commented 5 years ago

Closing after feedback from microtest