ЕСОЗ - публічна документація

RC_(CSI-2625) Search Encounters (GraphQL)

1. Зміни стосуються розділу “Specification“ (замінити усю схему):

 

Specification

 

"Reads and enables pagination through a set of `Encounter`" encounters( "A condition to be used in determining which values should be returned by the collection." filter: EncounterFilter! "The method to use when ordering collection items." orderBy: EncounterOrderBy "Read all values in the set after (below) this cursor." after: String "Read all values in the set before (above) this cursor." before: String "Only read the first _n_ values of the set." first: Int "Only read the last _n_ values of the set." last: Int ): EncounterConnection!
""" Fields to filter Encounter in the system. """ input EncounterFilter { "Person identifier from MPI database" personId: ID! "Encounter status" status: EncounterStatus "Episode identifier" episodeId: ID "Service request identifier" incomingReferralId: ID "The interval for searching encounter by period start" periodStart: DateInterval "The interval for searching encounter by period end" periodEnd: DateInterval }
""" A connection to a list of `Emcounter` values. """ type EncounterConnection { "Information to aid in pagination." pageInfo: PageInfo! "A list of nodes." nodes: [Encounter] "A list of edges." edges: [EncounterEdge] "Total entries found" totalEntries: Int! }

 

 

2. Зміни стосуються розділу “Search params”:

Search params

Search with a few param is performed according to the logical AND rule

  • person_id. Mandatory parameter, mpi identifier

  • status. Optional parameter

  • episode_id. Optional parameter

  • incoming_referral_id. Optional parameter

  • date_from. Optional parameter

  • date_to. Optional parameter

  • period_start_from. Optional parameter

  • period_start_to. Optional parameter

  • period_end_from. Optional parameter

  • period_end_to. Optional parameter

ЕСОЗ - публічна документація