As part of Option 3 Marcelle proposed here, we'll be removing the perpetual mapping and unmapping of clinical service field abbreviations (e.g. lrtc) to values like conditions and medications. To support this work, we need to assign each ValueSet in the DB its appropriate DibbsDisplayType at the DB level. The scope of this ticket is carrying out this work in two migrations:
We'll write a migration that adds the DibbsDisplayType column to the valuesets table
We'll write a migration that fills in this field for each row of the valueset table by mapping the value currently stored in the type column (which holds a clinical service abbreviation code) to its appropriate DisplayType.
As part of Option 3 Marcelle proposed here, we'll be removing the perpetual mapping and unmapping of clinical service field abbreviations (e.g.
lrtc
) to values likeconditions
andmedications
. To support this work, we need to assign each ValueSet in the DB its appropriate DibbsDisplayType at the DB level. The scope of this ticket is carrying out this work in two migrations:type
column (which holds a clinical service abbreviation code) to its appropriate DisplayType.