@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/4.3/CodeSystem/testscript-operation-codes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "testscript-operation-codes"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system http://terminology.hl7.org/CodeSystem/testscript-operation-codes defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">read\n                  <a name=\"testscript-operation-codes-read\"> </a>\n                </td>\n                <td>Read</td>\n                <td>Read the current state of the resource.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">vread\n                  <a name=\"testscript-operation-codes-vread\"> </a>\n                </td>\n                <td>Version Read</td>\n                <td>Read the state of a specific version of the resource.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">update\n                  <a name=\"testscript-operation-codes-update\"> </a>\n                </td>\n                <td>Update</td>\n                <td>Update an existing resource by its id.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">updateCreate\n                  <a name=\"testscript-operation-codes-updateCreate\"> </a>\n                </td>\n                <td>Create using Update</td>\n                <td>Update an existing resource by its id (or create it if it is new).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">patch\n                  <a name=\"testscript-operation-codes-patch\"> </a>\n                </td>\n                <td>Patch</td>\n                <td>Patch an existing resource by its id.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">delete\n                  <a name=\"testscript-operation-codes-delete\"> </a>\n                </td>\n                <td>Delete</td>\n                <td>Delete a resource.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">deleteCondSingle\n                  <a name=\"testscript-operation-codes-deleteCondSingle\"> </a>\n                </td>\n                <td>Conditional Delete Single</td>\n                <td>Conditionally delete a single resource based on search parameters.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">deleteCondMultiple\n                  <a name=\"testscript-operation-codes-deleteCondMultiple\"> </a>\n                </td>\n                <td>Conditional Delete Multiple</td>\n                <td>Conditionally delete one or more resources based on search parameters.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">history\n                  <a name=\"testscript-operation-codes-history\"> </a>\n                </td>\n                <td>History</td>\n                <td>Retrieve the change history for a particular resource or resource type.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">create\n                  <a name=\"testscript-operation-codes-create\"> </a>\n                </td>\n                <td>Create</td>\n                <td>Create a new resource with a server assigned id.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">search\n                  <a name=\"testscript-operation-codes-search\"> </a>\n                </td>\n                <td>Search</td>\n                <td>Search based on some filter criteria.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">batch\n                  <a name=\"testscript-operation-codes-batch\"> </a>\n                </td>\n                <td>Batch</td>\n                <td>Update, create or delete a set of resources as independent actions.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">transaction\n                  <a name=\"testscript-operation-codes-transaction\"> </a>\n                </td>\n                <td>Transaction</td>\n                <td>Update, create or delete a set of resources as a single transaction.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">capabilities\n                  <a name=\"testscript-operation-codes-capabilities\"> </a>\n                </td>\n                <td>Capabilities</td>\n                <td>Get a capability statement for the system.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">apply\n                  <a name=\"testscript-operation-codes-apply\"> </a>\n                </td>\n                <td>$apply</td>\n                <td>Realizes an ActivityDefinition in a specific context</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">closure\n                  <a name=\"testscript-operation-codes-closure\"> </a>\n                </td>\n                <td>$closure</td>\n                <td>Closure Table Maintenance</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">find-matches\n                  <a name=\"testscript-operation-codes-find-matches\"> </a>\n                </td>\n                <td>$find-matches</td>\n                <td>Finding Codes based on supplied properties</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">conforms\n                  <a name=\"testscript-operation-codes-conforms\"> </a>\n                </td>\n                <td>$conforms</td>\n                <td>Compare two systems CapabilityStatements</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">data-requirements\n                  <a name=\"testscript-operation-codes-data-requirements\"> </a>\n                </td>\n                <td>$data-requirements</td>\n                <td>Aggregates and returns the parameters and data requirements for a resource and all its dependencies as a single module definition</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">document\n                  <a name=\"testscript-operation-codes-document\"> </a>\n                </td>\n                <td>$document</td>\n                <td>Generate a Document</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">evaluate\n                  <a name=\"testscript-operation-codes-evaluate\"> </a>\n                </td>\n                <td>$evaluate</td>\n                <td>Request clinical decision support guidance based on a specific decision support module</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">evaluate-measure\n                  <a name=\"testscript-operation-codes-evaluate-measure\"> </a>\n                </td>\n                <td>$evaluate-measure</td>\n                <td>Invoke an eMeasure and obtain the results</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">everything\n                  <a name=\"testscript-operation-codes-everything\"> </a>\n                </td>\n                <td>$everything</td>\n                <td>Return all the related information as described in the Encounter or Patient</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">expand\n                  <a name=\"testscript-operation-codes-expand\"> </a>\n                </td>\n                <td>$expand</td>\n                <td>Value Set Expansion</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">find\n                  <a name=\"testscript-operation-codes-find\"> </a>\n                </td>\n                <td>$find</td>\n                <td>Find a functional list</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">graphql\n                  <a name=\"testscript-operation-codes-graphql\"> </a>\n                </td>\n                <td>$graphql</td>\n                <td>Invoke a GraphQL query</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">implements\n                  <a name=\"testscript-operation-codes-implements\"> </a>\n                </td>\n                <td>$implements</td>\n                <td>Test if a server implements a client's required operations</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">lastn\n                  <a name=\"testscript-operation-codes-lastn\"> </a>\n                </td>\n                <td>$lastn</td>\n                <td>Last N Observations Query</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">lookup\n                  <a name=\"testscript-operation-codes-lookup\"> </a>\n                </td>\n                <td>$lookup</td>\n                <td>Concept Look Up and Decomposition</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">match\n                  <a name=\"testscript-operation-codes-match\"> </a>\n                </td>\n                <td>$match</td>\n                <td>Find patient matches using MPI based logic</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">meta\n                  <a name=\"testscript-operation-codes-meta\"> </a>\n                </td>\n                <td>$meta</td>\n                <td>Access a list of profiles, tags, and security labels</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">meta-add\n                  <a name=\"testscript-operation-codes-meta-add\"> </a>\n                </td>\n                <td>$meta-add</td>\n                <td>Add profiles, tags, and security labels to a resource</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">meta-delete\n                  <a name=\"testscript-operation-codes-meta-delete\"> </a>\n                </td>\n                <td>$meta-delete</td>\n                <td>Delete profiles, tags, and security labels for a resource</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">populate\n                  <a name=\"testscript-operation-codes-populate\"> </a>\n                </td>\n                <td>$populate</td>\n                <td>Populate Questionnaire</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">populatehtml\n                  <a name=\"testscript-operation-codes-populatehtml\"> </a>\n                </td>\n                <td>$populatehtml</td>\n                <td>Generate HTML for Questionnaire</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">populatelink\n                  <a name=\"testscript-operation-codes-populatelink\"> </a>\n                </td>\n                <td>$populatelink</td>\n                <td>Generate a link to a Questionnaire completion webpage</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">process-message\n                  <a name=\"testscript-operation-codes-process-message\"> </a>\n                </td>\n                <td>$process-message</td>\n                <td>Process a message according to the defined event</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">questionnaire\n                  <a name=\"testscript-operation-codes-questionnaire\"> </a>\n                </td>\n                <td>$questionnaire</td>\n                <td>Build Questionnaire</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">stats\n                  <a name=\"testscript-operation-codes-stats\"> </a>\n                </td>\n                <td>$stats</td>\n                <td>Observation Statistics</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">subset\n                  <a name=\"testscript-operation-codes-subset\"> </a>\n                </td>\n                <td>$subset</td>\n                <td>Fetch a subset of the CapabilityStatement resource</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">subsumes\n                  <a name=\"testscript-operation-codes-subsumes\"> </a>\n                </td>\n                <td>$subsumes</td>\n                <td>CodeSystem Subsumption Testing</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">transform\n                  <a name=\"testscript-operation-codes-transform\"> </a>\n                </td>\n                <td>$transform</td>\n                <td>Model Instance Transformation</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">translate\n                  <a name=\"testscript-operation-codes-translate\"> </a>\n                </td>\n                <td>$translate</td>\n                <td>Concept Translation</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">validate\n                  <a name=\"testscript-operation-codes-validate\"> </a>\n                </td>\n                <td>$validate</td>\n                <td>Validate a resource</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">validate-code\n                  <a name=\"testscript-operation-codes-validate-code\"> </a>\n                </td>\n                <td>$validate-code</td>\n                <td>ValueSet based Validation</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r4b.r4"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     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://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "TestScriptOperationCodes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-13T16:38:45-04:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "FHIR Infrastructure"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "FHIR Infrastructure" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set defines a set of codes that are used to indicate the supported operations of a testing engine or tool."] ; # 
  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: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 "Version Read" ] ;
     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." ]
  ] [
     fhir:code [ fhir:v "updateCreate" ] ;
     fhir:display [ fhir:v "Create using Update" ] ;
     fhir:definition [ fhir:v "Update an existing resource by its id (or create it if it is new)." ]
  ] [
     fhir:code [ fhir:v "patch" ] ;
     fhir:display [ fhir:v "Patch" ] ;
     fhir:definition [ fhir:v "Patch an existing resource by its id." ]
  ] [
     fhir:code [ fhir:v "delete" ] ;
     fhir:display [ fhir:v "Delete" ] ;
     fhir:definition [ fhir:v "Delete a resource." ]
  ] [
     fhir:code [ fhir:v "deleteCondSingle" ] ;
     fhir:display [ fhir:v "Conditional Delete Single" ] ;
     fhir:definition [ fhir:v "Conditionally delete a single resource based on search parameters." ]
  ] [
     fhir:code [ fhir:v "deleteCondMultiple" ] ;
     fhir:display [ fhir:v "Conditional Delete Multiple" ] ;
     fhir:definition [ fhir:v "Conditionally delete one or more resources based on search parameters." ]
  ] [
     fhir:code [ fhir:v "history" ] ;
     fhir:display [ fhir:v "History" ] ;
     fhir:definition [ fhir:v "Retrieve the change history for a particular resource or resource type." ]
  ] [
     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 "search" ] ;
     fhir:display [ fhir:v "Search" ] ;
     fhir:definition [ fhir:v "Search based on some filter criteria." ]
  ] [
     fhir:code [ fhir:v "batch" ] ;
     fhir:display [ fhir:v "Batch" ] ;
     fhir:definition [ fhir:v "Update, create or delete a set of resources as independent actions." ]
  ] [
     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 "capabilities" ] ;
     fhir:display [ fhir:v "Capabilities" ] ;
     fhir:definition [ fhir:v "Get a capability statement for the system." ]
  ] [
     fhir:code [ fhir:v "apply" ] ;
     fhir:display [ fhir:v "$apply" ] ;
     fhir:definition [ fhir:v "Realizes an ActivityDefinition in a specific context" ]
  ] [
     fhir:code [ fhir:v "closure" ] ;
     fhir:display [ fhir:v "$closure" ] ;
     fhir:definition [ fhir:v "Closure Table Maintenance" ]
  ] [
     fhir:code [ fhir:v "find-matches" ] ;
     fhir:display [ fhir:v "$find-matches" ] ;
     fhir:definition [ fhir:v "Finding Codes based on supplied properties" ]
  ] [
     fhir:code [ fhir:v "conforms" ] ;
     fhir:display [ fhir:v "$conforms" ] ;
     fhir:definition [ fhir:v "Compare two systems CapabilityStatements" ]
  ] [
     fhir:code [ fhir:v "data-requirements" ] ;
     fhir:display [ fhir:v "$data-requirements" ] ;
     fhir:definition [ fhir:v "Aggregates and returns the parameters and data requirements for a resource and all its dependencies as a single module definition" ]
  ] [
     fhir:code [ fhir:v "document" ] ;
     fhir:display [ fhir:v "$document" ] ;
     fhir:definition [ fhir:v "Generate a Document" ]
  ] [
     fhir:code [ fhir:v "evaluate" ] ;
     fhir:display [ fhir:v "$evaluate" ] ;
     fhir:definition [ fhir:v "Request clinical decision support guidance based on a specific decision support module" ]
  ] [
     fhir:code [ fhir:v "evaluate-measure" ] ;
     fhir:display [ fhir:v "$evaluate-measure" ] ;
     fhir:definition [ fhir:v "Invoke an eMeasure and obtain the results" ]
  ] [
     fhir:code [ fhir:v "everything" ] ;
     fhir:display [ fhir:v "$everything" ] ;
     fhir:definition [ fhir:v "Return all the related information as described in the Encounter or Patient" ]
  ] [
     fhir:code [ fhir:v "expand" ] ;
     fhir:display [ fhir:v "$expand" ] ;
     fhir:definition [ fhir:v "Value Set Expansion" ]
  ] [
     fhir:code [ fhir:v "find" ] ;
     fhir:display [ fhir:v "$find" ] ;
     fhir:definition [ fhir:v "Find a functional list" ]
  ] [
     fhir:code [ fhir:v "graphql" ] ;
     fhir:display [ fhir:v "$graphql" ] ;
     fhir:definition [ fhir:v "Invoke a GraphQL query" ]
  ] [
     fhir:code [ fhir:v "implements" ] ;
     fhir:display [ fhir:v "$implements" ] ;
     fhir:definition [ fhir:v "Test if a server implements a client's required operations" ]
  ] [
     fhir:code [ fhir:v "lastn" ] ;
     fhir:display [ fhir:v "$lastn" ] ;
     fhir:definition [ fhir:v "Last N Observations Query" ]
  ] [
     fhir:code [ fhir:v "lookup" ] ;
     fhir:display [ fhir:v "$lookup" ] ;
     fhir:definition [ fhir:v "Concept Look Up and Decomposition" ]
  ] [
     fhir:code [ fhir:v "match" ] ;
     fhir:display [ fhir:v "$match" ] ;
     fhir:definition [ fhir:v "Find patient matches using MPI based logic" ]
  ] [
     fhir:code [ fhir:v "meta" ] ;
     fhir:display [ fhir:v "$meta" ] ;
     fhir:definition [ fhir:v "Access a list of profiles, tags, and security labels" ]
  ] [
     fhir:code [ fhir:v "meta-add" ] ;
     fhir:display [ fhir:v "$meta-add" ] ;
     fhir:definition [ fhir:v "Add profiles, tags, and security labels to a resource" ]
  ] [
     fhir:code [ fhir:v "meta-delete" ] ;
     fhir:display [ fhir:v "$meta-delete" ] ;
     fhir:definition [ fhir:v "Delete profiles, tags, and security labels for a resource" ]
  ] [
     fhir:code [ fhir:v "populate" ] ;
     fhir:display [ fhir:v "$populate" ] ;
     fhir:definition [ fhir:v "Populate Questionnaire" ]
  ] [
     fhir:code [ fhir:v "populatehtml" ] ;
     fhir:display [ fhir:v "$populatehtml" ] ;
     fhir:definition [ fhir:v "Generate HTML for Questionnaire" ]
  ] [
     fhir:code [ fhir:v "populatelink" ] ;
     fhir:display [ fhir:v "$populatelink" ] ;
     fhir:definition [ fhir:v "Generate a link to a Questionnaire completion webpage" ]
  ] [
     fhir:code [ fhir:v "process-message" ] ;
     fhir:display [ fhir:v "$process-message" ] ;
     fhir:definition [ fhir:v "Process a message according to the defined event" ]
  ] [
     fhir:code [ fhir:v "questionnaire" ] ;
     fhir:display [ fhir:v "$questionnaire" ] ;
     fhir:definition [ fhir:v "Build Questionnaire" ]
  ] [
     fhir:code [ fhir:v "stats" ] ;
     fhir:display [ fhir:v "$stats" ] ;
     fhir:definition [ fhir:v "Observation Statistics" ]
  ] [
     fhir:code [ fhir:v "subset" ] ;
     fhir:display [ fhir:v "$subset" ] ;
     fhir:definition [ fhir:v "Fetch a subset of the CapabilityStatement resource" ]
  ] [
     fhir:code [ fhir:v "subsumes" ] ;
     fhir:display [ fhir:v "$subsumes" ] ;
     fhir:definition [ fhir:v "CodeSystem Subsumption Testing" ]
  ] [
     fhir:code [ fhir:v "transform" ] ;
     fhir:display [ fhir:v "$transform" ] ;
     fhir:definition [ fhir:v "Model Instance Transformation" ]
  ] [
     fhir:code [ fhir:v "translate" ] ;
     fhir:display [ fhir:v "$translate" ] ;
     fhir:definition [ fhir:v "Concept Translation" ]
  ] [
     fhir:code [ fhir:v "validate" ] ;
     fhir:display [ fhir:v "$validate" ] ;
     fhir:definition [ fhir:v "Validate a resource" ]
  ] [
     fhir:code [ fhir:v "validate-code" ] ;
     fhir:display [ fhir:v "$validate-code" ] ;
     fhir:definition [ fhir:v "ValueSet based Validation" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

