ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
179 stars 110 forks source link

plan should be assigned right away after creating an account if the account is enabled #937

Closed ppazos closed 6 years ago

ppazos commented 6 years ago

Now the account is created, then edited to add a plan.

The plan can be setup when the account is created and enabled.

Related: when a plan is assigned, it is INACTIVE, and a Job makes it active, that takes some time.

  1. Move the logic from the job to a service
  2. Use the service also to assign plans right away