Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Resource type

Grouped by

Equivalence test

Merge logic

Medication

code.coding

1 or more matching Coding entries.

A Coding matches if and only if the following 2 attributes match:

  • code. case sensitive.

  • system. case sensitive.

Extensions

  • Inclusion

    • All extensions from the root of the resource will be copied over

    • Extensions on primitives will not be copied over

    • Extension on the coding element will not be copied over

    • Extensions in other locations will be copied over

  • Multiplicities

    • If a single upstream resource has more than one instance of the same extension

      • If the extension is on the root of the resource, only one will be copied into the aggregated resource

      • Otherwise, all instances of the extension will be copied over (provided they qualify for inclusion)

    • If there is more than one upstream resource with the same extension URL then one from the most recently updated resource will be used

Elements

  • If the element accepts multiple values:

    • The element in the aggregated resource contains one list entry for each entry in each upstream resource

  • Else:

    • The element in the aggregated resource contains the value from the most recently updated upstream resource

Organization

identifier

1 or more matching Identifier entries.

An Identifier matches if and only if the following 2 attributes match:

  • value. case sensitive.

  • system. case sensitive.

Extensions

  • Inclusion

    • All extensions on the root of the resource will be copied over

    • Extensions on primitives will not be copied over

    • Extensions on the identifier element will be copied over but will not be updated

    • Extensions in other locations will be copied over

  • Multiplicities

    • If a single upstream resource has more than one instance of the same extension

      • If the extension is on the root of the resource, only one will be copied into the aggregated resource

      • Otherwise, all instances of the extension will be copied over (provided they qualify for inclusion)

    • If there is more than one upstream resource with the same extension URL then one from the most recently updated resource will be used

Elements

  • If the element accepts multiple values:

    • The element in the aggregated resource contains one list entry for each entry in each upstream resource

  • Else:

    • The element in the aggregated resource contains the value from the most recently updated upstream resource

Patient

identifier

1 or more matching Identifier entries.

An Identifier matches if and only if the following 2 attributes match:

  • value. case sensitive.

  • system. case sensitive.

Extensions

  • Inclusion

    • All extensions on the root of the resource will be copied over

    • Extensions on primitives will not be copied over

    • Extensions on the identifier element will be copied over

    • Extensions in other locations will be copied over

  • Multiplicities

    • If a single upstream resource has more than one instance of the same extension

      • If the extension is on the root of the resource, only on one will be copied into the aggregated resource

      • Otherwise, all instances of the extension will be copied over (provided they qualify for inclusion)

    • If there is more than one upstream resource with the same extension URL then one from the most recently updated resource will be used

Elements

  • If the element accepts multiple values:

    • The element in the aggregated resource contains one list entry for each entry in each upstream resource

  • Else:

    • The element in the aggregated resource contains the value from the most recently updated upstream resource

Person

link.target

Person has custom merge logic applied. If you wish to use this resource type, please discuss your use case with us first.

Practitioner

identifier

1 or more matching Identifier entries.

An Identifier matches if and only if the following 2 attributes match:

  • value. case sensitive.

  • system. case sensitive.

Extensions

  • Inclusion

    • All extensions on the root of the resource will be copied over

    • Extensions on primitives will not be copied over

    • Extensions on the identifier element will be copied over

    • Extensions in other locations will be copied over

  • Multiplicities

    • If a single upstream resource has more than one instance of the same extension

      • If the extension is on the root of the resource, only on one will be copied into the aggregated resource

      • Otherwise, all instances of the extension will be copied over (provided they qualify for inclusion)

    • If there is more than one upstream resource with the same extension URL then one from the most recently updated resource will be used

Elements

  • If the element accepts multiple values:

    • The element in the aggregated resource contains one list entry for each entry in each upstream resource

  • Else:

    • The element will not be copied over. The element may be populated to a value determined by PKB.

PractitionerRole

identifier

Person has custom merge logic applied. If you wish to use this resource type, please discuss your use case with us first.

...