<?xml version=“1.0” encoding=“UTF-8”?> <OperationDefinition xmlns=“hl7.org/fhir”>

<id value="StructureDefinition-snapshot"/>

<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
  <valueInteger value="5"/>
</extension>
<extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
  <valueCode value="trial-use"/>
</extension>
<url value="http://hl7.org/fhir/OperationDefinition/StructureDefinition-snapshot"/>
<version value="4.0.1"/>
<name value="Generate Snapshot"/>
<status value="draft"/>
<kind value="operation"/>
<date value="2019-11-01T09:29:23+11:00"/>
<publisher value="HL7 (FHIR Project)"/>
<contact>
  <telecom>
    <system value="url"/>
    <value value="http://hl7.org/fhir"/>
  </telecom>
  <telecom>
    <system value="email"/>
    <value value="fhir@lists.hl7.org"/>
  </telecom>
</contact>
<description value="Generates a [StructureDefinition](structuredefinition.html) instance  with  a snapshot, based on a differential in a specified [StructureDefinition](structuredefinition.html).   &#10;&#10;If the operation is not called at the instance level, either *definition* or *url* 'in' parameters must be provided. If more than one is specified, servers may raise an error or may resolve with the parameter of their choice. If called at the instance level, these parameters will be ignored."/>
<code value="snapshot"/>
<resource value="StructureDefinition"/>
<system value="false"/>
<type value="true"/>
<instance value="true"/>
<parameter>
  <name value="definition"/>
  <use value="in"/>
  <min value="0"/>
  <max value="1"/>
  <documentation value="The [StructureDefinition](structuredefinition.html) is provided directly as part of the request. Servers may choose not to accept profiles in this fashion"/>
  <type value="StructureDefinition"/>
</parameter>
<parameter>
  <name value="url"/>
  <use value="in"/>
  <min value="0"/>
  <max value="1"/>
  <documentation value="The StructureDefinition's canonical URL (i.e. 'StructureDefinition.url'). The server must know the structure definition, or be able to retrieve it from other known repositories."/>
  <type value="string"/>
  <searchType value="token"/>
</parameter>
<parameter>
  <name value="return"/>
  <use value="out"/>
  <min value="1"/>
  <max value="1"/>
  <documentation value="The structure definition with a snapshot"/>
  <type value="StructureDefinition"/>
</parameter>

</OperationDefinition>