Versions Compared

Key

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

...

  1. Only authenticated and authorized DOCTOR or SPECIALIST with appropriate speciality pointed in config can create a Care plan.

  2. Care plan can be created from MSP, PRIMARY_CARE or OUTPATIENT legal entity.

  3. Care plan can be created for persons and prepersons.

  4. Care plan should be signed with DS.

  5. Care plan creates in async way as all MEs.

  6. Activities are added to a Care plan using Create Care Plan activitiesactivity method. Thus, Care plan is being initially created without activities.

...

  • Get patient_id from URL

  • Validate person\preperson status is active

    • in case of error - return 409 ('Person is not active')

  • Validate person'sverification_status is not equal to NOT_VERIFIED.

    • in case of error return 409, "Patient is not verified"

  • Hash patient_id and store into the field $.subject

...

...

If patient not a preperson and his default authentication method determined by Determination of a default authentication method and return person's active auth_methods is OTP or third_person.OTP, send SMS to that patient with requisition number.

...