Closed fredkingham closed 6 years ago
raised by @michaeledwardmarks
The reason for this is appears to be that a combination of 2 things.
https://github.com/openhealthcare/opal/blob/v0.10.0/opal/models.py#L774
and
https://github.com/openhealthcare/elcid/blob/v0.7.0/elcid/assets/js/elcid/controllers/diagnosis_hospital_number.js#L76
We don't actually change the the category on discharge.
For teams with no sub tag, this 'just works' when we run set tag names, there are no tags and the episode is set to inactive.
For teams with a sub tag we never open a new episode.
This is supposed to be done at https://github.com/openhealthcare/opal/blob/v0.10.0/opal/templates/_includes/discharge_form.html#L4 but this value is not put onto the episode.
raised by @michaeledwardmarks
The reason for this is appears to be that a combination of 2 things.
https://github.com/openhealthcare/opal/blob/v0.10.0/opal/models.py#L774
and
https://github.com/openhealthcare/elcid/blob/v0.7.0/elcid/assets/js/elcid/controllers/diagnosis_hospital_number.js#L76
We don't actually change the the category on discharge.
For teams with no sub tag, this 'just works' when we run set tag names, there are no tags and the episode is set to inactive.
For teams with a sub tag we never open a new episode.
This is supposed to be done at https://github.com/openhealthcare/opal/blob/v0.10.0/opal/templates/_includes/discharge_form.html#L4 but this value is not put onto the episode.