PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.crmi@1.0.0-snapshot
    http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-canonical-version-bindable-operation
description: 'Operation where default canonical version(s) can be specified\n\nNOTE: This profile is here for backwards compatibility, see ArtifactVersionBindableOperation profile as a successor.\n\n* `canonicalVersion`: Specifies a version to use for a canonical resource if the artifact referencing the resource does not already specify a version. The format is the same as a canonical URL: `[url]|[version]` - e.g. `http://loinc.org|2.56`\n* `checkCanonicalVersion`: Edge Case: Specifies a version to use for a canonical resource. If the artifact referencing the resource specifies a different version, an error is returned instead of the package. The format is the same as a canonical URL: `[url]|[version]` - e.g. `http://loinc.org|2.56`\n* `forceCanonicalVersion`: Edge Case: Specifies a version to use for a canonical resource. This parameter overrides any specified version in the artifact (and any artifacts it depends on). The format is the same as a canonical URL: `[system]|[version]` - e.g. `http://loinc.org|2.56`. Note that this has obvious safety issues, in that it may result in a value set expansion giving a different list of codes that is both wrong and unsafe, and implementers should only use this capability reluctantly.'
package_name: hl7.fhir.uv.crmi
derivation: constraint
name: CanonicalVersionBindableOperation
type: OperationDefinition
elements:
  parameter:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: name, type: value}
      min: null
      slices:
        canonicalVersion:
          match: {name: canonicalVersion}
          schema:
            mustSupport: true
            array: true
            index: 1
            elements:
              name:
                pattern: {type: Code, value: canonicalVersion}
                index: 2
              use:
                pattern: {type: Code, value: in}
                index: 3
              min:
                pattern: {type: Integer, value: 0}
                index: 4
              max:
                pattern: {type: String, value: '*'}
                index: 5
              type:
                pattern: {type: Code, value: canonical}
                index: 6
        checkCanonicalVersion:
          match: {name: checkCanonicalVersion}
          schema:
            mustSupport: true
            array: true
            index: 7
            elements:
              name:
                pattern: {type: Code, value: checkCanonicalVersion}
                index: 8
              use:
                pattern: {type: Code, value: in}
                index: 9
              min:
                pattern: {type: Integer, value: 0}
                index: 10
              max:
                pattern: {type: String, value: '*'}
                index: 11
              type:
                pattern: {type: Code, value: canonical}
                index: 12
        forceCanonicalVersion:
          match: {name: forceCanonicalVersion}
          schema:
            mustSupport: true
            array: true
            index: 13
            elements:
              name:
                pattern: {type: Code, value: forceCanonicalVersion}
                index: 14
              use:
                pattern: {type: Code, value: in}
                index: 15
              min:
                pattern: {type: Integer, value: 0}
                index: 16
              max:
                pattern: {type: String, value: '*'}
                index: 17
              type:
                pattern: {type: Code, value: canonical}
                index: 18
package_version: 1.0.0-snapshot
class: profile
kind: resource
url: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-canonical-version-bindable-operation
base: http://hl7.org/fhir/StructureDefinition/OperationDefinition
version: 1.0.0-snapshot