Versions Compared

Key

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

...

Page Properties

Link

graphQl method

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

Resource

graphQl method

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

Scope

diagnoses_group:write

Scope для доступу

Components

Medical events

Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: 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 createDiagnosesGroup
Code Block
languagegraphql
 "Creates a single `DiagnosesGroup`."
  createDiagnosesGroup(
    input: CreateDiagnosesGroupInput!
  ): CreateDiagnosesGroupPayload
Code Block
languagegraphql
"""
Input for `createDiagnosesGroup` mutation.
User must have a scope **diagnoses_group:write**
"""
input CreateDiagnosesGroupInput {
  "The name of the `DiagnosesGroup`."
  name: String!
  "The description of the `DiagnosesGroup`."
  code: String!
  "The code of the `DiagnosesGroup`."
  description: String
  "Codes wich belong to `DiagnosesGroup`."
  diagnosesGroupCodes: [CodingInput]
}
Code Block
languagegraphql
"""
Return type for `createDiagnosesGroup` mutation.
"""
type CreateDiagnosesGroupPayload {
  "Created `DiagnosesGroup`."
  diagnosesGroup: DiagnosesGroup
}

...