This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4
Example CodeSystem/resource-validation-mode (Turtle)
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:id [ fhir:v "resource-validation-mode"] ;
fhir:meta [
fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ;
fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
] ;
fhir:text [
fhir:status [ fhir:v "generated" ]
] ;
fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
fhir:value [ fhir:v "fhir" ]
] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/resource-validation-mode"], [ fhir:v "http://hl7.org/fhir/resource-validation-mode"] ;
fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.119" ]
] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.109" ]
] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.48" ]
] [
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.119" ]
] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.1.109" ]
] [
fhir:use [ fhir:v "old" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.2.48" ]
] ) ;
fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ;
fhir:name [ fhir:v "ResourceValidationMode"], [ fhir:v "ResourceValidationMode"] ;
fhir:title [ fhir:v "Resource Validation Mode"], [ fhir:v "Resource Validation Mode"] ;
fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ;
fhir:experimental [ fhir:v "true"], [ fhir:v "true"] ;
fhir:publisher [ fhir:v "HL7 International"], [ fhir:v "HL7 International"] ;
fhir:description [ fhir:v "ResourceValidationMode"], [ fhir:v "ResourceValidationMode"] ;
fhir:jurisdiction ( [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] [
fhir:coding ( [
fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
fhir:code [ fhir:v "001" ] ;
fhir:display [ fhir:v "World" ]
] )
] ) ;
fhir:caseSensitive [ fhir:v "true"] ;
fhir:content [ fhir:v "complete"] ;
fhir:concept ( [
fhir:code [ fhir:v "create" ] ;
fhir:display [ fhir:v "Validate for Create" ] ;
fhir:definition [ fhir:v "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:code [ fhir:v "update" ] ;
fhir:display [ fhir:v "Validate for Update" ] ;
fhir:definition [ fhir:v "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:code [ fhir:v "delete" ] ;
fhir:display [ fhir:v "Validate for Delete" ] ;
fhir:definition [ fhir:v "The server ignores the content and checks that the nominated resource is allowed to be deleted (e.g. checking referential integrity rules)." ]
] [
fhir:code [ fhir:v "profile" ] ;
fhir:display [ fhir:v "Validate Against a Profile" ] ;
fhir:definition [ fhir:v "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.