Valueset
Definition
A valueset in Care is a named list of allowed codes that you can use again in many places. For example, a valueset holds all the codes for a type of allergy. Other parts of Care point to a valueset by name instead of listing each code by hand. A Choice question in a questionnaire and a diagnosis code in a condition both get their codes from a valueset.
Key Attributes
| Components | What it captures |
|---|---|
| Name | The name of the valueset. Care requires this. |
| Slug | A short identifier that is unique in Care. Care requires this. |
| Description | Text that explains the purpose of the valueset. This is optional. |
| Status | The stage of the valueset in its life. Care requires this. |
| Include rules | The rules that add codes to the valueset. |
| Exclude rules | The rules that remove codes from the valueset. |
| System | Shows if the valueset comes with Care. Care sets this value. |
Include rules and exclude rules
Together, the include rules and the exclude rules decide which codes belong to the valueset.
Each rule selects one code system, for example LOINC, SNOMED, or UCUM. A rule can also give a version of that code system. The rule then does one of two things:
- The rule lists the exact codes to use.
- The rule sets a filter, for example all codes that are a type of X.
Status
| Status | Description |
|---|---|
| Active | The valueset is ready for use in Care. |
| Draft | The valueset is still in preparation. |
| Retired | The valueset is no longer for use. |
| Unknown | The stage of the valueset is not known. |
Who can change a valueset
Only a superuser can create, change, or retire a valueset. Any signed-in user can search a valueset and use its codes, for example to answer a question in a form.
Note: The valueset pages show the same controls to every user. Care accepts a change only from a superuser.
Related
- Flow: Create a valueset
- Flow: Build include and exclude rules
- Flow: Preview a valueset before saving
- Flow: Update or retire a valueset
- Concept: Questionnaire
- Concept: Observation Definition
- Concept: Specimen Definition
- Concept: Activity Definition