Survivorship rules

Decide which value wins per element; element hints, autocomplete and picker.

Survivorship rules
Survivorship rules
  1. Tabs – Rules, Source systems and Preview.
  2. Resource types – In the left panel: All rules, * (all types) for the general rules, or one type with its number of rules of its own.
  3. New rule – Opens the rule dialog.
  4. Rule table – Type, element, strategy, option, note, and origin (standard or custom). Edit or delete a row on the right.
  5. Lookup order – Explains how a rule is chosen for an element.

Columns: Type, Element, Strategy, Option, Note. A rule for a type beats a rule for all resource types; for an element the most specific path wins. Reset all to standard restores the 105 pre-loaded standard rules; Rebuild golden records… applies the current rules to the golden records of one type; tick Select all to rebuild every resource type in one go. The dialog shows which type it is working on; types that could not be rebuilt (for example because you have no permission for them) are listed in the dialog afterwards.

Which rules apply to a type

The resource types are listed in the left panel, grouped as in the other modules, with the number of rules of their own; All rules shows every rule and * (all types) the rules for all resource types. Choose a type to see every rule that applies to it: first the rules of the type itself, then the rules for all resource types that it uses because it has no rule of its own for that element. Those are shown as * (all types) with an Override button, which opens a new rule for this type only, filled in from the general rule. Element * (Most trusted source) catches every element without a rule, so a type is never without rules.

Standard rules

Patients, practitioners, organisations, locations and other master data have rules for names, birth dates and identifiers. Clinical types have rules of their own too: Condition, Observation, Encounter, AllergyIntolerance, DiagnosticReport, Procedure, CarePlan, MedicationRequest and Immunization. Examples: the period of an encounter takes the earliest start and the latest end of all sources (Span of the periods); the criticality of an allergy takes the highest any source reports (Highest in a ranked list of codes, order high,low,unable-to-assess); results, reactions and diagnoses of all sources are kept (Union).

When an upgrade brings new standard rules, they are added at the first start. Rules you changed keep your changes, and standard rules you deleted are not added again. Existing golden records only change after Rebuild golden records… (tick Select all to rebuild every type).

Rules changed after the last finished MDM run of their type are highlighted with changed, and a line above the list says how many there are and when that run was (for the rules of all resource types: the latest run). Saving a rule without changing its strategy, option or Enabled – only the note, say – does not mark it; Reset all to standard only marks the rules it really changes. Existing golden records follow changed rules after the next run or after Rebuild golden records….

New or edit rule

New survivorship rule with element hints and the element picker
New survivorship rule with element hints and the element picker
  1. Resource type – The rule applies to this type. * means every type.
  2. Element – Type the element name; suggestions appear as you type.
  3. Hint – Explains the element: what it holds, how many records have it, its current rule and an example value.
  4. Pick element… – Opens the picker.
  5. Element picker – Lists the elements found in the source records of the type, most used first, with their meaning and current rule. Click a row to use it.
  6. Note – Why the rule exists; shown in the rule list and in the survivorship trace.
Resource type
Which type, or All resource types.
Element
Type the element; the list of elements found in the data appears as suggestions (autocomplete) and unknown words get a Did you mean. Choice elements are written like value[x].
Hint box
Describes the element: what it holds, how many records use it, shape, an example, and the rule that currently applies.
Pick element…
Opens a picker listing elements found in the source records of the type, most used first, with their meaning and current rule; a filter box narrows it; click to take one.
Strategy
See Survivorship strategies.
Option
Strategy parameter: the key for Union, or the order of the codes for Highest in a ranked list of codes (from highest to lowest, separated by commas).
Enabled
Switch the rule off without deleting.
Note
A wide text area, up to several lines, shown in the list and in the survivorship trace.
ExampleTake the longest address text

Type Patient, element address, strategy Longest value, note Prefer complete street lines.

ExampleUnion of phone numbers

Element telecom, strategy Union of all values, option key system,value: both phone numbers survive once each.

ExampleActive if any source says active

Element active, strategy True if any record is true.

ExampleMost severe severity wins

Type Condition, element severity, strategy Highest in a ranked list of codes, order 24484000,6736007,255604002 (severe, moderate, mild).