{
  "resourceType": "CodeSystem",
  "id": "testscript-operation-codes",
  "meta": {
    "lastUpdated": "2017-04-18T21:44:43.294+00:00",
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <h2>TestScriptOperationCode</h2>\n            <div>\n              <p>This value set defines a set of codes that are used to indicate the supported operations of a testing engine or tool.</p>\n\n            </div>\n            <p>This code system http://hl7.org/fhir/testscript-operation-codes defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td>\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>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>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>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>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>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>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>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>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>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>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>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>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>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>apply\n                  <a name=\"testscript-operation-codes-apply\"> </a>\n                </td>\n                <td>$apply</td>\n                <td>Realize a definition in a specific context</td>\n              </tr>\n              <tr>\n                <td>cancel\n                  <a name=\"testscript-operation-codes-cancel\"> </a>\n                </td>\n                <td>$cancel</td>\n                <td>Cancel Task</td>\n              </tr>\n              <tr>\n                <td>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>compose\n                  <a name=\"testscript-operation-codes-compose\"> </a>\n                </td>\n                <td>$compose</td>\n                <td>Code Composition based on supplied properties</td>\n              </tr>\n              <tr>\n                <td>conforms\n                  <a name=\"testscript-operation-codes-conforms\"> </a>\n                </td>\n                <td>$conforms</td>\n                <td>Test if a server implements a client's required operations</td>\n              </tr>\n              <tr>\n                <td>data-requirements\n                  <a name=\"testscript-operation-codes-data-requirements\"> </a>\n                </td>\n                <td>$data-requirements</td>\n                <td>Aggregates and return the parameters and data requirements as a single module definition library</td>\n              </tr>\n              <tr>\n                <td>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>evaluate\n                  <a name=\"testscript-operation-codes-evaluate\"> </a>\n                </td>\n                <td>$evaluate</td>\n                <td>Evaluate DecisionSupportRule / DecisionSupportServiceModule</td>\n              </tr>\n              <tr>\n                <td>evaluate-measure\n                  <a name=\"testscript-operation-codes-evaluate-measure\"> </a>\n                </td>\n                <td>$evaluate-measure</td>\n                <td>Evaluate Measure</td>\n              </tr>\n              <tr>\n                <td>everything\n                  <a name=\"testscript-operation-codes-everything\"> </a>\n                </td>\n                <td>$everything</td>\n                <td>Fetch Encounter/Patient Record</td>\n              </tr>\n              <tr>\n                <td>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>fail\n                  <a name=\"testscript-operation-codes-fail\"> </a>\n                </td>\n                <td>$fail</td>\n                <td>Fail Task</td>\n              </tr>\n              <tr>\n                <td>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>finish\n                  <a name=\"testscript-operation-codes-finish\"> </a>\n                </td>\n                <td>$finish</td>\n                <td>Finish Task</td>\n              </tr>\n              <tr>\n                <td>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>lookup\n                  <a name=\"testscript-operation-codes-lookup\"> </a>\n                </td>\n                <td>$lookup</td>\n                <td>Concept Look Up</td>\n              </tr>\n              <tr>\n                <td>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>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>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>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>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>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>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>process-message\n                  <a name=\"testscript-operation-codes-process-message\"> </a>\n                </td>\n                <td>$process-message</td>\n                <td>Process Message</td>\n              </tr>\n              <tr>\n                <td>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>release\n                  <a name=\"testscript-operation-codes-release\"> </a>\n                </td>\n                <td>$release</td>\n                <td>Release Task</td>\n              </tr>\n              <tr>\n                <td>reserve\n                  <a name=\"testscript-operation-codes-reserve\"> </a>\n                </td>\n                <td>$reserve</td>\n                <td>Reserve Task</td>\n              </tr>\n              <tr>\n                <td>resume\n                  <a name=\"testscript-operation-codes-resume\"> </a>\n                </td>\n                <td>$resume</td>\n                <td>Resume Task</td>\n              </tr>\n              <tr>\n                <td>set-input\n                  <a name=\"testscript-operation-codes-set-input\"> </a>\n                </td>\n                <td>$set-input</td>\n                <td>Set Task Input</td>\n              </tr>\n              <tr>\n                <td>set-output\n                  <a name=\"testscript-operation-codes-set-output\"> </a>\n                </td>\n                <td>$set-output</td>\n                <td>Set Task Output</td>\n              </tr>\n              <tr>\n                <td>start\n                  <a name=\"testscript-operation-codes-start\"> </a>\n                </td>\n                <td>$start</td>\n                <td>Start Task</td>\n              </tr>\n              <tr>\n                <td>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>stop\n                  <a name=\"testscript-operation-codes-stop\"> </a>\n                </td>\n                <td>$stop</td>\n                <td>Stop Task</td>\n              </tr>\n              <tr>\n                <td>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>subsumes\n                  <a name=\"testscript-operation-codes-subsumes\"> </a>\n                </td>\n                <td>$subsumes</td>\n                <td>Determine if code A is subsumed by code B</td>\n              </tr>\n              <tr>\n                <td>suspend\n                  <a name=\"testscript-operation-codes-suspend\"> </a>\n                </td>\n                <td>$suspend</td>\n                <td>Suspend Task</td>\n              </tr>\n              <tr>\n                <td>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>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>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>validate-code\n                  <a name=\"testscript-operation-codes-validate-code\"> </a>\n                </td>\n                <td>$validate-code</td>\n                <td>Value Set based Validation</td>\n              </tr>\n            </table>\n          </div>"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status",
      "valueString": "Informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    }
  ],
  "url": "http://hl7.org/fhir/testscript-operation-codes",
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:oid:2.16.840.1.113883.4.642.1.691"
  },
  "version": "3.0.1",
  "name": "TestScriptOperationCode",
  "status": "draft",
  "experimental": true,
  "publisher": "FHIR Project team",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "This value set defines a set of codes that are used to indicate the supported operations of a testing engine or tool.",
  "caseSensitive": true,
  "valueSet": "http://hl7.org/fhir/ValueSet/testscript-operation-codes",
  "content": "complete",
  "concept": [
    {
      "code": "read",
      "display": "Read",
      "definition": "Read the current state of the resource."
    },
    {
      "code": "vread",
      "display": "Version Read",
      "definition": "Read the state of a specific version of the resource."
    },
    {
      "code": "update",
      "display": "Update",
      "definition": "Update an existing resource by its id."
    },
    {
      "code": "updateCreate",
      "display": "Create using Update",
      "definition": "Update an existing resource by its id (or create it if it is new)."
    },
    {
      "code": "delete",
      "display": "Delete",
      "definition": "Delete a resource."
    },
    {
      "code": "deleteCondSingle",
      "display": "Conditional Delete Single",
      "definition": "Conditionally delete a single resource based on search parameters."
    },
    {
      "code": "deleteCondMultiple",
      "display": "Conditional Delete Multiple",
      "definition": "Conditionally delete one or more resources based on search parameters."
    },
    {
      "code": "history",
      "display": "History",
      "definition": "Retrieve the change history for a particular resource or resource type."
    },
    {
      "code": "create",
      "display": "Create",
      "definition": "Create a new resource with a server assigned id."
    },
    {
      "code": "search",
      "display": "Search",
      "definition": "Search based on some filter criteria."
    },
    {
      "code": "batch",
      "display": "Batch",
      "definition": "Update, create or delete a set of resources as independent actions."
    },
    {
      "code": "transaction",
      "display": "Transaction",
      "definition": "Update, create or delete a set of resources as a single transaction."
    },
    {
      "code": "capabilities",
      "display": "Capabilities",
      "definition": "Get a capability statement for the system."
    },
    {
      "code": "apply",
      "display": "$apply",
      "definition": "Realize a definition in a specific context"
    },
    {
      "code": "cancel",
      "display": "$cancel",
      "definition": "Cancel Task"
    },
    {
      "code": "closure",
      "display": "$closure",
      "definition": "Closure Table Maintenance"
    },
    {
      "code": "compose",
      "display": "$compose",
      "definition": "Code Composition based on supplied properties"
    },
    {
      "code": "conforms",
      "display": "$conforms",
      "definition": "Test if a server implements a client's required operations"
    },
    {
      "code": "data-requirements",
      "display": "$data-requirements",
      "definition": "Aggregates and return the parameters and data requirements as a single module definition library"
    },
    {
      "code": "document",
      "display": "$document",
      "definition": "Generate a Document"
    },
    {
      "code": "evaluate",
      "display": "$evaluate",
      "definition": "Evaluate DecisionSupportRule / DecisionSupportServiceModule"
    },
    {
      "code": "evaluate-measure",
      "display": "$evaluate-measure",
      "definition": "Evaluate Measure"
    },
    {
      "code": "everything",
      "display": "$everything",
      "definition": "Fetch Encounter/Patient Record"
    },
    {
      "code": "expand",
      "display": "$expand",
      "definition": "Value Set Expansion"
    },
    {
      "code": "fail",
      "display": "$fail",
      "definition": "Fail Task"
    },
    {
      "code": "find",
      "display": "$find",
      "definition": "Find a functional list"
    },
    {
      "code": "finish",
      "display": "$finish",
      "definition": "Finish Task"
    },
    {
      "code": "implements",
      "display": "$implements",
      "definition": "Test if a server implements a client's required operations"
    },
    {
      "code": "lookup",
      "display": "$lookup",
      "definition": "Concept Look Up"
    },
    {
      "code": "match",
      "display": "$match",
      "definition": "Find patient matches using MPI based logic"
    },
    {
      "code": "meta",
      "display": "$meta",
      "definition": "Access a list of profiles, tags, and security labels"
    },
    {
      "code": "meta-add",
      "display": "$meta-add",
      "definition": "Add profiles, tags, and security labels to a resource"
    },
    {
      "code": "meta-delete",
      "display": "$meta-delete",
      "definition": "Delete profiles, tags, and security labels for a resource"
    },
    {
      "code": "populate",
      "display": "$populate",
      "definition": "Populate Questionnaire"
    },
    {
      "code": "populatehtml",
      "display": "$populatehtml",
      "definition": "Generate HTML for Questionnaire"
    },
    {
      "code": "populatelink",
      "display": "$populatelink",
      "definition": "Generate a link to a Questionnaire completion webpage"
    },
    {
      "code": "process-message",
      "display": "$process-message",
      "definition": "Process Message"
    },
    {
      "code": "questionnaire",
      "display": "$questionnaire",
      "definition": "Build Questionnaire"
    },
    {
      "code": "release",
      "display": "$release",
      "definition": "Release Task"
    },
    {
      "code": "reserve",
      "display": "$reserve",
      "definition": "Reserve Task"
    },
    {
      "code": "resume",
      "display": "$resume",
      "definition": "Resume Task"
    },
    {
      "code": "set-input",
      "display": "$set-input",
      "definition": "Set Task Input"
    },
    {
      "code": "set-output",
      "display": "$set-output",
      "definition": "Set Task Output"
    },
    {
      "code": "start",
      "display": "$start",
      "definition": "Start Task"
    },
    {
      "code": "stats",
      "display": "$stats",
      "definition": "Observation Statistics"
    },
    {
      "code": "stop",
      "display": "$stop",
      "definition": "Stop Task"
    },
    {
      "code": "subset",
      "display": "$subset",
      "definition": "Fetch a subset of the CapabilityStatement resource"
    },
    {
      "code": "subsumes",
      "display": "$subsumes",
      "definition": "Determine if code A is subsumed by code B"
    },
    {
      "code": "suspend",
      "display": "$suspend",
      "definition": "Suspend Task"
    },
    {
      "code": "transform",
      "display": "$transform",
      "definition": "Model Instance Transformation"
    },
    {
      "code": "translate",
      "display": "$translate",
      "definition": "Concept Translation"
    },
    {
      "code": "validate",
      "display": "$validate",
      "definition": "Validate a resource"
    },
    {
      "code": "validate-code",
      "display": "$validate-code",
      "definition": "Value Set based Validation"
    }
  ]
}