{"resourceType":"CodeSystem","id":"resource-validation-mode","text":{"status":"generated","div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem resource-validation-mode</b></p><a name=\"resource-validation-mode\"> </a><a name=\"hcresource-validation-mode\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/resource-validation-mode</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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 style=\"white-space:nowrap\">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><tr><td style=\"white-space:nowrap\">profile<a name=\"resource-validation-mode-profile\"> </a></td><td>Validate Against a Profile</td><td>The server checks an existing resource (must be nominated by id, not provided as a parameter) as valid against the nominated profile.</td></tr></table></div>"},"extension":[{"extension":[{"url":"packageId","valueId":"hl7.fhir.uv.xver-r4.r5"},{"url":"version","valueString":"0.1.0"},{"url":"uri","valueUri":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}],"url":"http://hl7.org/fhir/StructureDefinition/package-source"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","valueCode":"fhir"},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","valueInteger":0,"_valueInteger":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}]}},{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","valueCode":"trial-use","_valueCode":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom","valueCanonical":"http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r5"}]}}],"url":"http://hl7.org/fhir/resource-validation-mode","version":"4.0.1","name":"ResourceValidationMode","title":"ResourceValidationMode","status":"draft","experimental":false,"date":"2019-10-31T17:29:23-05:00","publisher":"FHIR Infrastructure","contact":[{"name":"FHIR Infrastructure","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/fiwg"}]}],"description":"Codes indicating the type of validation to perform.","jurisdiction":[{"coding":[{"system":"http://unstats.un.org/unsd/methods/m49/m49.htm","code":"001","display":"World"}]}],"caseSensitive":true,"valueSet":"http://hl7.org/fhir/ValueSet/resource-validation-mode|5.0.0","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."}]}