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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="R2-resource-validation-mode-for-R4"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: ValueSet R2-resource-validation-mode-for-R4</b></p><a name="R2-resource-validation-mode-for-R4"> </a><a name="hcR2-resource-validation-mode-for-R4"> </a><p>This value set expansion contains 3 concepts.</p><table class="codes"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>System</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style="white-space:nowrap"><a name="R2-resource-validation-mode-for-R4-http://hl7.org/fhir/resource-validation-mode-create"> </a>  <a href="http://hl7.org/fhir/R4/codesystem-resource-validation-mode.html#resource-validation-mode-create">create</a></td><td>http://hl7.org/fhir/resource-validation-mode</td><td>Validate for Create</td><td>The server checks the content, and then checks that the content would be acceptable as a create (e.g. that the content would not violate any uniqueness constraints).</td></tr><tr><td style="white-space:nowrap"><a name="R2-resource-validation-mode-for-R4-http://hl7.org/fhir/resource-validation-mode-update"> </a>  <a href="http://hl7.org/fhir/R4/codesystem-resource-validation-mode.html#resource-validation-mode-update">update</a></td><td>http://hl7.org/fhir/resource-validation-mode</td><td>Validate for Update</td><td>The server checks the content, and then checks that it would accept it as an update against the nominated specific resource (e.g. that there are no changes to immutable fields the server does not allow to change and checking version integrity if appropriate).</td></tr><tr><td style="white-space:nowrap"><a name="R2-resource-validation-mode-for-R4-http://hl7.org/fhir/resource-validation-mode-delete"> </a>  <a href="http://hl7.org/fhir/R4/codesystem-resource-validation-mode.html#resource-validation-mode-delete">delete</a></td><td>http://hl7.org/fhir/resource-validation-mode</td><td>Validate for Delete</td><td>The server ignores the content and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules).</td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r2.r4"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"/>
      </extension>
    </valueInteger>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom">
        <valueCanonical value="http://hl7.org/fhir/1.0/ImplementationGuide/hl7.fhir.uv.xver-r2.r4"/>
      </extension>
    </valueCode>
  </extension>
  <url value="http://hl7.org/fhir/1.0/ValueSet/R2-resource-validation-mode-for-R4"/>
  <version value="0.0.1-snapshot-2"/>
  <name value="R2_resource_validation_mode_for_R4"/>
  <title value="Cross-version VS for R2.ResourceValidationMode for use in FHIR R4"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2025-09-01T22:35:39.751909+10:00"/>
  <publisher value="FHIR Infrastructure"/>
  <contact>
    <name value="FHIR Infrastructure"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/fiwg"/>
    </telecom>
  </contact>
  <description value="This cross-version ValueSet represents concepts from http://hl7.org/fhir/ValueSet/resource-validation-mode|1.0.2 for use in FHIR R4. Concepts not present here have direct `equivalent` mappings crossing all versions from R2 to R4."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <compose>
    <include>
      <system value="http://hl7.org/fhir/resource-validation-mode"/>
      <version value="1.0.2"/>
      <concept>
        <code value="create"/>
        <display value="Validate for Create"/>
      </concept>
      <concept>
        <code value="update"/>
        <display value="Validate for Update"/>
      </concept>
      <concept>
        <code value="delete"/>
        <display value="Validate for Delete"/>
      </concept>
    </include>
  </compose>
  <expansion>
    <timestamp value="2025-09-01T22:35:39.751902+10:00"/>
    <contains>
      <system value="http://hl7.org/fhir/resource-validation-mode"/>
      <version value="1.0.2"/>
      <code value="create"/>
      <display value="Validate for Create"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/resource-validation-mode"/>
      <version value="1.0.2"/>
      <code value="update"/>
      <display value="Validate for Update"/>
    </contains>
    <contains>
      <system value="http://hl7.org/fhir/resource-validation-mode"/>
      <version value="1.0.2"/>
      <code value="delete"/>
      <display value="Validate for Delete"/>
    </contains>
  </expansion>
</ValueSet>