FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Codesystem-resource-validation-mode.xml

Vocabulary Work GroupMaturity Level: N/ABallot Status: Informative

Raw XML (canonical form)

Definition for Code System ResourceValidationMode

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="resource-validation-mode"/> 
  <meta> 
    <lastUpdated value="2019-10-24T11:53:00+11:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2> ResourceValidationMode</h2> 
      <div> 
        <p> Codes indicating the type of validation to perform</p> 

      </div> 
      <p> This code system http://hl7.org/fhir/resource-validation-mode defines the following codes:</p> 
      <table class="codes">
        <tr> 
          <td> 
            <b> Code</b> 
          </td> 
          <td> 
            <b> Display</b> 
          </td> 
          <td> 
            <b> Definition</b> 
          </td> 
        </tr> 
        <tr> 
          <td> create
            <a name="resource-validation-mode-create"> </a> 
          </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> update
            <a name="resource-validation-mode-update"> </a> 
          </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> delete
            <a name="resource-validation-mode-delete"> </a> 
          </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-ballot-status">
    <valueString value="Informative"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/> 
  </extension> 
  <url value="http://hl7.org/fhir/resource-validation-mode"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.1.109"/> 
  </identifier> 
  <version value="3.0.2"/> 
  <name value="ResourceValidationMode"/> 
  <status value="draft"/> 
  <experimental value="false"/> 
  <date value="2019-10-24T11:53:00+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="Codes indicating the type of validation to perform"/> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/resource-validation-mode"/> 
  <content value="complete"/> 
  <concept> 
    <code value="create"/> 
    <display value="Validate for Create"/> 
    <definition value="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)."/> 
  </concept> 
  <concept> 
    <code value="update"/> 
    <display value="Validate for Update"/> 
    <definition value="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)."/> 
  </concept> 
  <concept> 
    <code value="delete"/> 
    <display value="Validate for Delete"/> 
    <definition value="The server ignores the content, and checks that the nominated resource is allowed to be
     deleted (e.g. checking referential integrity rules)."/> 
  </concept> 
</CodeSystem> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.