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
Hi @adam.oldfield ,
Just following up. Is there any way to ensure that this information can be consistently retrieved? We have just found another instance of this data (specialty/clinic type) not being passed through when a work item has been cancelled.
Kind regards,
Ankur
Hi @ankur.mahto -
The clinical context (specialty/clinic type) cannot be resolved in every case.
There are a few reasons for this:
(1) When a service is created on e-RS, it has to be set against one specific specialty, but the clinic types can be a one-to-many relationship.
(2) If a service search has been carried out using ‘Clinical Term’ or ‘Named Clinician’, this can result in services across specialties (and therefore clinic types)
Where you are seeing the clinic type on the e-RS web app, the user has only used specialty/clinic type as the search method.
When a user hasn’t used this method, you will not see any clinical context, e.g.
Hope that helps.
Thanks,
Z.