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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

updateExisting method: createComposition

Implemented changes:

Processing

  1. Validation before createComposition task

  2. Prechecks - Initial checks of request input data

  3. Encounter Processing - Receiving and processing medical records (Encounter)

  4. Employee Processing - Receiving and processing Employee record (Composition.author)

  5. Division Processing - Receiving and processing Division record (Employee Division)

  6. Legal Entity Processing - Receiving and processing Legal Entity record (Employee Legal Entity)

  7. Subject Processing - Receiving and processing Subject record

  8. Focus Processing - Receiving and processing Focus record

  9. Use prefix from configuration instead of first 4 symbols: {{composition_type}}_TITLE_PREFIX (ex. NEWBORN_TITLE_PREFIX). If prefix can't be get from chart-parameters: Return 500 error

  10. getSmsPhoneNumber - Receiving phone number for sending SMS about creation of composition

  11. Saving the record of the Сomposition into database

  12. Task status updating in DONE

  • No labels