<?xml version="1.0" encoding="UTF-8"?>

<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="crmi-profiled-operation-example"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-artifact-operation"/>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-artifact-version-bindable-operation"/>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-artifact-endpoint-configurable-operation"/>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-manifestable-operation"/>
  </meta>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition crmi-profiled-operation-example</b></p><a name="crmi-profiled-operation-example"> </a><a name="hccrmi-profiled-operation-example"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px"/><p style="margin-bottom: 0px">Profiles: <a href="StructureDefinition-crmi-artifact-operation.html">CRMI Operation Profile: Artifact Operation</a>, <a href="StructureDefinition-crmi-artifact-version-bindable-operation.html">CRMI Operation Profile: Artifact Version Bindable</a>, <a href="StructureDefinition-crmi-artifact-endpoint-configurable-operation.html">CRMI Operation Profile: Artifact Endpoint Configurable</a>, <a href="StructureDefinition-crmi-manifestable-operation.html">CRMI Operation Profile: Manifestable</a></p></div><p>URL: [base]/ActivityDefinition/$data-requirements</p><p>URL: [base]/ActivityDefinition/[id]/$data-requirements</p><p>URL: [base]/CapabilityStatement/$data-requirements</p><p>URL: [base]/CapabilityStatement/[id]/$data-requirements</p><p>URL: [base]/CodeSystem/$data-requirements</p><p>URL: [base]/CodeSystem/[id]/$data-requirements</p><p>URL: [base]/CompartmentDefinition/$data-requirements</p><p>URL: [base]/CompartmentDefinition/[id]/$data-requirements</p><p>URL: [base]/ConceptMap/$data-requirements</p><p>URL: [base]/ConceptMap/[id]/$data-requirements</p><p>URL: [base]/ExampleScenario/$data-requirements</p><p>URL: [base]/ExampleScenario/[id]/$data-requirements</p><p>URL: [base]/GraphDefinition/$data-requirements</p><p>URL: [base]/GraphDefinition/[id]/$data-requirements</p><p>URL: [base]/Group/$data-requirements</p><p>URL: [base]/Group/[id]/$data-requirements</p><p>URL: [base]/ImplementationGuide/$data-requirements</p><p>URL: [base]/ImplementationGuide/[id]/$data-requirements</p><p>URL: [base]/Library/$data-requirements</p><p>URL: [base]/Library/[id]/$data-requirements</p><p>URL: [base]/Measure/$data-requirements</p><p>URL: [base]/Measure/[id]/$data-requirements</p><p>URL: [base]/Medication/$data-requirements</p><p>URL: [base]/Medication/[id]/$data-requirements</p><p>URL: [base]/MedicationKnowledge/$data-requirements</p><p>URL: [base]/MedicationKnowledge/[id]/$data-requirements</p><p>URL: [base]/MessageDefinition/$data-requirements</p><p>URL: [base]/MessageDefinition/[id]/$data-requirements</p><p>URL: [base]/NamingSystem/$data-requirements</p><p>URL: [base]/NamingSystem/[id]/$data-requirements</p><p>URL: [base]/OperationDefinition/$data-requirements</p><p>URL: [base]/OperationDefinition/[id]/$data-requirements</p><p>URL: [base]/PlanDefinition/$data-requirements</p><p>URL: [base]/PlanDefinition/[id]/$data-requirements</p><p>URL: [base]/Questionnaire/$data-requirements</p><p>URL: [base]/Questionnaire/[id]/$data-requirements</p><p>URL: [base]/SearchParameter/$data-requirements</p><p>URL: [base]/SearchParameter/[id]/$data-requirements</p><p>URL: [base]/StructureDefinition/$data-requirements</p><p>URL: [base]/StructureDefinition/[id]/$data-requirements</p><p>URL: [base]/StructureMap/$data-requirements</p><p>URL: [base]/StructureMap/[id]/$data-requirements</p><p>URL: [base]/Substance/$data-requirements</p><p>URL: [base]/Substance/[id]/$data-requirements</p><p>URL: [base]/TerminologyCapabilities/$data-requirements</p><p>URL: [base]/TerminologyCapabilities/[id]/$data-requirements</p><p>URL: [base]/TestScript/$data-requirements</p><p>URL: [base]/TestScript/[id]/$data-requirements</p><p>URL: [base]/ValueSet/$data-requirements</p><p>URL: [base]/ValueSet/[id]/$data-requirements</p><h3>Parameters</h3><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>id</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>The logical id of the canonical or artifact resource to analyze.</p>
