Help with graphql search
# support
c
Hi @rahul1 @reshma , we are currently exploring the medplum graphql for some of our needs and facing a problem with a query and need your help . we have query like this trying to replicate with graphql
Copy code
Patient?_has:EpisodeOfCare:patient:care-manager=Practitioner/12d480bb-4445-4c7e-91d1-cf6332b05010&organization=Organization/755d2b16-1958-4065-b59b-94cd26857abd&name:contains=us&_total=accurate
our current graphql query looks like this
Copy code
{
  PatientList(
    _count: 10
    _filter: "name co us"
    organization: "Organization/755d2b16-1958-4065-b59b-94cd26857abd"
    
  ) {
    resourceType
      id
      name { given family }
      birthDate
      identifier{system value}
      photo {
        url
      }
    managingOrganization { reference display }
      
      
  }
}
we need help with the reverse chaining of care-manager and also how to get the accurate count in the response.
192 Views