DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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 R2

Valueset-resource-validation-mode.json

Raw JSON (canonical form)

Definition for Value SetResourceValidationMode

{
  "resourceType": "ValueSet",
  "id": "resource-validation-mode",
  "meta": {
    "lastUpdated": "2015-10-24T07:41:03.495+11:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
      "valueUri": "urn:oid:2.16.840.1.113883.4.642.2.48"
    }
  ],
  "url": "http://hl7.org/fhir/ValueSet/resource-validation-mode",
  "version": "1.0.2",
  "name": "ResourceValidationMode",
  "status": "draft",
  "experimental": false,
  "publisher": "HL7 (FHIR Project)",
  "contact": [
    {
      "telecom": [
        {
          "system": "other",
          "value": "http://hl7.org/fhir"
        },
        {
          "system": "email",
          "value": "fhir@lists.hl7.org"
        }
      ]
    }
  ],
  "date": "2015-10-24T07:41:03+11:00",
  "description": "Codes indicating the type of validation to perform",
  "codeSystem": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/StructureDefinition/valueset-oid",
        "valueUri": "urn:oid:2.16.840.1.113883.4.642.1.48"
      }
    ],
    "system": "http://hl7.org/fhir/resource-validation-mode",
    "version": "1.0.2",
    "caseSensitive": true,
    "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)."
      }
    ]
  }
}

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.