Binding Rules
Overview
Section titled “Overview”Binding rules validate that coded elements are properly bound to value sets or code systems.
correctness/binding-strength
Section titled “correctness/binding-strength”Severity: Warning Fixable: No
Binding strength should be appropriate for the use case.
Example:
// ✓ GoodProfile: PatientProfile* gender from AdministrativeGenderVS (required)* maritalStatus from MaritalStatusVS (extensible)
// ⚠ Warning - Consider if 'example' is appropriate* language from LanguageVS (example)
Binding Strengths:
required
- Must use a code from the value setextensible
- Should use from value set, can use others if neededpreferred
- Recommended to use from value setexample
- For illustration only
correctness/invalid-binding-reference
Section titled “correctness/invalid-binding-reference”Severity: Error Fixable: No
Bindings must reference existing value sets.
Example:
// ✗ BadProfile: PatientProfile* gender from NonExistentVS (required)
suspicious/weak-binding
Section titled “suspicious/weak-binding”Severity: Info Fixable: No
Consider using stronger binding for critical coded elements.
Example:
// ⚠ Consider using 'required' or 'extensible'Profile: PatientProfile* gender from AdministrativeGenderVS (example)
Rationale
Section titled “Rationale”Proper bindings ensure:
- Consistent terminology use
- Interoperability
- Semantic clarity
- Validation effectiveness