nhsconnect / gpconnect-provider-testing

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

medicationRequest intent = Order AND status repeat/repeatDispense bundle checking #312

Open Sado1234 opened 5 years ago

Sado1234 commented 5 years ago

Relates to demonstrator ticket https://github.com/nhsconnect/gpconnect-demonstrator/issues/279

Decision has been made not to add this to the 1.3.1 release at this stage due to time constraints but to add this a a 'nice to have' list 

Once demonstrator has been implenmented will need to add these checks to the automation suite. Currently being tested manually.

1) includeConsultations request - when a patient has a consultation linked to a medicationRequest with intent = order AND status = repeat

2) includeConsultations request - when a patient has a consultation linked to a medicationRequest with intent = order AND status = repeat dispense

3) I've added this one because requires test data to be enhanced includeProblem - patient data required to return a Problem resourceType when the includeStatus and/or includeSignificance filters are applied, currently only returning data when active and major and active and minor (SF changed on 279) combination applied, which means not able to check the content of the returned bundle