FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example CodeSystem/restful-interaction (Turtle)

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

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

Definition for Code SystemFHIRRestfulInteractions

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

<http://hl7.org/fhir/CodeSystem/restful-interaction> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "restful-interaction"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-03-13T18:11:00.023+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem restful-interaction</b></p><a name=\"restful-interaction\"> </a><a name=\"hcrestful-interaction\"> </a><a name=\"restful-interaction-en-US\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/restful-interaction</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">read<a name=\"restful-interaction-read\"> </a></td><td>Read the current state of the resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">vread<a name=\"restful-interaction-vread\"> </a></td><td>Read the state of a specific version of the resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">update<a name=\"restful-interaction-update\"> </a></td><td>Update an existing resource by its id (or create it if it is new).</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">update-conditional<a name=\"restful-interaction-update-conditional\"> </a></td><td>Update an existing resource based on some identification criteria (or create it if it is new).</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">patch<a name=\"restful-interaction-patch\"> </a></td><td>Update an existing resource by posting a set of changes to it.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">patch-conditional<a name=\"restful-interaction-patch-conditional\"> </a></td><td>Update an existing resource, based on some identification criteria, by posting a set of changes to it.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">delete<a name=\"restful-interaction-delete\"> </a></td><td>Delete a resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">delete-conditional-single<a name=\"restful-interaction-delete-conditional-single\"> </a></td><td>Delete a single resource based on some identification criteria.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">delete-conditional-multiple<a name=\"restful-interaction-delete-conditional-multiple\"> </a></td><td>Delete one or more resources based on some identification criteria.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">delete-history<a name=\"restful-interaction-delete-history\"> </a></td><td>Delete all historical versions of a resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">delete-history-version<a name=\"restful-interaction-delete-history-version\"> </a></td><td>Delete a specific version of a resource.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">history<a name=\"restful-interaction-history\"> </a></td><td>Retrieve the change history for a particular resource, type of resource, or the entire system.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  history-instance<a name=\"restful-interaction-history-instance\"> </a></td><td>Retrieve the change history for a particular resource.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  history-type<a name=\"restful-interaction-history-type\"> </a></td><td>Retrieve the change history for all resources of a particular type.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  history-system<a name=\"restful-interaction-history-system\"> </a></td><td>Retrieve the change history for all resources on a system.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">create<a name=\"restful-interaction-create\"> </a></td><td>Create a new resource with a server assigned id.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">create-conditional<a name=\"restful-interaction-create-conditional\"> </a></td><td>Create a new resource with a server assigned id if an equivalent resource does not already exist.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">search<a name=\"restful-interaction-search\"> </a></td><td>Search a resource type or all resources based on some filter criteria.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  search-type<a name=\"restful-interaction-search-type\"> </a></td><td>Search all resources of the specified type based on some filter criteria.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  search-system<a name=\"restful-interaction-search-system\"> </a></td><td>Search all resources based on some filter criteria.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  search-compartment<a name=\"restful-interaction-search-compartment\"> </a></td><td>Search resources in a compartment based on some filter criteria.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">capabilities<a name=\"restful-interaction-capabilities\"> </a></td><td>Get a Capability Statement for the system.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">transaction<a name=\"restful-interaction-transaction\"> </a></td><td>Update, create or delete a set of resources as a single transaction.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">batch<a name=\"restful-interaction-batch\"> </a></td><td>perform a set of a separate interactions in a single http operation</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">operation<a name=\"restful-interaction-operation\"> </a></td><td>Perform an operation as defined by an OperationDefinition.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "fhir"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "normative"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "4.0.0"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 5
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/restful-interaction"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1823" ]
  ] ) ; # 
  fhir:version [ fhir:v "6.0.0-ballot2"] ; # 
  fhir:name [ fhir:v "FHIRRestfulInteractions"] ; # 
  fhir:title [ fhir:v "FHIR Restful Interactions"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International / FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The set of interactions defined by the RESTful part of the FHIR specification."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/restful-interaction"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/restful-interaction>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "read" ] ;
     fhir:display [ fhir:v "read" ] ;
     fhir:definition [ fhir:v "Read the current state of the resource." ]
  ] [
     fhir:code [ fhir:v "vread" ] ;
     fhir:display [ fhir:v "vread" ] ;
     fhir:definition [ fhir:v "Read the state of a specific version of the resource." ]
  ] [
     fhir:code [ fhir:v "update" ] ;
     fhir:display [ fhir:v "update" ] ;
     fhir:definition [ fhir:v "Update an existing resource by its id (or create it if it is new)." ]
  ] [
     fhir:code [ fhir:v "update-conditional" ] ;
     fhir:display [ fhir:v "update-conditional" ] ;
     fhir:definition [ fhir:v "Update an existing resource based on some identification criteria (or create it if it is new)." ]
  ] [
     fhir:code [ fhir:v "patch" ] ;
     fhir:display [ fhir:v "patch" ] ;
     fhir:definition [ fhir:v "Update an existing resource by posting a set of changes to it." ]
  ] [
     fhir:code [ fhir:v "patch-conditional" ] ;
     fhir:display [ fhir:v "patch-conditional" ] ;
     fhir:definition [ fhir:v "Update an existing resource, based on some identification criteria, by posting a set of changes to it." ]
  ] [
     fhir:code [ fhir:v "delete" ] ;
     fhir:display [ fhir:v "delete" ] ;
     fhir:definition [ fhir:v "Delete a resource." ]
  ] [
     fhir:code [ fhir:v "delete-conditional-single" ] ;
     fhir:display [ fhir:v "delete-conditional-single" ] ;
     fhir:definition [ fhir:v "Delete a single resource based on some identification criteria." ]
  ] [
     fhir:code [ fhir:v "delete-conditional-multiple" ] ;
     fhir:display [ fhir:v "delete-conditional-multiple" ] ;
     fhir:definition [ fhir:v "Delete one or more resources based on some identification criteria." ]
  ] [
     fhir:code [ fhir:v "delete-history" ] ;
     fhir:display [ fhir:v "delete-history" ] ;
     fhir:definition [ fhir:v "Delete all historical versions of a resource." ]
  ] [
     fhir:code [ fhir:v "delete-history-version" ] ;
     fhir:display [ fhir:v "delete-history-version" ] ;
     fhir:definition [ fhir:v "Delete a specific version of a resource." ]
  ] [
     fhir:code [ fhir:v "history" ] ;
     fhir:display [ fhir:v "history" ] ;
     fhir:definition [ fhir:v "Retrieve the change history for a particular resource, type of resource, or the entire system." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "history-instance" ] ;
       fhir:display [ fhir:v "history-instance" ] ;
       fhir:definition [ fhir:v "Retrieve the change history for a particular resource." ]
     ] [
       fhir:code [ fhir:v "history-type" ] ;
       fhir:display [ fhir:v "history-type" ] ;
       fhir:definition [ fhir:v "Retrieve the change history for all resources of a particular type." ]
     ] [
       fhir:code [ fhir:v "history-system" ] ;
       fhir:display [ fhir:v "history-system" ] ;
       fhir:definition [ fhir:v "Retrieve the change history for all resources on a system." ]
     ] )
  ] [
     fhir:code [ fhir:v "create" ] ;
     fhir:display [ fhir:v "create" ] ;
     fhir:definition [ fhir:v "Create a new resource with a server assigned id." ]
  ] [
     fhir:code [ fhir:v "create-conditional" ] ;
     fhir:display [ fhir:v "create-conditional" ] ;
     fhir:definition [ fhir:v "Create a new resource with a server assigned id if an equivalent resource does not already exist." ]
  ] [
     fhir:code [ fhir:v "search" ] ;
     fhir:display [ fhir:v "search" ] ;
     fhir:definition [ fhir:v "Search a resource type or all resources based on some filter criteria." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "search-type" ] ;
       fhir:display [ fhir:v "search-type" ] ;
       fhir:definition [ fhir:v "Search all resources of the specified type based on some filter criteria." ]
     ] [
       fhir:code [ fhir:v "search-system" ] ;
       fhir:display [ fhir:v "search-system" ] ;
       fhir:definition [ fhir:v "Search all resources based on some filter criteria." ]
     ] [
       fhir:code [ fhir:v "search-compartment" ] ;
       fhir:display [ fhir:v "search-compartment" ] ;
       fhir:definition [ fhir:v "Search resources in a compartment based on some filter criteria." ]
     ] )
  ] [
     fhir:code [ fhir:v "capabilities" ] ;
     fhir:display [ fhir:v "capabilities" ] ;
     fhir:definition [ fhir:v "Get a Capability Statement for the system." ]
  ] [
     fhir:code [ fhir:v "transaction" ] ;
     fhir:display [ fhir:v "transaction" ] ;
     fhir:definition [ fhir:v "Update, create or delete a set of resources as a single transaction." ]
  ] [
     fhir:code [ fhir:v "batch" ] ;
     fhir:display [ fhir:v "batch" ] ;
     fhir:definition [ fhir:v "perform a set of a separate interactions in a single http operation" ]
  ] [
     fhir:code [ fhir:v "operation" ] ;
     fhir:display [ fhir:v "operation" ] ;
     fhir:definition [ fhir:v "Perform an operation as defined by an OperationDefinition." ]
  ] ) . # 

# -------------------------------------------------------------------------------------


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.