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. Type filter – Show the rules of one resource type (or * for the general rules).
  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 ~55 pre-loaded smart rules; Rebuild golden records… applies the current rules.

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, e.g. key for Union.
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.