Let NHS Trusts and CCGs choose own organisation

All we do via support is ask which organisation they work for and
manually assign their service to it. This commit makes that process self
service.

We think we have all the trusts and clinical commissioning groups
loaded into the database now.

This will make the go live process smoother for these teams.
This commit is contained in:
Chris Hill-Scott
2019-09-05 16:18:02 +01:00
parent d37566a79b
commit 8b8893ed1d
8 changed files with 178 additions and 11 deletions

View File

@@ -591,6 +591,17 @@ class AddGPOrganisationForm(StripWhitespaceForm):
field.data = ''
class AddNHSLocalOrganisationForm(StripWhitespaceForm):
def __init__(self, *args, organisation_choices=None, **kwargs):
super().__init__(*args, **kwargs)
self.organisations.choices = organisation_choices
organisations = RadioField(
'Which NHS Trust or Clinical Commissioning Group do you work for?',
)
class OrganisationOrganisationTypeForm(StripWhitespaceForm):
organisation_type = OrganisationTypeField('What type of organisation is this?')