Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

Page Properties

Link

graphQl query method

Посилання на Apiary або Swagger

Resource

graphQl query method

Посилання на ресурс, наприклад: /api/persons/create

Scope

medication_registry_job:read

Scope для доступу

Components

Eprescription

Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: ePrescription

Microservices

API paragraph not found

Перелік мікросервісів, які використовує метод API, наприклад: Auth, ABAC

Protocol type

API paragraph not found

Тип протоколу, який використовується запитом, наприклад: SOAP | REST

Request type

API paragraph not found

Тип запиту API, наприклад: GET, POST, PATCH…

Sync/Async

API paragraph not found

Метод є синхронним чи асинхронним?

Public/Private/Internal

Internal

Потрібно зазначити тип методу за ступенем доступності

Expand
titleSpecification for medicationRegistryJobsQuery
Code Block
languagegraphql
  "Reads and enables pagination through a set of `MedicationRegistryJob`."
  medicationRegistryJobs(
    "A condition to be used in determining which values should be returned by the collection."
    filter: MedicationRegistryJobFilter
    "The method to use when ordering collection items."
    orderBy: MedicationRegistryJobOrderBy
    "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
  ): MedicationRegistryJobConnection!
Code Block
languagegraphql
"""
Filter for Medication registry job.
"""
input MedicationRegistryJobFilter {
  "Medication registry job status filters."
  status: JobStatus
}

"""
List of fields to sort both asc and desc side `MedicationRegistryJob`.
"""
enum MedicationRegistryJobOrderBy {
  "Sort Medication registry job by started at in ascending order"
  STARTED_AT_ASC
  "Sort Medication registry job by started at in descending order"
  STARTED_AT_DESC
}

"""
A connection to a list of `MedicationRegistryJob` values.
"""
type MedicationRegistryJobConnection {
  "Information to aid in pagination."
  pageInfo: PageInfo!
  "A list of nodes."
  nodes: [MedicationRegistryJob]
  "A list of edges."
  edges: [MedicationRegistryJobEdge]
}

"""
Reads and enables pagination through a set of `MedicationRegistryJob`.
"""
type MedicationRegistryJobEdge {
  "The item at the end of the edge."
  node: MedicationRegistryJob!
  "A cursor for use in pagination."
  cursor: String!
}

"""
An object for MedicationRegistryJob.
"""
type MedicationRegistryJob implements Node {
  "The ID of an object"
  id: ID!
  "Primary key identifier from the database"
  databaseId: UUID!
  "Job name."
  name: String
  "Medication registry Job status."
  status: JobStatus!
  "Job execution strategy."
  strategy: JobStrategy!
  "Date and time when the job starts."
  startedAt: DateTime!
  "Date and time when the job ends."
  endedAt: DateTime
  "Tasks within this job."
  tasks(
    "A condition to be used in determining which values should be returned by the collection."
    filter: TaskFilter
    "The method to use when ordering collection items."
    orderBy: TaskOrderBy
    "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
  ): TaskConnection!
  "Type of register originating medication registry data. The value should be present in the `REGISTER_TYPE` dictionary."
  registerType: String!
  "Medication registry job reason description."
  reasonDescription: String!
}

...