@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 "testscript-operation-codes"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T21:10:28.568+00:00" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "fhir" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ];
     fhir:Extension.value [ fhir:value "2" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/testscript-operation-codes"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1195" ]
  ];
  fhir:CodeSystem.version [ fhir:value "1.0.0"];
  fhir:CodeSystem.name [ fhir:value "TestScriptOperationCode"];
  fhir:CodeSystem.title [ fhir:value "Test script operation code"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2024-06-28T17:41:34+00:00"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This value set defines a set of codes that are used to indicate the supported operations of a testing engine or tool."];
  fhir:CodeSystem.copyright [ fhir:value "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"];
  fhir:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/testscript-operation-codes"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "read" ];
     fhir:CodeSystem.display [ fhir:value "Read" ];
     fhir:CodeSystem.definition [ fhir:value "Read the current state of the resource." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "vread" ];
     fhir:CodeSystem.display [ fhir:value "Version Read" ];
     fhir:CodeSystem.definition [ fhir:value "Read the state of a specific version of the resource." ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "update" ];
     fhir:CodeSystem.display [ fhir:value "Update" ];
     fhir:CodeSystem.definition [ fhir:value "Update an existing resource by its id." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "updateCreate" ];
     fhir:CodeSystem.display [ fhir:value "Create using Update" ];
     fhir:CodeSystem.definition [ fhir:value "Update an existing resource by its id (or create it if it is new)." ]
  ], [
     fhir:index 4;
     fhir:CodeSystem.code [ fhir:value "patch" ];
     fhir:CodeSystem.display [ fhir:value "Patch" ];
     fhir:CodeSystem.definition [ fhir:value "Patch an existing resource by its id." ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.code [ fhir:value "delete" ];
     fhir:CodeSystem.display [ fhir:value "Delete" ];
     fhir:CodeSystem.definition [ fhir:value "Delete a resource." ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.code [ fhir:value "deleteCondSingle" ];
     fhir:CodeSystem.display [ fhir:value "Conditional Delete Single" ];
     fhir:CodeSystem.definition [ fhir:value "Conditionally delete a single resource based on search parameters." ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "deleteCondMultiple" ];
     fhir:CodeSystem.display [ fhir:value "Conditional Delete Multiple" ];
     fhir:CodeSystem.definition [ fhir:value "Conditionally delete one or more resources based on search parameters." ]
  ], [
     fhir:index 8;
     fhir:CodeSystem.code [ fhir:value "history" ];
     fhir:CodeSystem.display [ fhir:value "History" ];
     fhir:CodeSystem.definition [ fhir:value "Retrieve the change history for a particular resource or resource type." ]
  ], [
     fhir:index 9;
     fhir:CodeSystem.code [ fhir:value "create" ];
     fhir:CodeSystem.display [ fhir:value "Create" ];
     fhir:CodeSystem.definition [ fhir:value "Create a new resource with a server assigned id." ]
  ], [
     fhir:index 10;
     fhir:CodeSystem.code [ fhir:value "search" ];
     fhir:CodeSystem.display [ fhir:value "Search" ];
     fhir:CodeSystem.definition [ fhir:value "Search based on some filter criteria." ]
  ], [
     fhir:index 11;
     fhir:CodeSystem.code [ fhir:value "batch" ];
     fhir:CodeSystem.display [ fhir:value "Batch" ];
     fhir:CodeSystem.definition [ fhir:value "Update, create or delete a set of resources as independent actions." ]
  ], [
     fhir:index 12;
     fhir:CodeSystem.code [ fhir:value "transaction" ];
     fhir:CodeSystem.display [ fhir:value "Transaction" ];
     fhir:CodeSystem.definition [ fhir:value "Update, create or delete a set of resources as a single transaction." ]
  ], [
     fhir:index 13;
     fhir:CodeSystem.code [ fhir:value "capabilities" ];
     fhir:CodeSystem.display [ fhir:value "Capabilities" ];
     fhir:CodeSystem.definition [ fhir:value "Get a capability statement for the system." ]
  ], [
     fhir:index 14;
     fhir:CodeSystem.code [ fhir:value "apply" ];
     fhir:CodeSystem.display [ fhir:value "$apply" ];
     fhir:CodeSystem.definition [ fhir:value "Realizes an ActivityDefinition in a specific context" ]
  ], [
     fhir:index 15;
     fhir:CodeSystem.code [ fhir:value "closure" ];
     fhir:CodeSystem.display [ fhir:value "$closure" ];
     fhir:CodeSystem.definition [ fhir:value "Closure Table Maintenance" ]
  ], [
     fhir:index 16;
     fhir:CodeSystem.code [ fhir:value "find-matches" ];
     fhir:CodeSystem.display [ fhir:value "$find-matches" ];
     fhir:CodeSystem.definition [ fhir:value "Finding Codes based on supplied properties" ]
  ], [
     fhir:index 17;
     fhir:CodeSystem.code [ fhir:value "conforms" ];
     fhir:CodeSystem.display [ fhir:value "$conforms" ];
     fhir:CodeSystem.definition [ fhir:value "Compare two systems CapabilityStatements" ]
  ], [
     fhir:index 18;
     fhir:CodeSystem.code [ fhir:value "data-requirements" ];
     fhir:CodeSystem.display [ fhir:value "$data-requirements" ];
     fhir:CodeSystem.definition [ fhir:value "Aggregates and returns the parameters and data requirements for a resource and all its dependencies as a single module definition" ]
  ], [
     fhir:index 19;
     fhir:CodeSystem.code [ fhir:value "document" ];
     fhir:CodeSystem.display [ fhir:value "$document" ];
     fhir:CodeSystem.definition [ fhir:value "Generate a Document" ]
  ], [
     fhir:index 20;
     fhir:CodeSystem.code [ fhir:value "evaluate" ];
     fhir:CodeSystem.display [ fhir:value "$evaluate" ];
     fhir:CodeSystem.definition [ fhir:value "Request clinical decision support guidance based on a specific decision support module" ]
  ], [
     fhir:index 21;
     fhir:CodeSystem.code [ fhir:value "evaluate-measure" ];
     fhir:CodeSystem.display [ fhir:value "$evaluate-measure" ];
     fhir:CodeSystem.definition [ fhir:value "Invoke an eMeasure and obtain the results" ]
  ], [
     fhir:index 22;
     fhir:CodeSystem.code [ fhir:value "everything" ];
     fhir:CodeSystem.display [ fhir:value "$everything" ];
     fhir:CodeSystem.definition [ fhir:value "Return all the related information as described in the Encounter or Patient" ]
  ], [
     fhir:index 23;
     fhir:CodeSystem.code [ fhir:value "expand" ];
     fhir:CodeSystem.display [ fhir:value "$expand" ];
     fhir:CodeSystem.definition [ fhir:value "Value Set Expansion" ]
  ], [
     fhir:index 24;
     fhir:CodeSystem.code [ fhir:value "find" ];
     fhir:CodeSystem.display [ fhir:value "$find" ];
     fhir:CodeSystem.definition [ fhir:value "Find a functional list" ]
  ], [
     fhir:index 25;
     fhir:CodeSystem.code [ fhir:value "graphql" ];
     fhir:CodeSystem.display [ fhir:value "$graphql" ];
     fhir:CodeSystem.definition [ fhir:value "Invoke a GraphQL query" ]
  ], [
     fhir:index 26;
     fhir:CodeSystem.code [ fhir:value "implements" ];
     fhir:CodeSystem.display [ fhir:value "$implements" ];
     fhir:CodeSystem.definition [ fhir:value "Test if a server implements a client's required operations" ]
  ], [
     fhir:index 27;
     fhir:CodeSystem.code [ fhir:value "lastn" ];
     fhir:CodeSystem.display [ fhir:value "$lastn" ];
     fhir:CodeSystem.definition [ fhir:value "Last N Observations Query" ]
  ], [
     fhir:index 28;
     fhir:CodeSystem.code [ fhir:value "lookup" ];
     fhir:CodeSystem.display [ fhir:value "$lookup" ];
     fhir:CodeSystem.definition [ fhir:value "Concept Look Up and Decomposition" ]
  ], [
     fhir:index 29;
     fhir:CodeSystem.code [ fhir:value "match" ];
     fhir:CodeSystem.display [ fhir:value "$match" ];
     fhir:CodeSystem.definition [ fhir:value "Find patient matches using MPI based logic" ]
  ], [
     fhir:index 30;
     fhir:CodeSystem.code [ fhir:value "meta" ];
     fhir:CodeSystem.display [ fhir:value "$meta" ];
     fhir:CodeSystem.definition [ fhir:value "Access a list of profiles, tags, and security labels" ]
  ], [
     fhir:index 31;
     fhir:CodeSystem.code [ fhir:value "meta-add" ];
     fhir:CodeSystem.display [ fhir:value "$meta-add" ];
     fhir:CodeSystem.definition [ fhir:value "Add profiles, tags, and security labels to a resource" ]
  ], [
     fhir:index 32;
     fhir:CodeSystem.code [ fhir:value "meta-delete" ];
     fhir:CodeSystem.display [ fhir:value "$meta-delete" ];
     fhir:CodeSystem.definition [ fhir:value "Delete profiles, tags, and security labels for a resource" ]
  ], [
     fhir:index 33;
     fhir:CodeSystem.code [ fhir:value "populate" ];
     fhir:CodeSystem.display [ fhir:value "$populate" ];
     fhir:CodeSystem.definition [ fhir:value "Populate Questionnaire" ]
  ], [
     fhir:index 34;
     fhir:CodeSystem.code [ fhir:value "populatehtml" ];
     fhir:CodeSystem.display [ fhir:value "$populatehtml" ];
     fhir:CodeSystem.definition [ fhir:value "Generate HTML for Questionnaire" ]
  ], [
     fhir:index 35;
     fhir:CodeSystem.code [ fhir:value "populatelink" ];
     fhir:CodeSystem.display [ fhir:value "$populatelink" ];
     fhir:CodeSystem.definition [ fhir:value "Generate a link to a Questionnaire completion webpage" ]
  ], [
     fhir:index 36;
     fhir:CodeSystem.code [ fhir:value "process-message" ];
     fhir:CodeSystem.display [ fhir:value "$process-message" ];
     fhir:CodeSystem.definition [ fhir:value "Process a message according to the defined event" ]
  ], [
     fhir:index 37;
     fhir:CodeSystem.code [ fhir:value "questionnaire" ];
     fhir:CodeSystem.display [ fhir:value "$questionnaire" ];
     fhir:CodeSystem.definition [ fhir:value "Build Questionnaire" ]
  ], [
     fhir:index 38;
     fhir:CodeSystem.code [ fhir:value "stats" ];
     fhir:CodeSystem.display [ fhir:value "$stats" ];
     fhir:CodeSystem.definition [ fhir:value "Observation Statistics" ]
  ], [
     fhir:index 39;
     fhir:CodeSystem.code [ fhir:value "subset" ];
     fhir:CodeSystem.display [ fhir:value "$subset" ];
     fhir:CodeSystem.definition [ fhir:value "Fetch a subset of the CapabilityStatement resource" ]
  ], [
     fhir:index 40;
     fhir:CodeSystem.code [ fhir:value "subsumes" ];
     fhir:CodeSystem.display [ fhir:value "$subsumes" ];
     fhir:CodeSystem.definition [ fhir:value "CodeSystem Subsumption Testing" ]
  ], [
     fhir:index 41;
     fhir:CodeSystem.code [ fhir:value "transform" ];
     fhir:CodeSystem.display [ fhir:value "$transform" ];
     fhir:CodeSystem.definition [ fhir:value "Model Instance Transformation" ]
  ], [
     fhir:index 42;
     fhir:CodeSystem.code [ fhir:value "translate" ];
     fhir:CodeSystem.display [ fhir:value "$translate" ];
     fhir:CodeSystem.definition [ fhir:value "Concept Translation" ]
  ], [
     fhir:index 43;
     fhir:CodeSystem.code [ fhir:value "validate" ];
     fhir:CodeSystem.display [ fhir:value "$validate" ];
     fhir:CodeSystem.definition [ fhir:value "Validate a resource" ]
  ], [
     fhir:index 44;
     fhir:CodeSystem.code [ fhir:value "validate-code" ];
     fhir:CodeSystem.display [ fhir:value "$validate-code" ];
     fhir:CodeSystem.definition [ fhir:value "ValueSet based Validation" ]
  ] .

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