</div></td></tr><tr><td>IN</td><td>url</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td><div><p>A canonical or artifact reference to a canonical resource.</p>
</div></td></tr><tr><td>IN</td><td>version</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>The version of the canonical or artifact resource to analyze</p>
</div></td></tr><tr><td>IN</td><td>identifier</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a><br/>(<a href="https://hl7.org/fhir/R4/search.html#token">token</a>)</td><td/><td><div><p>A business identifier of the canonical or artifact resource to be analyzed.</p>
</div></td></tr><tr><td>IN</td><td>expression</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>The name of a specific expression to be considered for analysis. If no
expressions are specified, the analysis is performed on the entire resource. If
expressions are specified, the analysis is performed only on the expressions
specified.</p>
</div></td></tr><tr><td>IN</td><td>parameters</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/parameters.html">Parameters</a></td><td/><td><div><p>Any input parameters for the artifact. If the artifact is a logic library,
or references logic libraries, parameters defined in this input will be
bound by name to parameters defined in the logic library (or referenced
libraries). If the logic library is a CQL library, parameter types are
mapped to CQL as specified in the Using CQL with FHIR implementation guide.
If a parameter appears more than once in the input Parameters resource,
it is represented with a List in the input CQL. If a parameter has parts,
it is represented as a Tuple in the input CQL.</p>
</div></td></tr><tr><td>IN</td><td>artifactVersion</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td><div><p>Specifies a version to use for a canonical or artifact 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</p>
<p>Note that this is a generalization of the <code>system-version</code> parameter to the $expand operation
to apply to any canonical resource, including code systems.</p>
</div></td></tr><tr><td>IN</td><td>checkArtifactVersion</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td><div><p>Edge Case: Specifies a version to use for a canonical or artifact 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</p>
<p>Note that this is a generalization of the <code>check-system-version</code> parameter to the $expand operation to
apply to any canonical resource, including code systems.</p>
</div></td></tr><tr><td>IN</td><td>forceArtifactVersion</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td><div><p>Edge Case: Specifies a version to use for a canonical or artifact 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.</p>
<p>It primarily exists to deal with situations where specifications have fallen
into decay as time passes. If the version of a canonical is overridden, the version used SHALL
explicitly be represented in the expansion parameters.</p>
<p>Note that this is a generalization of the <code>force-system-version</code> parameter to the $expand operation
to apply to any canonical resource, including code systems.</p>
</div></td></tr><tr><td>IN</td><td>manifest</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#canonical">canonical</a> (<a href="StructureDefinition-crmi-manifestlibrary.html" title="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-manifestlibrary">CRMI Manifest Library</a>)</td><td/><td><div><p>Specifies an asset-collection library that defines version
bindings for code systems and other canonical resources referenced by the value
set(s) being expanded and other canonical resources referenced by the artifact.
When specified, the expansion parameters of the manifest are used to provide expansion
behavior and canonical resolution for dependencies encountered while processing the
operation.</p>
</div></td></tr><tr><td>IN</td><td>include</td><td/><td>0..*</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td><div><p>Specifies what contents should be included in the resulting package. The codes indicate which types of resources should be included, but note that
the set of possible resources is determined as all known (i.e. present on the server) dependencies and related artifacts. Possible
values are:</p>
<ul>
<li>all (default) - all resource types</li>
<li>artifact - the specified artifact</li>
<li>canonical - canonical resources (i.e. resources with a defined url element or that can be canonical resources using the artifact-url extension)</li>
<li>terminology - terminology resources (i.e. CodeSystem, ValueSet, NamingSystem, ConceptMap)</li>
<li>conformance - conformance resources (i.e. StructureDefinition, StructureMap, SearchParameter, CompartmentDefinition)</li>
<li>profiles - profile definitions (i.e. StructureDefinition resources that define profiles)</li>
<li>extensions - extension definitions (i.e. StructureDefinition resources that define extensions)</li>
<li>knowledge - knowledge artifacts (i.e. ActivityDefinition, Library, PlanDefinition, Measure, Questionnaire)</li>
<li>tests - test cases and data (i.e. test cases as defined by the testing specification in this implementation guide)</li>
<li>examples - example resources (i.e. resources identified as examples in the implementation guide)</li>
</ul>
</div></td></tr><tr><td>IN</td><td>artifactEndpointConfiguration</td><td/><td>0..*</td><td/><td/><td><div><p>Configuration information to resolve canonical artifacts</p>
<ul>
<li><code>artifactRoute</code>: An optional route used to determine whether this endpoint is expected to be able to resolve artifacts that match the route (i.e. start with the route, up to and including the entire url)</li>
<li><code>endpointUri</code>: The URI of the endpoint, exclusive with the <code>endpoint</code> parameter</li>
<li><code>endpoint</code>: An Endpoint resource describing the endpoint, exclusive with the <code>endpointUri</code> parameter</li>
</ul>
<p><strong>Processing semantics</strong>:</p>
<p>Create a canonical-like reference (e.g.
<code>{canonical.url}|{canonical.version}</code> or similar extensions for non-canonical artifacts).</p>
<ul>
<li>Given a single <code>artifactEndpointConfiguration</code>
<ul>
<li>When <code>artifactRoute</code> is present
<ul>
<li>And canonical or artifact reference <em>starts with</em> <code>artifactRoute</code></li>
<li>Then attempt to resolve with <code>endpointUri</code> or <code>endpoint</code></li>
</ul>
</li>
<li>When <code>artifactRoute</code> is not present
<ul>
<li>Then attempt to resolve with <code>endpointUri</code> or <code>endpoint</code></li>
</ul>
</li>
</ul>
</li>
<li>Given multiple <code>artifactEndpointConfiguration</code>s
<ul>
<li>Then rank order each configuration (see below)</li>
<li>And attempt to resolve with <code>endpointUri</code> or <code>endpoint</code> in order until resolved</li>
</ul>
</li>
</ul>
<p>Rank each <code>artifactEndpointConfiguration</code> such that:</p>
<ul>
<li>if <code>artifactRoute</code> is present <em>and</em> canonical or artifact reference <em>starts with</em> <code>artifactRoute</code>: rank based on number of matching characters</li>
<li>if <code>artifactRoute</code> is <em>not</em> present: include but rank lower</li>
</ul>
<p>NOTE: For evenly ranked <code>artifactEndpointConfiguration</code>s, order as defined in the
OperationDefinition.</p>
</div></td></tr><tr><td>IN</td><td>artifactEndpointConfiguration.artifactRoute</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td/></tr><tr><td>IN</td><td>artifactEndpointConfiguration.endpointUri</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#uri">uri</a></td><td/><td/></tr><tr><td>IN</td><td>artifactEndpointConfiguration.endpoint</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/endpoint.html">Endpoint</a></td><td/><td/></tr><tr><td>IN</td><td>terminologyEndpoint</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/endpoint.html">Endpoint</a></td><td/><td><div><p>An endpoint to use to access terminology (i.e. valuesets, codesystems, naming systems, concept maps, and
membership testing) referenced by the Resource. If no terminology endpoint is
supplied, the evaluation will attempt to use the server on which the operation
is being performed as the terminology server.</p>
</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/library.html">Library</a></td><td/><td><div><p>The result of the requirements operation is a <em>module-definition</em> Library that
returns the computed effective requirements of the artifact.</p>
</div></td></tr></table><div><p>The data requirements operation is used for dependency gathering, as a way to understand
the set of dependencies of a given artifact, as well as for data requirements determination,
as a way to understand the complete set of data requirements for a given artifact, including
terminology usage (code systems, value sets, and direct-reference codes), parameters, dependencies,
and data requirements.</p>
</div></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cds"/>
  </extension>
  <url value="http://hl7.org/fhir/uv/crmi/OperationDefinition/crmi-profiled-operation-example"/>
  <version value="2.0.0"/>
  <name value="CRMIDataRequirements"/>
  <title value="CRMI Data Requirements"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2026-05-11T04:30:28+00:00"/>
  <publisher value="HL7 International / Clinical Decision Support"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/dss"/>
    </telecom>
  </contact>
  <description value="This operation definition is a copy of the CRMI Data Requirements operation but declaring conformance to the CRMI Artifact, Artifact Version Bindable, Artifact Endpoint Configurable, and Manifestable operation profiles."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <code value="data-requirements"/>
  <comment value="The data requirements operation is used for dependency gathering, as a way to understand &#xA;the set of dependencies of a given artifact, as well as for data requirements determination, &#xA;as a way to understand the complete set of data requirements for a given artifact, including &#xA;terminology usage (code systems, value sets, and direct-reference codes), parameters, dependencies,&#xA;and data requirements."/>
  <resource value="ActivityDefinition"/>
  <resource value="CapabilityStatement"/>
  <resource value="CodeSystem"/>
  <resource value="CompartmentDefinition"/>
  <resource value="ConceptMap"/>
  <resource value="ExampleScenario"/>
  <resource value="GraphDefinition"/>
  <resource value="Group"/>
  <resource value="ImplementationGuide"/>
  <resource value="Library"/>
  <resource value="Measure"/>
  <resource value="Medication"/>
  <resource value="MedicationKnowledge"/>
  <resource value="MessageDefinition"/>
  <resource value="NamingSystem"/>
  <resource value="OperationDefinition"/>
  <resource value="PlanDefinition"/>
  <resource value="Questionnaire"/>
  <resource value="SearchParameter"/>
  <resource value="StructureDefinition"/>
  <resource value="StructureMap"/>
  <resource value="Substance"/>
  <resource value="TerminologyCapabilities"/>
  <resource value="TestScript"/>
  <resource value="ValueSet"/>
  <system value="false"/>
  <type value="true"/>
  <instance value="true"/>
  <parameter>
    <name value="id"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="The logical id of the canonical or artifact resource to analyze."/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="url"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="A canonical or artifact reference to a canonical resource."/>
    <type value="uri"/>
  </parameter>
  <parameter>
    <name value="version"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="The version of the canonical or artifact resource to analyze"/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="identifier"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="A business identifier of the canonical or artifact resource to be analyzed."/>
    <type value="string"/>
    <searchType value="token"/>
  </parameter>
  <parameter>
    <name value="expression"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="The name of a specific expression to be considered for analysis. If no&#xA;expressions are specified, the analysis is performed on the entire resource. If&#xA;expressions are specified, the analysis is performed only on the expressions&#xA;specified."/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="parameters"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="Any input parameters for the artifact. If the artifact is a logic library, &#xA;or references logic libraries, parameters defined in this input will be&#xA;bound by name to parameters defined in the logic library (or referenced&#xA;libraries). If the logic library is a CQL library, parameter types are &#xA;mapped to CQL as specified in the Using CQL with FHIR implementation guide. &#xA;If a parameter appears more than once in the input Parameters resource, &#xA;it is represented with a List in the input CQL. If a parameter has parts, &#xA;it is represented as a Tuple in the input CQL."/>
    <type value="Parameters"/>
  </parameter>
  <parameter>
    <name value="artifactVersion"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="Specifies a version to use for a canonical or artifact resource if the artifact referencing &#xA;the resource does not already specify a version. The format is the same as a canonical URL:&#xA;[url]|[version] - e.g. http://loinc.org|2.56 &#xA;&#xA;Note that this is a generalization of the `system-version` parameter to the $expand operation &#xA;to apply to any canonical resource, including code systems."/>
    <type value="uri"/>
  </parameter>
  <parameter>
    <name value="checkArtifactVersion"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="Edge Case: Specifies a version to use for a canonical or artifact resource. If the artifact referencing &#xA;the resource specifies a different version, an error is returned instead of the package. The&#xA;format is the same as a canonical URL: [url]|[version] - e.g. http://loinc.org|2.56 &#xA;&#xA;Note that this is a generalization of the `check-system-version` parameter to the $expand operation to &#xA;apply to any canonical resource, including code systems."/>
    <type value="uri"/>
  </parameter>
  <parameter>
    <name value="forceArtifactVersion"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="Edge Case: Specifies a version to use for a canonical or artifact resource. This parameter overrides any&#xA;specified version in the artifact (and any artifacts it depends on). The&#xA;format is the same as a canonical URL: [system]|[version] - e.g.&#xA;http://loinc.org|2.56. Note that this has obvious safety issues, in that it may&#xA;result in a value set expansion giving a different list of codes that is both&#xA;wrong and unsafe, and implementers should only use this capability reluctantly.&#xA;&#xA;It primarily exists to deal with situations where specifications have fallen&#xA;into decay as time passes. If the version of a canonical is overridden, the version used SHALL&#xA;explicitly be represented in the expansion parameters. &#xA;&#xA;Note that this is a generalization of the `force-system-version` parameter to the $expand operation &#xA;to apply to any canonical resource, including code systems."/>
    <type value="uri"/>
  </parameter>
  <parameter>
    <name value="manifest"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="Specifies an asset-collection library that defines version&#xA;bindings for code systems and other canonical resources referenced by the value&#xA;set(s) being expanded and other canonical resources referenced by the artifact.&#xA;When specified, the expansion parameters of the manifest are used to provide expansion&#xA;behavior and canonical resolution for dependencies encountered while processing the &#xA;operation."/>
    <type value="canonical"/>
    <targetProfile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-manifestlibrary"/>
  </parameter>
  <parameter>
    <name value="include"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="Specifies what contents should be included in the resulting package. The codes indicate which types of resources should be included, but note that&#xA;the set of possible resources is determined as all known (i.e. present on the server) dependencies and related artifacts. Possible&#xA;values are:&#xA;* all (default) - all resource types&#xA;* artifact - the specified artifact&#xA;* canonical - canonical resources (i.e. resources with a defined url element or that can be canonical resources using the artifact-url extension)&#xA;* terminology - terminology resources (i.e. CodeSystem, ValueSet, NamingSystem, ConceptMap)&#xA;* conformance - conformance resources (i.e. StructureDefinition, StructureMap, SearchParameter, CompartmentDefinition)&#xA;* profiles - profile definitions (i.e. StructureDefinition resources that define profiles)&#xA;* extensions - extension definitions (i.e. StructureDefinition resources that define extensions) &#xA;* knowledge - knowledge artifacts (i.e. ActivityDefinition, Library, PlanDefinition, Measure, Questionnaire)&#xA;* tests - test cases and data (i.e. test cases as defined by the testing specification in this implementation guide)&#xA;* examples - example resources (i.e. resources identified as examples in the implementation guide)"/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="artifactEndpointConfiguration"/>
    <use value="in"/>
    <min value="0"/>
    <max value="*"/>
    <documentation value="Configuration information to resolve canonical artifacts&#xA;* `artifactRoute`: An optional route used to determine whether this endpoint is expected to be able to resolve artifacts that match the route (i.e. start with the route, up to and including the entire url)&#xA;* `endpointUri`: The URI of the endpoint, exclusive with the `endpoint` parameter&#xA;* `endpoint`: An Endpoint resource describing the endpoint, exclusive with the `endpointUri` parameter&#xA;&#xA;**Processing semantics**:&#xA;&#xA;Create a canonical-like reference (e.g.&#xA;`{canonical.url}|{canonical.version}` or similar extensions for non-canonical artifacts).&#xA;&#xA;* Given a single `artifactEndpointConfiguration`&#xA;  * When `artifactRoute` is present&#xA;    * And canonical or artifact reference *starts with* `artifactRoute`&#xA;    * Then attempt to resolve with `endpointUri` or `endpoint`&#xA;  * When `artifactRoute` is not present&#xA;    * Then attempt to resolve with `endpointUri` or `endpoint`&#xA;* Given multiple `artifactEndpointConfiguration`s&#xA;  * Then rank order each configuration (see below)&#xA;  * And attempt to resolve with `endpointUri` or `endpoint` in order until resolved&#xA;&#xA;Rank each `artifactEndpointConfiguration` such that:&#xA;* if `artifactRoute` is present *and* canonical or artifact reference *starts with* `artifactRoute`: rank based on number of matching characters &#xA;* if `artifactRoute` is *not* present: include but rank lower&#xA;&#xA;NOTE: For evenly ranked `artifactEndpointConfiguration`s, order as defined in the&#xA;OperationDefinition."/>
    <part>
      <name value="artifactRoute"/>
      <use value="in"/>
      <min value="0"/>
      <max value="1"/>
      <type value="uri"/>
    </part>
    <part>
      <name value="endpointUri"/>
      <use value="in"/>
      <min value="0"/>
      <max value="1"/>
      <type value="uri"/>
    </part>
    <part>
      <name value="endpoint"/>
      <use value="in"/>
      <min value="0"/>
      <max value="1"/>
      <type value="Endpoint"/>
    </part>
  </parameter>
  <parameter>
    <name value="terminologyEndpoint"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <documentation value="An endpoint to use to access terminology (i.e. valuesets, codesystems, naming systems, concept maps, and&#xA;membership testing) referenced by the Resource. If no terminology endpoint is&#xA;supplied, the evaluation will attempt to use the server on which the operation&#xA;is being performed as the terminology server."/>
    <type value="Endpoint"/>
  </parameter>
  <parameter>
    <name value="return"/>
    <use value="out"/>
    <min value="1"/>
    <max value="1"/>
    <documentation value="The result of the requirements operation is a _module-definition_ Library that&#xA;returns the computed effective requirements of the artifact."/>
    <type value="Library"/>
  </parameter>
</OperationDefinition>