Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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

Example CodeSystem/resource-validation-mode (Turtle)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemResourceValidationMode

@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "resource-validation-mode"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2022-09-07T10:58:29.429+10:00" ];
     fhir:Meta.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ];
  fhir:CanonicalResource.url [ fhir:value "http://hl7.org/fhir/resource-validation-mode"];
  fhir:CanonicalResource.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.119" ]
  ];
  fhir:CanonicalResource.version [ fhir:value "5.0.0-ballot"];
  fhir:CanonicalResource.name [ fhir:value "ResourceValidationMode"];
  fhir:CanonicalResource.status [ fhir:value "draft"];
  fhir:CanonicalResource.experimental [ fhir:value "false"];
  fhir:CodeSystem.url [ fhir:value "http://hl7.org/fhir/resource-validation-mode"];
  fhir:CodeSystem.identifier [
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.4.119" ]
  ];
  fhir:CodeSystem.version [ fhir:value "5.0.0-ballot"];
  fhir:CodeSystem.name [ fhir:value "ResourceValidationMode"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:ConceptDefinitionComponent.code [ fhir:value "create" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Validate for Create" ];
     fhir:ConceptDefinitionComponent.definition [ fhir: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)." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "update" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Validate for Update" ];
     fhir:ConceptDefinitionComponent.definition [ fhir: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)." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "delete" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Validate for Delete" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "The server ignores the content and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules)." ]
  ], [
     fhir:ConceptDefinitionComponent.code [ fhir:value "profile" ];
     fhir:ConceptDefinitionComponent.display [ fhir:value "Validate Against a Profile" ];
     fhir:ConceptDefinitionComponent.definition [ fhir:value "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.