Versions Compared

Key

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

...

Creating "a replacement" composition

Specification

Link

Swagger Link (2.32.2)

Resource

/patients/{patientId}/composition/{compositionId}/episode/{episodeId}/encounter/{encounterId}/printForm

Scope

composition:read

Components

Compositions, MAN

Microservices

API paragraph not found

Protocol type

REST

Request type

GET

Sync/Async

Async

Public/Private/Internal

Public

...

  • IF it is valid

    • THEN the process continues

    • ELSE an error is returned.

Processing*

  1. Before collecting data from the composition, access to the composition according to the data from the request is checked:

    1. IF access allowed

      1. THEN data collect

      2. ELSE access error message

  2. After requesting a template from the MAN component, the response is checked:

    1. IF template received in response

      1. THEN print form generated in response to MIS

      2. ELSE template error message

Response structure

...

See on SwaggerHub (2.32.2)

...

Expand
titleResponse example
Code Block
      responses:
        '200':
          description: 'Форма присутня'
          content:
            text/plain:
              schema:
                type: string
                description: 'Тіло форми для друку'

HTTP status codes

...

HTTP status code

Message

What caused the error

 200

 

 Form exists

 404

 

 Form not found