nhsconnect / gpconnect-provider-testing

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

AccessStructuredRecordMedicationsFeature forcing basedOn to be mandatory #301

Closed KevinMayfield closed 5 years ago

KevinMayfield commented 5 years ago

(On behalf of microtest)

With a response with an authorised request for a drug (So MedicationRequest.intent = order). Testpack then tests for MedicationRequest.basedOn being populated. This appears to be wrong and unable to find documentation which says otherwise.

KevinMayfield commented 5 years ago

After speaking to GP Connect. Realise this issue is in GP Connect spec https://developer.nhs.uk/apis/gpconnect-1-2-4/accessrecord_structured_development_medication_resource_relationships.html

PeterGresty commented 5 years ago

Hi Kevin, Can this ticket be closed then?

KevinMayfield commented 5 years ago

Yes. May come back to this as we're finding the MedicationRequest model to be quite different to the internal model. (We're having to create planned MedicationRequest from issues)