Release 4

Codesystem-resource-validation-mode.json

Vocabulary Work GroupMaturity Level: N/AStandards Status: Informative

Raw JSON (canonical form + also see JSON Format Specification)

Definition for Code System ResourceValidationMode

{
  "resourceType" : "CodeSystem",
  "id" : "resource-validation-mode",
  "meta" : {
    "lastUpdated" : "2021-01-21T15:34:20.265+00:00"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div>!-- Snipped for Brevity --></div>"
  },
  "url" : "http://hl7.org/fhir/resource-validation-mode",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.4.119"
  }],
  "version" : "4.0.1",
  "name" : "ResourceValidationMode",
  "title" : "ResourceValidationMode",
  "status" : "draft",
  "experimental" : false,
  "date" : "2021-01-21T15:34:20+00:00",
  "publisher" : "HL7 (FHIR Project)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    },
    {
      "system" : "email",
      "value" : "fhir@lists.hl7.org"
    }]
  }],
  "description" : "Codes indicating the type of validation to perform.",
  "caseSensitive" : true,
  "valueSet" : "http://hl7.org/fhir/ValueSet/resource-validation-mode",
  "content" : "complete",
  "concept" : [{
    "code" : "create",
    "display" : "Validate for Create",
    "definition" : "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)."
  },
  {
    "code" : "update",
    "display" : "Validate for Update",
    "definition" : "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)."
  },
  {
    "code" : "delete",
    "display" : "Validate for Delete",
    "definition" : "The server ignores the content and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules)."
  },
  {
    "code" : "profile",
    "display" : "Validate Against a Profile",
    "definition" : "The server checks an existing resource (must be nominated by id, not provided as a parameter) as valid against the nominated profile."
  }]
}

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.