Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. This is a graphQl query method used in Administration panel only.

  2. Only authenticated and authorized NHS employee with appropriate scope can get person’s information related to unzr.

  3. The method gets result of a Job triggered by [NEW] (GraphQL) Sync UNZR info https://e-health-ua.atlassian.net/wiki/spaces/EH/pages/18213699885/draft_RC_+GraphQL+Sync+UNZR+info+DMS mutation, that stored in unzr_info table (MIMIR db)

...

  • Check it is submitted

    • in case of error - return 422 ('required property <property name> was not present')

Service logic

  1. Get unzr_info record (MIMIR DB)

  2. Render and return UnzrInfo node in response