{
  "resourceType" : "OperationDefinition",
  "id" : "EOrderViewOperation",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition EOrderViewOperation</b></p><a name=\"EOrderViewOperation\"> </a><a name=\"hcEOrderViewOperation\"> </a><p>URL: [base]/Task/$view_request</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>requisition</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#Identifier\">Identifier</a></td><td/><td><div><p>The group identifier for the request, typically the barcode.</p>\n</div></td></tr><tr><td>OUT</td><td>error</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Returns an error if request could not be viewed.</p>\n</div></td></tr><tr><td>OUT</td><td>bundle</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>Specification of the order.</p>\n</div></td></tr><tr><td>OUT</td><td>providerHistory</td><td/><td>0..1</td><td/><td/><td><div><p>Fulfilment history.</p>\n</div></td></tr><tr><td>OUT</td><td>providerHistory.organizationTaskGroup</td><td/><td>1..*</td><td/><td/><td><div><p>A group of fillers and their group Tasks.</p>\n</div></td></tr><tr><td>OUT</td><td>providerHistory.organizationTaskGroup.organizationName</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td/><td><div><p>Name of the filler.</p>\n</div></td></tr><tr><td>OUT</td><td>providerHistory.organizationTaskGroup.groupTask</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/task.html\">Task</a></td><td/><td><div><p>Group Task for this filler.</p>\n</div></td></tr></table></div>"
  },
  "url" : "http://fhir.geniesolutions.io/OperationDefinition/EOrderViewOperation",
  "version" : "1.2.60",
  "name" : "EOrderViewOperation",
  "title" : "Diagnostic Request View Operation",
  "status" : "active",
  "kind" : "operation",
  "date" : "2026-04-03",
  "publisher" : "Magentus Practice Management",
  "contact" : [{
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management"
    },
    {
      "system" : "email",
      "value" : "andy.bond@magentus.com"
    }]
  },
  {
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management",
      "use" : "work"
    }]
  }],
  "description" : "This operation is used to view a request based on a scanned barcode and return information about the request including any relevant fulfilments. It is designed to be used by Patient portals to present details of requests for a patient based on a request barcode.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "AU"
    }]
  }],
  "code" : "view_request",
  "resource" : ["Task"],
  "system" : false,
  "type" : true,
  "instance" : false,
  "parameter" : [{
    "name" : "requisition",
    "use" : "in",
    "min" : 1,
    "max" : "1",
    "documentation" : "The group identifier for the request, typically the barcode.",
    "type" : "Identifier"
  },
  {
    "name" : "error",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Returns an error if request could not be viewed.",
    "type" : "string"
  },
  {
    "name" : "bundle",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Specification of the order.",
    "type" : "Bundle"
  },
  {
    "name" : "providerHistory",
    "use" : "out",
    "min" : 0,
    "max" : "1",
    "documentation" : "Fulfilment history.",
    "part" : [{
      "name" : "organizationTaskGroup",
      "use" : "out",
      "min" : 1,
      "max" : "*",
      "documentation" : "A group of fillers and their group Tasks.",
      "part" : [{
        "name" : "organizationName",
        "use" : "out",
        "min" : 1,
        "max" : "1",
        "documentation" : "Name of the filler.",
        "type" : "string"
      },
      {
        "name" : "groupTask",
        "use" : "out",
        "min" : 1,
        "max" : "1",
        "documentation" : "Group Task for this filler.",
        "type" : "Task"
      }]
    }]
  }]
}