@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://terminology.hl7.org/CodeSystem/testscript-operation-codes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "testscript-operation-codes"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2020-04-09T21:10:28.568+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  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 testscript-operation-codes</b></p><a name=\"testscript-operation-codes\"> </a><a name=\"hctestscript-operation-codes\"> </a><a name=\"testscript-operation-codes-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2020-04-09 21:10:28+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/R5/shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/testscript-operation-codes</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\">read<a name=\"testscript-operation-codes-read\"> </a></td><td>Read</td><td>Read the current state of the resource.</td></tr><tr><td style=\"white-space:nowrap\">vread<a name=\"testscript-operation-codes-vread\"> </a></td><td>Version Read</td><td>Read the state of a specific version of the resource.</td></tr><tr><td style=\"white-space:nowrap\">update<a name=\"testscript-operation-codes-update\"> </a></td><td>Update</td><td>Update an existing resource by its id.</td></tr><tr><td style=\"white-space:nowrap\">updateCreate<a name=\"testscript-operation-codes-updateCreate\"> </a></td><td>Create using Update</td><td>Update an existing resource by its id (or create it if it is new).</td></tr><tr><td style=\"white-space:nowrap\">patch<a name=\"testscript-operation-codes-patch\"> </a></td><td>Patch</td><td>Patch an existing resource by its id.</td></tr><tr><td style=\"white-space:nowrap\">delete<a name=\"testscript-operation-codes-delete\"> </a></td><td>Delete</td><td>Delete a resource.</td></tr><tr><td style=\"white-space:nowrap\">deleteCondSingle<a name=\"testscript-operation-codes-deleteCondSingle\"> </a></td><td>Conditional Delete Single</td><td>Conditionally delete a single resource based on search parameters.</td></tr><tr><td style=\"white-space:nowrap\">deleteCondMultiple<a name=\"testscript-operation-codes-deleteCondMultiple\"> </a></td><td>Conditional Delete Multiple</td><td>Conditionally delete one or more resources based on search parameters.</td></tr><tr><td style=\"white-space:nowrap\">history<a name=\"testscript-operation-codes-history\"> </a></td><td>History</td><td>Retrieve the change history for a particular resource or resource type.</td></tr><tr><td style=\"white-space:nowrap\">create<a name=\"testscript-operation-codes-create\"> </a></td><td>Create</td><td>Create a new resource with a server assigned id.</td></tr><tr><td style=\"white-space:nowrap\">search<a name=\"testscript-operation-codes-search\"> </a></td><td>Search</td><td>Search based on some filter criteria.</td></tr><tr><td style=\"white-space:nowrap\">batch<a name=\"testscript-operation-codes-batch\"> </a></td><td>Batch</td><td>Update, create or delete a set of resources as independent actions.</td></tr><tr><td style=\"white-space:nowrap\">transaction<a name=\"testscript-operation-codes-transaction\"> </a></td><td>Transaction</td><td>Update, create or delete a set of resources as a single transaction.</td></tr><tr><td style=\"white-space:nowrap\">capabilities<a name=\"testscript-operation-codes-capabilities\"> </a></td><td>Capabilities</td><td>Get a capability statement for the system.</td></tr><tr><td style=\"white-space:nowrap\">apply<a name=\"testscript-operation-codes-apply\"> </a></td><td>$apply</td><td>Realizes an ActivityDefinition in a specific context</td></tr><tr><td style=\"white-space:nowrap\">closure<a name=\"testscript-operation-codes-closure\"> </a></td><td>$closure</td><td>Closure Table Maintenance</td></tr><tr><td style=\"white-space:nowrap\">find-matches<a name=\"testscript-operation-codes-find-matches\"> </a></td><td>$find-matches</td><td>Finding Codes based on supplied properties</td></tr><tr><td style=\"white-space:nowrap\">conforms<a name=\"testscript-operation-codes-conforms\"> </a></td><td>$conforms</td><td>Compare two systems CapabilityStatements</td></tr><tr><td style=\"white-space:nowrap\">data-requirements<a name=\"testscript-operation-codes-data-requirements\"> </a></td><td>$data-requirements</td><td>Aggregates and returns the parameters and data requirements for a resource and all its dependencies as a single module definition</td></tr><tr><td style=\"white-space:nowrap\">document<a name=\"testscript-operation-codes-document\"> </a></td><td>$document</td><td>Generate a Document</td></tr><tr><td style=\"white-space:nowrap\">evaluate<a name=\"testscript-operation-codes-evaluate\"> </a></td><td>$evaluate</td><td>Request clinical decision support guidance based on a specific decision support module</td></tr><tr><td style=\"white-space:nowrap\">evaluate-measure<a name=\"testscript-operation-codes-evaluate-measure\"> </a></td><td>$evaluate-measure</td><td>Invoke an eMeasure and obtain the results</td></tr><tr><td style=\"white-space:nowrap\">everything<a name=\"testscript-operation-codes-everything\"> </a></td><td>$everything</td><td>Return all the related information as described in the Encounter or Patient</td></tr><tr><td style=\"white-space:nowrap\">expand<a name=\"testscript-operation-codes-expand\"> </a></td><td>$expand</td><td>Value Set Expansion</td></tr><tr><td style=\"white-space:nowrap\">find<a name=\"testscript-operation-codes-find\"> </a></td><td>$find</td><td>Find a functional list</td></tr><tr><td style=\"white-space:nowrap\">graphql<a name=\"testscript-operation-codes-graphql\"> </a></td><td>$graphql</td><td>Invoke a GraphQL query</td></tr><tr><td style=\"white-space:nowrap\">implements<a name=\"testscript-operation-codes-implements\"> </a></td><td>$implements</td><td>Test if a server implements a client's required operations</td></tr><tr><td style=\"white-space:nowrap\">lastn<a name=\"testscript-operation-codes-lastn\"> </a></td><td>$lastn</td><td>Last N Observations Query</td></tr><tr><td style=\"white-space:nowrap\">lookup<a name=\"testscript-operation-codes-lookup\"> </a></td><td>$lookup</td><td>Concept Look Up and Decomposition</td></tr><tr><td style=\"white-space:nowrap\">match<a name=\"testscript-operation-codes-match\"> </a></td><td>$match</td><td>Find patient matches using MPI based logic</td></tr><tr><td style=\"white-space:nowrap\">meta<a name=\"testscript-operation-codes-meta\"> </a></td><td>$meta</td><td>Access a list of profiles, tags, and security labels</td></tr><tr><td style=\"white-space:nowrap\">meta-add<a name=\"testscript-operation-codes-meta-add\"> </a></td><td>$meta-add</td><td>Add profiles, tags, and security labels to a resource</td></tr><tr><td style=\"white-space:nowrap\">meta-delete<a name=\"testscript-operation-codes-meta-delete\"> </a></td><td>$meta-delete</td><td>Delete profiles, tags, and security labels for a resource</td></tr><tr><td style=\"white-space:nowrap\">populate<a name=\"testscript-operation-codes-populate\"> </a></td><td>$populate</td><td>Populate Questionnaire</td></tr><tr><td style=\"white-space:nowrap\">populatehtml<a name=\"testscript-operation-codes-populatehtml\"> </a></td><td>$populatehtml</td><td>Generate HTML for Questionnaire</td></tr><tr><td style=\"white-space:nowrap\">populatelink<a name=\"testscript-operation-codes-populatelink\"> </a></td><td>$populatelink</td><td>Generate a link to a Questionnaire completion webpage</td></tr><tr><td style=\"white-space:nowrap\">process-message<a name=\"testscript-operation-codes-process-message\"> </a></td><td>$process-message</td><td>Process a message according to the defined event</td></tr><tr><td style=\"white-space:nowrap\">questionnaire<a name=\"testscript-operation-codes-questionnaire\"> </a></td><td>$questionnaire</td><td>Build Questionnaire</td></tr><tr><td style=\"white-space:nowrap\">stats<a name=\"testscript-operation-codes-stats\"> </a></td><td>$stats</td><td>Observation Statistics</td></tr><tr><td style=\"white-space:nowrap\">subset<a name=\"testscript-operation-codes-subset\"> </a></td><td>$subset</td><td>Fetch a subset of the CapabilityStatement resource</td></tr><tr><td style=\"white-space:nowrap\">subsumes<a name=\"testscript-operation-codes-subsumes\"> </a></td><td>$subsumes</td><td>CodeSystem Subsumption Testing</td></tr><tr><td style=\"white-space:nowrap\">transform<a name=\"testscript-operation-codes-transform\"> </a></td><td>$transform</td><td>Model Instance Transformation</td></tr><tr><td style=\"white-space:nowrap\">translate<a name=\"testscript-operation-codes-translate\"> </a></td><td>$translate</td><td>Concept Translation</td></tr><tr><td style=\"white-space:nowrap\">validate<a name=\"testscript-operation-codes-validate\"> </a></td><td>$validate</td><td>Validate a resource</td></tr><tr><td style=\"white-space:nowrap\">validate-code<a name=\"testscript-operation-codes-validate-code\"> </a></td><td>$validate-code</td><td>ValueSet based Validation</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-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v "2"^^xsd:integer
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"^^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.1.1195" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "TestScriptOperationCode"] ; # 
  fhir:title [ fhir:v "Test script operation code"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2025-02-25T19:02:44+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  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:copyright [ fhir:v "This material derives from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.html"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/testscript-operation-codes"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/testscript-operation-codes>
  ] ; # 
  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" ]
  ] ) . # 

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

