I am running into an issue where attributes such as “clinicType” are sometimes missing when pulling work items via API. Majority of calls do return the clinic type but there have been multiple instances where the attribute isn’t present. However, the clinic type can be seen on the e-RS web app.
Why is this happening?
Hi @ankur.mahto,
Is this just for a single worklist or across a number? What worklists are affected?
Thanks.
Hi @adam.oldfield ,
I believe these work items are from the Referrals for Review worklist. We are doing an A005 to pull the referral details, and the clinic type in some work items is not being provided. Our solution only uses Referrals for Review, so we have not checked against other worklists.
Hi @ankur.mahto,
Can you confirm what field from the A005 response you are expecting to find the clinic type in?
Thanks.
Hi @ankur.mahto,
Do you still need assistance?
Thanks.
Hi @adam.oldfield ,
We are looking for the clinic type in the serviceSearchCriteria section of the response.
Kind regards,
Ankur
Hi @ankur.mahto,
The Service Search Criteria in the response indicates the search criteria used to find the services on the shortlist. This is the criteria initially passed to Patient service search (A010, FHIR STU3). There is no guarantee that Clinic Type was used as a search criteria when creating the shortlist.
When searching for services you must at a minimum provide one of:
- Specialty and Clinic Type
- Clinical Term
- Named Clinician
The most frequently used search criteria is Specialty and Clinic Type, but it is not mandated so may not always be present.
@zubeir.tai FYI in case you have more to add.
Regards,
Adam.
Hi @adam.oldfield,
Thanks for the information. If I did want to fetch the clinic type for a referral successfully every time, what would be the best approach? Where would I be able to always find that information?
Kind regards,
Ankur