Canonical Resource Management Infrastructure Implementation Guide
1.0.0 - STU1

Publication Build: This will be filled in by the publication tooling

## OperationDefinition: CRMI Artifact Diff Operation

Official URL: http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-artifact-diff | Version: 1.0.0
Active as of 2024-05-31 | Computable Name: CRMIArtifactDiff
Other Identifiers: OID:2.16.840.1.113883.4.642.40.38.33.2

Describes the differences between two knowledge artifacts in FHIR Patch format by recursively resolving dependencies to get a holistic diff.

URL: [base]/$artifact-diff

Parameters

Use | Name | Scope | Cardinality | Type | Binding | Documentation
IN | source |  | 0..1 | canonical |  | The canonical reference of the source artifact to compare against
IN | target |  | 1..1 | canonical |  | A canonical reference of the target artifact which is being compared.
IN | compareComputable |  | 0..1 | boolean |  | Whether or not to compare computable content such as ValueSet.compose.include entries.
IN | compareExecutable |  | 0..1 | boolean |  | Whether or not to compare executable content such as ValueSet.expansion.contains entries.
OUT | return |  | 1..1 | Parameters |  | The differential in FHIR Patch format.

The operation is only valid between two resources of the same type and can optionally include expanding all ValueSets in the dependency tree.