Magentus Practice Management FHIR® Implementation Guide
1.3.4 - Release
Australia
This page is part of the Magentus Practice Management FHIR Implementation Guide (v1.3.4: Releases Draft) based on FHIR (HL7® FHIR® Standard) R4. No current official version has been published yet. For a full list of available versions, see the Directory of published versions
The Magentus Requesting Service supports pathology and radiology diagnostic requesting with an intent to eventually support the round tripping of requests and reports. The profiles in this section attempt to leverage common foundations for both flavours of requests while allowing for relevant domain specific specialisations.
Some features to note:
ServiceRequest/Task pattern that is defined as Option F in the FHIR Workflow description. This uses a Task to track the fulfillment of a ServiceRequest, primarily through the status and businessStatus attributes.Task for each ServiceRequest, we also allocate a Group Task that provides a resource coordinating a set of individual Tasks for each ServiceRequest (each individual test or service where multiple may constitute a single order). In addition to the explicit Group Task, they are also implicitly bound together through their common groupIdentifier attribute. The reason for an explicit Group Task resource is to aid searching and discovery of complete orders rather than needing to discover each part of the order in isolation.Tasks are also used to track the workflow associated with CommunicationRequests. These are used to track fulfilment of communication with a patient about their diagnostic service or with a clinician for urgent results. In future, this will also be used to carry the existing copyTo information for copying results to other clinicians.The FHIR Resources used by the Magentus Requesting Service are shown in the diagram below.
Typical sequence of interactions involving Placers and Fillers.
The FHIR Resources generated by the Magentus Requesting Service are listed below.
New integrations should use Pathology Request or Radiology Request. The legacy Diagnostic Service Request is retained for backwards compatibility only.
| Magentus Profile | Abstract | FHIR® Resource |
|---|---|---|
| Pathology Request | No | ServiceRequest |
| Radiology Request | No | ServiceRequest |
| Diagnostic Request Base | Yes | ServiceRequest |
| Diagnostic Request Group Task | No | Task |
| Diagnostic Request Task | No | Task |
| Diagnostic Request Task Base | Yes | Task |
| Magentus Profile | Abstract | FHIR® Resource |
|---|---|---|
| Diagnostic Service Request (do not use for new integrations) | No | ServiceRequest |
| Magentus Profile | FHIR® Resource |
|---|---|
| Communication Request to Patient | CommunicationRequest |
| Communication Request to Provider | CommunicationRequest |
| Communication Request Task | Task |
Fulfilment Tasks are linked to an owner organization to indicate a preferred or assigned filler. From a placer's perspective these are diagnostic service brands. From a filler's perspective, brands belong to an organizational entity. We represent these using a child brand Organization linked to a parent Organization. This is important for fillers discovering new requests: one Organization search on the parent returns every brand, so a filler can resolve the resource id of each of its brands at start-up. Task subscriptions and searches then filter on those ids. See Discovering Filler Organizations.
| Magentus Profile | FHIR® Resource |
|---|---|
| Parent Diagnostic Organization | Organization |
| Pathology Brand Organization | Organization |
| Imaging Brand Organization | Organization |
ServiceRequests can include a set of supporting information that provides relevant clinical background for the patient. They are linked from ServiceRequest.supportingInfo which is a list of resource references. All supporting information resources should include a narrative representation, e.g. Observation.text, so that the resource can be processed into text-based clinical notes if the structured information in the resource cannot be processed. Since a diagnostic order can include multiple requests, common supportingInfo should be referenced from each ServiceRequest. This means that referenced resource should be a full resource in the order transaction and not contained within the ServiceRequest.
Additional resources are contained within the Requesting resources above, the FHIR profiles for these resources are listed below.
| Profile | FHIR® Resource |
|---|---|
| Request Coverage | Coverage |
| Request Encounter | Encounter |
| Request PractitionerRole Contact | PractitionerRole |
The eRequesting workflow describes the interactions between a placer and a filler (or alternate filler) via the eRequesting FHIR Service.
While our use of individual ServiceRequests and Tasks could allow for unique attributes such as Status, Note, etc., we currently require that all child ServiceRequest and Task share common values, including that within the Group Task.
All ServiceRequest and Task resources carry an optional meta.tag slice called placer-family that identifies the placer system that generated the order (e.g. genie, gentu, acmepms). The tag is bound to the EOrdersPlacerTagValueSet and uses the code system http://fhir.geniesolutions.io/CodeSystem/eorders-placer-tag-codesystem.
The EOrdersSubmitOrderBundle profile enforces a consistent-placer-tag invariant that requires all Task and ServiceRequest entries within a submit-order transaction Bundle to carry the same placer-family tag value. This ensures that the placer identity is consistent across the entire order.
An order is one ServiceRequest for each test or procedure. All the ServiceRequests in an order share one placer group number in requisition (type PGN). The placer group number identifies the whole order. The per-service placer identifier identifies one test or procedure in the order. A filler uses it to send appointment, status or result information for one service, and the placer uses it to match that information to the service.
Current behaviour: the platform does not send this identifier yet, and
ServiceRequest.identifieris empty. Until it does, identify one test or procedure by theServiceRequestresource id. The examples in this IG show the format that the platform will send. This change log will announce the release that adds it.
Each ServiceRequest carries exactly one identifier in the placer slice:
| Element | Value | Example |
|---|---|---|
identifier.type |
http://terminology.hl7.org/CodeSystem/v2-0203#PLAC "Placer Identifier" |
|
identifier.system |
The same as requisition.system on the same ServiceRequest |
http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003622500032165 |
identifier.value |
The requisition.value, a hyphen, and a two-digit number that is unique in the order |
GTU99999-A0168-01 |
identifier.assigner |
The same as requisition.assigner: the requesting Organization |
Organization/fdcca47c-e554-46e5-a71f-91ec855faa29 "Small Family Trust" |
The rules for the value are:
$claim.http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/<HPI-O>, the HPI-O scoped order identifier namespace. The placer group number uses the same system, and its values cannot clash with the placer identifier values. When the organisation has no HPI-O, the system is http://fhir.geniesolutions.io/Identifier/GenGtu-scoped/order/<locationId>, the same fallback as the placer group number.A filler that receives the identifier stores it with the test or procedure, and uses it when it reports back on that one service. A filler that maps the order to HL7 v2 usually puts the value in OBR-2 (Placer Order Number). Tell Magentus if your system limits the length of this field.
To find one test or procedure, search by the placer identifier. The eOrders CapabilityStatement declares this search as SHALL:
GET [base]/ServiceRequest?identifier=http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003622500032165|GTU99999-A0168-01
To find all the ServiceRequests of an order, search by requisition.
The placer identifier slice is Must Support on the Diagnostic Request Base profile, so on the Pathology Request and Radiology Request profiles as well. AU eRequesting 1.0.1 also makes ServiceRequest.identifier Must Support, with the obligation SHALL:populate-if-known for a placer. Its examples use the same <placer group number>-<NN> format.
"identifier": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PLAC",
"display": "Placer Identifier"
}
],
"text": "Placer Number"
},
"system": "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003622500032165",
"value": "GTU99999-A0168-01",
"assigner": {
"reference": "Organization/fdcca47c-e554-46e5-a71f-91ec855faa29",
"display": "Small Family Trust"
}
}
],
"requisition": {
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
"code": "PGN"
}
],
"text": "Placer Group Number"
},
"system": "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003622500032165",
"value": "GTU99999-A0168",
"assigner": {
"reference": "Organization/fdcca47c-e554-46e5-a71f-91ec855faa29",
"display": "Small Family Trust"
}
}
The two tests of the order above are the examples Pathology Request FBC (-01) and Pathology Request LFT (-02). The view order response example shows the GenGtu-scoped fallback system.
A placer system interacts with the Requesting Service through a series of operations that follow a natural workflow:
Subscription across one or more brand partitions so that the placer receives notifications when order statuses change. See Placer Subscription Criteria for the criteria, and Subscribing to Requests for handling notifications._include and _revinclude parameters.The Get Brands operation allows a placer to discover available diagnostic service brand Organizations (Pathology Laboratories and Imaging Services). This is typically the first step in the placer workflow — the placer retrieves the list of brands to present to the requesting clinician.
See Get Brands Operation Definition for the full specification.
| Direction | Name | Type | Card. | Description |
|---|---|---|---|---|
| in | serviceType | code | 0..1 | Filter by pathology or imaging. If omitted, both types are returned. |
| in | parentOrganization | Reference | 0..1 | Filter to brands belonging to a specific Parent Diagnostic Organization. |
| out | brand | Organization | 0..* | A brand Organization resource (Pathology Laboratory or Imaging Service). |
POST [base]/Organization/$get_brands
{
"resourceType": "Parameters",
"parameter": [
{
"name": "serviceType",
"valueCode": "pathology"
}
]
}
POST [base]/Organization/$get_brands
{
"resourceType": "Parameters",
"parameter": []
}
The Submit Order operation is used to submit a diagnostic order (pathology or radiology) as a transaction Bundle. The Bundle must conform to the EOrdersSubmitOrderBundle profile.
The HTTP response body is always a single resource. Check resourceType to determine the outcome:
resourceType |
Condition | Details |
|---|---|---|
Bundle (type transaction-response) |
Order is directed and successfully processed | All fulfillment Tasks had an owner and the transaction committed. |
OperationOutcome (severity error or fatal) |
Order failed validation or cannot be processed | Do not retry without correcting the reported issues. |
OperationOutcome (severity information) |
Order is undirected — no fulfillment Task has an owner |
The order has been lodged for later routing. Not an error. |
See Submit Order Operation Definition for the full specification.
When no fulfillment Task carries a Task.owner, the order is undirected — it has been lodged in the registry but not assigned to a specific filler. The $submit_order operation returns an informational OperationOutcome to confirm this.
The lifecycle of an undirected order after submission:
Task(s) sit in requested status with no owner.$claim operation with the requisition identifier (barcode) and their organisation reference. This assigns Task.owner to the claiming filler and returns a new group Task.Note that fillers cannot search for or subscribe to undirected orders — filler discovery is based solely on Task.owner. An undirected order becomes visible to a filler only after they claim it using a requisition identifier provided by the patient.
The placer discovers that an undirected order has been claimed by subscribing to status changes on the group Task (e.g. Task?status=received,accepted) — the same subscription pattern used for directed orders. No special handling is required on the placer side.
The EOrdersSubmitOrderBundle is a transaction Bundle that must contain the following entries at minimum:
| Slice | Profile | Card. | Description |
|---|---|---|---|
| patient | GSPatient | 1..1 | The patient the order is for. |
| organization | GSOrganization | 1..* | Requesting organization and/or filler brand organizations. |
| practitioner | GSPractitioner | 1..1 | The requesting practitioner. |
| practitionerRole | EOrdersPractitionerRole | 1..1 | The requesting practitioner's role. |
| serviceRequest | EOrdersDiagnosticRequest, EOrdersPathologyRequest, or EOrdersRadiologyRequest | 1..* | One or more diagnostic service requests. |
| fulfillmentGroup | EOrdersTaskFulfillmentGroup | 1..1 | The group Task coordinating all individual fulfillment Tasks. |
| fulfillmentRequest | EOrdersTaskFulfillmentRequest | 1..* | One fulfillment Task per ServiceRequest. |
| consent | EOrdersConsentWithdrawl | 0..* | Optional consent withdrawal resources. |
| communicationRequestPatient | EOrdersCommunicationRequestPatient | 0..* | Optional patient communication preferences (e.g. do not send SMS). |
| communicationRequestProvider | EOrdersCommunicationRequestProvider | 0..* | Optional provider communication (e.g. urgent phone/fax). |
| taskCommunicationRequest | EOrdersTaskCommunicationRequest | 0..* | Tasks tracking communication request fulfillment. |
All entries must include fullUrl and request.method = PUT.
All ServiceRequest and Task entries should carry a placer-family meta tag identifying the placer system. The Bundle enforces a consistent-placer-tag invariant requiring all Task and ServiceRequest entries to use the same tag value — see Placer Family Tag for details.
POST [base]/$submit_order
{
"resourceType": "Parameters",
"parameter": [
{
"name": "order",
"resource": {
"resourceType": "Bundle",
"meta": {
"profile": [
"http://fhir.geniesolutions.io/StructureDefinition/eorders-submit-order-bundle"
]
},
"type": "transaction",
"timestamp": "2024-01-15T10:30:00+11:00",
"entry": [
...
]
}
}
]
}
The following example Bundles conform to the EOrdersSubmitOrderBundle profile and can be used as reference when constructing orders:
| Example | Description |
|---|---|
| FBC + LFT Request | A pathology order containing FBC and LFT service requests with two fulfillment request Tasks. |
| Diagnostic Request Example | A diagnostic order with a pathology laboratory filler, consent withdrawal, and communication requests. |
| Genie Generated Pathology Request | A complete pathology request as generated by the Genie clinical desktop application. |
| Pathology Request Example | A pathology request demonstrating supporting clinical information including pregnancy status, gestational age, and estimated date of delivery. |
The following examples illustrate each possible response from the operation:
| Example | Description |
|---|---|
| Directed Order Success | Transaction-response Bundle returned when all fulfillment Tasks have an owner and the order is successfully processed. |
| Error Response | OperationOutcome returned when the submitted Bundle fails validation or cannot be processed. |
| Undirected Order Response | Informational OperationOutcome returned when no fulfillment Task has an owner; the order has been lodged for later routing. |
The Add Placer Subscription operation registers a Subscription resource across one or more SmileCDR partitions mapped from brand Organization references. This allows a placer system to register for notifications across multiple diagnostic service brands in a single call rather than manually creating subscriptions in each brand's partition.
Each Organization reference (literal or logical) is resolved to the corresponding SmileCDR partition. The provided Subscription is then submitted to each partition. The operation returns a result per organization indicating success or failure.
See Add Placer Subscription Operation Definition for the full specification.
A placer tracks an order as the filler advances it. Filter on the statuses the filler sets — received, accepted, in-progress, completed, failed and rejected — and on the group task tag:
Task?status=received,accepted,in-progress,completed,failed,rejected
&_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group
Subscription.criteria holds this as one string. The line break above is for readability only.
Two points to note.
requested or cancelled. The placer sets those itself, so a notification on them tells the placer only what it already did. requested and cancelled are the filler's discovery statuses, covered in Subscribing to Requests.Organization filter. The organization parameters of this operation do that work: each one maps to a brand partition, and the Subscription is registered in each. Every Task in a partition already belongs to that brand. Discover those brand ids with $get_brands and pass them as pre-discovered resource ids. A chained parameter such as owner.partof.identifier= cannot be used in criteria at all — see Discovering Filler Organizations.| Direction | Name | Type | Card. | Description |
|---|---|---|---|---|
| in | subscription | Subscription | 1..1 | The Subscription resource to register in each brand partition. See Placer Subscription Criteria for the criteria, and Subscribing to Requests for the channel properties. |
| in | organization | Reference | 1..* | References to brand Organizations (Pathology Laboratory or Imaging Service). May be literal or logical (identifier-based) references. |
| out | result | (part) | 1..* | One result per organization containing organization (Reference), outcome (Coding), and optionally subscription (Reference to the created Subscription). |
| Code | Display | Description |
|---|---|---|
| ok | OK | Subscription was successfully created in the partition. |
| organization-not-found | Organization Not Found | The referenced Organization could not be resolved. |
| partition-not-found | Partition Not Found | No SmileCDR partition is mapped to the resolved Organization. |
| subscription-invalid | Subscription Invalid | The Subscription resource failed validation. |
| subscription-exists | Subscription Exists | An equivalent Subscription already exists in the partition. |
| error | Error | An unexpected error occurred. |
POST [base]/Subscription/$add_placer_subscription
{
"resourceType": "Parameters",
"parameter": [
{
"name": "subscription",
"resource": {
"resourceType": "Subscription",
"criteria": "Task?status=received,accepted,in-progress,completed,failed,rejected&_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group",
"status": "requested",
"reason": "Order fulfilment status subscription",
"channel": {
"type": "rest-hook",
"endpoint": "https://webhook.site/bbd78ee4-e267-4633-8acc-38a5e1dc54a0",
"header": ["Authorization: Bearer <access-token>"]
}
}
},
{
"name": "organization",
"valueReference": {
"reference": "Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf",
"display": "Magentus Pathology Lab Brand A"
}
},
{
"name": "organization",
"valueReference": {
"reference": "Organization/another-lab-brand-id",
"display": "Magentus Pathology Lab Brand B"
}
}
]
}
{
"resourceType": "Parameters",
"parameter": [
{
"name": "result",
"part": [
{
"name": "organization",
"valueReference": {
"reference": "Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf"
}
},
{
"name": "outcome",
"valueCoding": {
"system": "http://fhir.geniesolutions.io/CodeSystem/eorder-add-placer-subscription-result-codesystem",
"code": "ok",
"display": "OK"
}
},
{
"name": "subscription",
"valueReference": {
"reference": "Subscription/sub-12345"
}
}
]
},
{
"name": "result",
"part": [
{
"name": "organization",
"valueReference": {
"reference": "Organization/another-lab-brand-id"
}
},
{
"name": "outcome",
"valueCoding": {
"system": "http://fhir.geniesolutions.io/CodeSystem/eorder-add-placer-subscription-result-codesystem",
"code": "ok",
"display": "OK"
}
},
{
"name": "subscription",
"valueReference": {
"reference": "Subscription/sub-12346"
}
}
]
}
]
}
Tip: The channel properties used in this operation are the same as those described in Subscribing to Requests. The criteria differ, because a placer watches the statuses a filler sets rather than the statuses a filler discovers — see Placer Subscription Criteria. This operation also distributes the Subscription across brand partitions automatically.
A filler system discovers and fulfils orders in four steps:
Organization once at start-up and cache the resource id of every brand the filler fulfils for. See Discovering Filler Organizations.Subscription whose criteria filter group Tasks by those cached ids. See Subscribing to Requests.Tasks that await action. See Retrieving Subscription POST Notification Data.status and businessStatus as the service proceeds. See Updating Tasks based on Fulfilment.Filter Task by the owner resource id. Do not filter by a chained Organization identifier.
Subscription.criteria cannot carry a chained parameter at all. The criteria are matched in memory against each resource as it is written, and chained parameters are not supported there. A criteria such as owner.partof.identifier= therefore never matches. This is why the filler must resolve the Organization resource id before it registers a Subscription.
A search does support the chain, but at a cost. owner.identifier= or owner.partof.identifier= makes the server resolve an Organization for every candidate Task across the whole result set, and the cost grows with order volume.
Brand Organization resource ids are stable. Resolve them once and use the same owner=Organization/<id> form in the criteria and in the search.
Resolve every brand under a parent
GET [base]/Organization?partof.identifier=http://ns.electronichealth.net.au/id/hi/hpio/1.0|8003123456789123
Resolve a single brand
GET [base]/Organization?identifier=http://ns.electronichealth.net.au/id/hi/hpio/1.0|8003123456789124
Cache Organization.id from each entry of the returned Bundle. A filler that does not keep its own registry can call $get_brands instead, which returns the same brand Organization resources.
The eOrders CapabilityStatement declares these searches. The identifier search is SHALL. The partof search is SHOULD, so a server may not support the partof.identifier= chain. Where it does not, resolve the brands with $get_brands, which is SHALL.
Repeat the search when the filler adds a brand. A new brand id must be added to the subscription criteria, so update the existing Subscription or register a further one.
In order to receive subscription notifications from the FHIR Server when resources of interest are created or updated, a subscription is registered. A subscription request includes the following properties.
| Property | Description | Example |
|---|---|---|
| criteria | Search criteria to match resources of interest | Task?status=requested,cancelled&_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group&owner=Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf |
| status | Fixed: requested | requested |
| channel.type | Fixed: rest-hook | rest-hook |
| channel.endpoint | Web service URL where webhook is posted | https://webhook.site/bbd78ee4-e267-4633-8acc-38a5e1dc54a0 |
| channel.header | Authorization header to be used in the subscription notification | Authorization: Bearer secret-token-abc-123 |
In this case we are interested in Task resources that are
requested or cancelled status,Task group, not an individual Task fulfillment, andOrganization of the filler, addressed by resource id.Give the _tag value as a full system|code token. A group Task carries two group tags — fulfillment-task-group from the eOrders tag code system, and fulfilment-task-group from the AU Base resource-tag code system for AU eRequesting alignment. The two spellings differ by one letter, so a bare code is easy to get wrong.
Where a filler fulfils for several brands, list the ids in one criteria separated by commas — owner=Organization/<id-1>,Organization/<id-2> — or register one Subscription per brand. There is no chained alternative. The criteria cannot reach the brands through their parent Organization, so every brand id has to appear in the criteria. See Discovering Filler Organizations.
The criteria decide when the filler is woken. The search that follows decides what the filler processes. A business-status filter can go in the criteria, in the search, or in both. businessStatus is an element of Task itself, so in-memory criteria matching supports it. The criteria above carry no such filter, which is the broad form. Whether claimed-request belongs in the criteria is a separate decision, covered in Claimed Orders and the Discovery Path.
Example
The following example creates a new Subscription for the Task resource with criteria as described above.
POST [base]/Subscription
{
"resourceType": "Subscription",
"criteria": "Task?status=requested,cancelled&_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group&owner=Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf",
"status": "requested",
"reason": "Task requested and cancelled subscription",
"channel": {
"type": "rest-hook",
"endpoint": "https://webhook.site/bbd78ee4-e267-4633-8acc-38a5e1dc54a0",
"header": ["Authorization: Bearer secret-token-abc-123"]
}
}
The Subscription endpoint can also be used to Search, Read, Update and Delete as per the standard FHIR REST API pattern.
A subscription notification is received as a POST request on the endpoint specified in the subscription registration request. The POST request has an empty body.
Example
POST https://webhook.site/bbd78ee4-e267-4633-8acc-38a5e1dc54a0
Authorization: Bearer <access-token>
The subscription notification shall respond as quickly as possible with a success status of 200 OK or 202 Accepted, and an empty body. The latter is normally returned when the request is accepted for processing but processing will commence after the response has been returned, which is the preferred approach for subscription notifications.
Any error response may result in a subsequent retry by the FHIR Server to submit the Subscription Notification until the number of retries is exceeded, at which time the FHIR Server will stop the subscription. See Managing Subscriptions and Errors for more details.
The notification says that something matched. It does not say what. When a notification is received, search for the group Tasks that await filler action. Filter by the cached owner ids and by a positive list of businessStatus values.
Example
GET [base]/Task?status=requested,cancelled & \
_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group & \
business-status=http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem|directed-request, \
http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem|user-cancelled-request, \
http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem|claimed-cancel & \
owner=Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf & \
_sort=_lastUpdated & _count=500
The three business-status tokens are one comma-separated parameter value, which is an OR. The line breaks above are for readability only and carry no spaces in the real URL. Give each token as a full system|code pair.
business-status:not= and chained parameters such as owner.identifier= both force the server to evaluate every candidate Task before it can discard one. A positive token list does not. It is an indexed match, and its cost does not grow with the number of orders the filler has already handled.
The three codes above are the states that await filler action. Each has a successor the filler sets itself. directed-request advances to booked, scheduled, collected or a rejection code. Both cancellation codes advance to cancel-handled. A Task therefore leaves the result set as soon as the filler updates it. The list bounds the query on its own.
_lastUpdated=gt<timestamp> stays available to narrow a large backlog, but it is no longer the primary filter and no watermark has to be kept for correctness. Sort on _lastUpdated and set _count.
Do not follow the next link after you update Tasks from the current page. Each update changes businessStatus, so the updated Tasks leave the filtered result set at once. Paging is offset-based, so the later matches move up, and the next page starts after some of them. Those Tasks are skipped.
Use one of these two patterns:
Bundle.link entry with relation of next until the pages are exhausted, and queue every Task. Update the Tasks only after the last page.Tasks on the first page, then run the same search again. Do not follow next. Stop when the search returns no entries.status |
businessStatus |
Meaning | Filler action |
|---|---|---|---|
| requested | directed-request | A new order directed to this filler | Retrieve the child Tasks and the rest of the order, then start fulfilment |
| requested | claimed-request | An order this filler claimed through $claim. Returned only when claimed-request is in the business-status list — see Claimed Orders and the Discovery Path |
Process as a new order, or skip it if the filler already acted on the $claim response |
| cancelled | user-cancelled-request | The requesting clinician or placer user cancelled the order | Stop fulfilment and set businessStatus to cancel-handled |
| cancelled | claimed-cancel | Another filler claimed the order, so this filler no longer fulfils it | Stop fulfilment and set businessStatus to cancel-handled |
Each row is a group Task. Add the _include and _revinclude parameters in Include Referenced Resources to get the rest of each order in the same Bundle.
A claimed order reaches the filler twice. $claim returns the new group Task in its groupTask output parameter. The same group Task is written with a status of requested and a businessStatus of claimed-request, and it also carries the claimed-request tag, so the ordinary discovery path can return it as well.
Fillers take one of two approaches. The choice depends on how fast the filler can process a discovered order. Decide once, then apply the same decision to the subscription criteria and to the search. If the two disagree, the filler is either woken for nothing or processes the order twice.
| Option A | Option B | |
|---|---|---|
| Approach | Act on the $claim response |
Let the discovery path carry it |
| Suits | A filler that needs the order in hand while the patient is at the counter | A filler that prefers one code path for every order |
groupTask in the $claim response |
Retrieve the order from it at once | Ignore it |
claimed-request in the subscription criteria |
Excluded | Included |
claimed-request in the business-status search list |
Excluded | Included |
| Latency on a claimed order | Immediate | One notification and search cycle |
In the fragments below, <cs> stands for http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem.
The filler reads groupTask from the $claim response and retrieves the order at once. claimed-request stays out of both the criteria and the search.
Narrow the subscription criteria with the same three-code list the search uses:
Task?status=requested,cancelled
&_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group
&business-status=<cs>|directed-request,<cs>|user-cancelled-request,<cs>|claimed-cancel
&owner=Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf
Subscription.criteria holds this as one string. The line breaks above are for readability only.
The search keeps the three-code list shown in Retrieving Subscription POST Notification Data. No change is needed there.
A filler that prefers to leave the criteria in the broad form can do so. The claimed group Task then still raises a notification, and the search that follows returns nothing new. That empty result is expected and needs no handling.
The filler ignores groupTask and waits for the order to arrive through the subscription and the search. Add claimed-request to the business-status list:
business-status=<cs>|directed-request,<cs>|claimed-request,<cs>|user-cancelled-request,<cs>|claimed-cancel
Leave the subscription criteria in the broad form, or narrow it with the same four-code list. Both match the claimed group Task.
A claimed order arrives with a status of requested and a businessStatus of claimed-request. The filler can process it exactly as a directed-request, or route it to a separate pipeline. The claimed-request tag on meta.tag carries the same signal for a filler that routes on tags rather than on businessStatus.
If the filler acts on the $claim response while claimed-request is also in the business-status list, the same order arrives on both paths. Either pick one option, or make the processing idempotent. Task.id and Task.groupIdentifier both identify the order for de-duplication.
Get the rest of each order with _include and _revinclude parameters. On the current server, use the group Task query. It returns each order that awaits action complete, with its Consents, in one search. No further query is necessary.
The group Task query depends on the order in which the current server evaluates _include and _revinclude. That order changes in Smile CDR 2026.05.R01 (see Change to the Order of Evaluation). After that upgrade, the group Task query returns no ServiceRequests and no Consents. Before the upgrade, move to the two-stage retrieval, which works on every server version.
The group Task query is the search in Retrieving Subscription POST Notification Data, with these parameters added:
GET [base]/Task?status=requested,cancelled & \
_tag=http://fhir.geniesolutions.io/CodeSystem/eorders-tag|fulfillment-task-group & \
business-status=<cs>|directed-request,<cs>|user-cancelled-request,<cs>|claimed-cancel & \
owner=Organization/dda4a656-f60e-11ed-baf1-d2cbed391bcf & \
_sort=_lastUpdated & _count=500 & \
_include=Task:patient & _include=Task:owner & _include=Task:requester & _revinclude=Task:part-of & \
_revinclude:iterate=CommunicationRequest:about:Task & \
_include=Task:focus & _include:iterate=ServiceRequest:copiesTo & \
_include:iterate=PractitionerRole:practitioner & _include:iterate=PractitionerRole:organization & \
_revinclude:iterate=Consent:data:ServiceRequest
| Parameter | Value | Pass | Description |
|---|---|---|---|
| _revinclude | Task:part-of | 1 | Individual Tasks of each order: the ServiceRequest Tasks and the CommunicationRequest Tasks |
| _include | Task:patient | 2 | Patient |
| _include | Task:owner | 2 | Organization as the designated filler |
| _include | Task:requester | 2 | Clinician creating the request |
| _include | Task:focus | 2 | ServiceRequests, and the CommunicationRequests of the CommunicationRequest Tasks. They come from the individual Tasks that pass 1 adds, so this works only on the current server |
| _revinclude:iterate | CommunicationRequest:about:Task | 3 | CommunicationRequests whose about points to the group Task or to an individual Task |
| _revinclude:iterate | Consent:data:ServiceRequest | 3 | Consents linked to the ServiceRequests, such as a withdrawal of consent to upload to My Health Record |
| _include:iterate | ServiceRequest:copiesTo | 4 | PractitionerRoles where reports should be sent |
| _include:iterate | PractitionerRole:practitioner | 4 | Practitioner associated with the requester and the copy-to recipients |
| _include:iterate | PractitionerRole:organization | 4 | Organization associated with the requester and the copy-to recipients |
The Pass column refers to Order of Evaluation.
On the current Magentus FHIR server (Smile CDR 2025.11, HAPI FHIR 8.6.0), this query returns each matched order complete. This was tested with several orders for one filler in one search, on one page and over several pages. The orders had one to three tests, and they were in the directed-request, user-cancelled-request and claimed-cancel states. For each order, the Bundle held:
Task, every individual Task and every ServiceRequestCommunicationRequest and its CommunicationRequest Task, with about pointing to the group Task, to an individual Task or to a ServiceRequestConsent: one Consent for all the ServiceRequests of the order, one Consent for each ServiceRequest, or a Consent for only some of themOrganization and the participantsOrders of other fillers, and orders that the filler already processed, were not returned. One case is not covered: a CommunicationRequest whose about points to a ServiceRequest and that has no CommunicationRequest Task. The platform always creates the CommunicationRequest Task, so this case does not occur today.
Earlier versions of this guide gave _include:iterate=Task:focus in place of _include=Task:focus. That query does not return the Consents, because the ServiceRequests arrive in pass 4, after Consent:data:ServiceRequest runs in pass 3. The server gives no error. A filler that uses it must change this one parameter.
Do not add _offset to the query. _offset makes the server run a synchronous search, which evaluates the parameters in a different order. The Consents are then missing.
The query does not get the supporting clinical information. The server does not yet support the supporting-info search parameter, and it rejects a query that includes ServiceRequest:supporting-info with HAPI-2015: Invalid _include parameter value. Read each resource that ServiceRequest.supportingInfo references, for example GET [base]/Observation/<id>.
Do not process an order before the query that returns its Consents completes. Without the Consents, the filler does not know if the patient withdrew consent to upload the report to My Health Record.
_include and _revincludeFHIR does not define the order in which a server evaluates _include and _revinclude parameters. The order of the parameters in the URL has no effect. The Magentus FHIR server (Smile CDR, which uses HAPI FHIR) evaluates them in four passes, in this fixed order:
| Pass | Parameters | Starts from |
|---|---|---|
| 1 | _revinclude |
The matched resources |
| 2 | _include |
The matched resources. On the current server, also the pass 1 results. See Change to the Order of Evaluation |
| 3 | _revinclude:iterate |
All resources from the match and passes 1 and 2 |
| 4 | _include:iterate |
All resources from the match and passes 1 to 3 |
Each pass runs one time. :iterate repeats inside its own pass until the pass finds no new resources, but the server does not go back to an earlier pass. So:
_revinclude:iterate finds nothing from a resource that only an _include:iterate brings in. The _include:iterate runs later, in pass 4._include:iterate can start from any resource, because pass 4 runs last.The rule that follows is: a resource that points to another resource, such as a Consent that points to a ServiceRequest, can only be found with _revinclude if the resource it points to is in the result set before pass 3. That resource must be a match, or must come from a pass 1 or pass 2 parameter.
A query that does not obey this rule does not fail. The server returns the Bundle without the missing resources and does not give a warning.
Pass 2 changes in Smile CDR 2026.05.R01, which uses HAPI FHIR 8.10.0:
| Server | Pass 2 (_include) starts from |
|---|---|
| Smile CDR 2025.11 (HAPI FHIR 8.6.0, the current server) and Smile CDR 2026.02 (HAPI FHIR 8.8.0) | The matched resources and the pass 1 results |
| Smile CDR 2026.05.R01 (HAPI FHIR 8.10.0) and later | The matched resources only |
Passes 1, 3 and 4 do not change.
The FHIR specification says that _include and _revinclude apply only to the matched resources, unless they have :iterate. The current behaviour does not follow that rule, and HAPI FHIR 8.10.0 corrects it.
The group Task query depends on the current behaviour. It matches group Tasks, and _include=Task:focus gets the ServiceRequests from the individual Tasks that pass 1 adds. After the upgrade, _include=Task:focus starts only from the matched group Tasks. A group Task has no focus, so the query returns no ServiceRequests. Consent:data:ServiceRequest then finds no Consents. The server gives no error or warning, so a filler cannot detect the change from the response.
Magentus announces the upgrade date. Before that date, move to the two-stage retrieval.
The two-stage retrieval is the way forward. It does not depend on pass 2, so it works on the current server and after the upgrade.
_include or _revinclude parameters. It returns only group Tasks, so _count and paging count orders.Task in the result, run the order query. Send one query for each order, or send the order queries together in one batch.The paging guidance in Paging While Updating Tasks applies to the discovery search.
The order query matches the individual Tasks of one order. The group Task and the ServiceRequests then arrive in pass 2 from the matches, so every reverse search in pass 3 can find its resources on every server version.
GET [base]/Task?part-of=Task/<group-task-id> & \
_include=Task:part-of & _include=Task:focus & \
_include=Task:patient & _include=Task:owner & _include=Task:requester & \
_revinclude:iterate=CommunicationRequest:about:Task & \
_revinclude:iterate=CommunicationRequest:about:ServiceRequest & \
_revinclude:iterate=Consent:data:ServiceRequest & \
_revinclude:iterate=Task:focus:CommunicationRequest & \
_include:iterate=ServiceRequest:copiesTo & \
_include:iterate=PractitionerRole:practitioner & _include:iterate=PractitionerRole:organization
| Parameter | Value | Pass | Description |
|---|---|---|---|
| part-of | Task/<group-task-id> |
match | Individual Tasks of one order: the ServiceRequest Tasks, and the CommunicationRequest Tasks that have partOf |
| _include | Task:part-of | 2 | Group Task |
| _include | Task:focus | 2 | ServiceRequests, and the CommunicationRequests of the CommunicationRequest Tasks |
| _include | Task:patient | 2 | Patient |
| _include | Task:owner | 2 | Organization as the designated filler |
| _include | Task:requester | 2 | Clinician creating the request |
| _revinclude:iterate | CommunicationRequest:about:Task | 3 | CommunicationRequests whose about points to the group Task or to an individual Task |
| _revinclude:iterate | CommunicationRequest:about:ServiceRequest | 3 | CommunicationRequests whose about points to a ServiceRequest |
| _revinclude:iterate | Consent:data:ServiceRequest | 3 | Consents linked to the ServiceRequests, such as a withdrawal of consent to upload to My Health Record |
| _revinclude:iterate | Task:focus:CommunicationRequest | 3 | CommunicationRequest Tasks that have no partOf |
| _include:iterate | ServiceRequest:copiesTo | 4 | PractitionerRoles where reports should be sent |
| _include:iterate | PractitionerRole:practitioner | 4 | Practitioner associated with the requester and the copy-to recipients |
| _include:iterate | PractitionerRole:organization | 4 | Organization associated with the requester and the copy-to recipients |
Notes:
Task:patient, Task:owner and Task:requester start from the individual Tasks. They give the same resources as the group Task, because all Tasks of an order share common values (see Test/Service Data Consistency).Task:focus:CommunicationRequest limits the reverse search to Tasks whose focus is a CommunicationRequest. Without the type, the search can also return Tasks from another order that point to the same ServiceRequests.part-of, not group-identifier. A claimed order can have a second group Task with the same groupIdentifier, and a group-identifier search returns both.CommunicationRequest whose about points to a ServiceRequest and that has no CommunicationRequest Task. The group Task query does not._include:iterate=ServiceRequest:supporting-info to the order query. It runs in pass 4._offset. As with the group Task query, the Consents are then missing.Do not put the ids of many orders or ServiceRequests in one order query. With _count=500, a list of ids can make the URL longer than the server accepts. The order query has the same length for every order, whatever the number of tests. A filler that processes one order at a time can send the order query just before it processes that order.
Do not process an order before its order query returns.
To get the orders from one page of the discovery search in one request, put one order query for each group Task in a batch Bundle and post it to the server base:
POST [base]/
{
"resourceType": "Bundle",
"type": "batch",
"entry": [
{
"request": {
"method": "GET",
"url": "Task?part-of=Task/<group-task-id-1>&_include=Task:part-of&_include=Task:focus&..."
}
},
{
"request": {
"method": "GET",
"url": "Task?part-of=Task/<group-task-id-2>&_include=Task:part-of&_include=Task:focus&..."
}
}
]
}
Give the whole order query in each request.url, without [base]/. The server returns a batch-response Bundle with one entry for each order query, in the same sequence:
entry.response.status for each entry. A failed order query does not stop the other entries.entry.resource is a searchset Bundle that holds one order, the same as the result of the order query alone.searchset has a Bundle.link with relation of next, get that link to read the rest of the order.A transaction Bundle with the same entries also works on the current server, and returns a transaction-response Bundle. Use batch. FHIR processes a transaction as one unit, so a server can reject the whole request when one entry fails. A batch processes each entry on its own.
The batch was tested on the current server with ten orders that held every CommunicationRequest and Consent form. Each entry returned its order complete, with its Consents. An entry with an invalid query returned 400 Bad Request in its entry.response.status, and the other entries returned their orders.
Fillers have two opportunities to update fulfilment Tasks. The first is with a combination of status (where values are fixed), businessStatus, and statusReason. The second is through adding outputs from fulfilment to Task.output. These two fulfilment updates are described below.
Task statuses are fixed and defined within the FHIR R4 Task resource, more specifically the Task Status ValueSet. The sequencing of these statuses are prescribed by the Task State Machine.
In addition to status, Task supports a businessStatus attribute which further refines status. This is a CodeableConcept which may or may not be coded. We have defined a set of useful codes which may be extended.
| Pathology | Radiology | Task Status | Code | Display | Description | Set by |
|---|---|---|---|---|---|---|
| ✓ | ✓ | requested | directed-request | directed request | Diagnostic request has been directed to a specific filler and is awaiting pickup | placer |
| ✓ | ✓ | requested | claimed-request | claimed request | Diagnostic request has been claimed | placer |
| ✓ | ✓ | accepted | booked | booked | Service has been booked | filler |
| ✓ | ✓ | accepted | scheduled | scheduled | Service has been scheduled | filler |
| ✓ | ✓ | cancelled | claimed-cancel | claimed cancel | Diagnostic request has been claimed by an alternative filler | placer |
| ✓ | ✓ | cancelled | user-cancelled-request | user cancelled request | Diagnostic request had been cancelled by the placer | placer |
| ✓ | ✓ | cancelled | cancel-handled | cancel handled | Cancellation has been handled by the filler | filler |
| ✓ | ✓ | rejected | invalid-request-data | invalid request data | Rejected fulfilment due to an issue with the request data | filler |
| ✓ | ✓ | rejected | inaccessible-request-data | inaccessible request data | Rejected fulfilment due to data being unavailable | filler |
| ✓ | ✓ | rejected | not-supported | not supported | Rejected fulfilment because the filler does not provide the requested service | filler |
| ✓ | ✓ | in-progress | preliminary | preliminary | Preliminary result completed | filler |
| ✓ | ✓ | completed | authorised | authorised | Authorised report created | filler |
| ✓ | ✓ | completed | addendum | addendum | Addendum created for reporting | filler |
| ✓ | in-progress | collected | collected | Specimen has been collected in lab collection centre | filler | |
| ✓ | in-progress | in-lab | in-lab | Specimen is being processed in the pathology lab | filler | |
| ✓ | accepted | checked-in | checked-in | Patient has checked in for service | filler | |
| ✓ | in-progress | preparation | preparation | Patient has been prepared for the radiology service | filler | |
| ✓ | in-progress | acquisition | acquisition | Image has been acquired at radiology service | filler | |
| ✓ | in-progress | interpretation | interpretation | Image has been interpreted at radiology service | filler |
We currently define two types of output:
DiagnosticReport reference to an imaging report or a pathology report.BookingSlot reference allowing for booking/appointment information to be shared back to the placer using a profile of the FHIR slot. The Slot contains timing information and references a Schedule which references a HealthcareService that ultimately references the Location information containing name and address. Most slot information is optional. This may be especially useful for imaging appointments and should be aligned with a booked businessStatus.Rather than replacing a whole Task resource with PUT, fillers should update the group and individual Tasks using FHIR Patch (FHIRPath-based) via a transaction Bundle. This minimises the chance of overwriting concurrent updates from other parties.
Each entry in the transaction Bundle has request.method = PATCH and carries a Parameters resource as its payload. The Parameters resource contains one or more parameter entries named operation, each with the following parts:
| Part | Type | Description |
|---|---|---|
type |
code | add — add a new element (must not already exist); replace — replace an existing element; delete — remove a field |
path |
string | For add: FHIRPath to the parent (e.g. Task). For replace/delete: FHIRPath to the element itself (e.g. Task.status). |
name |
string | Element name to add (used with add only; omitted for replace and delete) |
value |
varies | The new value (used with add and replace; omitted for delete) |
Example — mark Tasks as received, remove businessStatus and statusReason
{
"resourceType": "Parameters",
"parameter": [
{
"name": "operation",
"part": [
{ "name": "type", "valueCode": "replace" },
{ "name": "path", "valueString": "Task.status" },
{ "name": "value", "valueCode": "received" }
]
},
{
"name": "operation",
"part": [
{ "name": "type", "valueCode": "delete" },
{ "name": "path", "valueString": "Task.businessStatus" }
]
},
{
"name": "operation",
"part": [
{ "name": "type", "valueCode": "delete" },
{ "name": "path", "valueString": "Task.statusReason" }
]
}
]
}
This Parameters resource is then included as the resource in each entry of the transaction Bundle, with request.method = PATCH and request.url set to a conditional reference such as Task?_id=[task-id]. Every patch must explicitly handle all three fields — status, businessStatus, and statusReason — either setting them to the correct value or deleting them. See the Status and businessStatus Combinations table for valid combinations.
See the FHIR transaction PATCH Bundle example 1 (set status to received, remove businessStatus and statusReason) and example 2 (set status to accepted and businessStatus to booked, remove statusReason).
The claim operation is used to create a new fulfilment Task for an alternate filler. Implementation of the operation cancels the original fulfilment Task, if it exists, but leaves the ServiceRequest unchanged. The original filler can determine that the order is being alternatively filled but not who is the alternative filler and similarly the alternate filler cannot determine who was originally designated to fulfill the order, if one was specified.
See Diagnostic Service Claim Operation for the full specification.
| Direction | Name | Type | Card. | Description |
|---|---|---|---|---|
| in | requisition | Identifier | 1..1 | The group identifier for the request, typically the barcode. |
| in | organization | Reference(GSOrganization) | 1..1 | Reference to the brand Organization claiming the request. |
| out | groupTask | Reference(EOrdersTaskFulfillmentGroup) | 0..1 | Reference to the group Task assigned to the claiming organization. Present when result is ok, fulfillment-active, or already-fulfiller. |
| out | result | Coding | 1..1 | The result of the claim attempt, bound to the claim result code system. |
| Code | Display | Description |
|---|---|---|
| ok | OK | Claim successful; a new fulfillment Task set has been created for the claiming organization. |
| fulfillment-active-elsewhere | Fulfillment is in-progress with another organization | The request is actively being fulfilled by a different organization. |
| fulfillment-active | Fulfillment is in-progress with the provided organization | The provided organization is already actively fulfilling the request. |
| already-fulfiller | Fulfillment is already claimed by the provided organization | The provided organization has already claimed but not yet started fulfillment. |
| fulfillment-cancelled | Fulfillment was cancelled | The fulfillment has been cancelled. |
| request-cancelled | Request was cancelled by the placer | The placer cancelled the request, so its ServiceRequest has the status revoked. The claim is rejected, and the request and its Tasks do not change. |
| requisition-not-found | Requisition Not Found | No request matching the supplied identifier was found. |
| organization-not-found | Organisation Not Found | The referenced Organization could not be resolved. |
| claim-in-progress | Claim is already in progress | A concurrent claim attempt is already underway for this request. |
| Result code | Meaning | Recommended action |
|---|---|---|
ok |
Claim succeeded | Proceed with fulfilment using the returned groupTask. |
fulfillment-active |
Your organisation is already fulfilling this order | No action needed — retrieve your existing group Task and continue. |
already-fulfiller |
Your organisation has already claimed but not started | No action needed — retrieve your existing group Task and continue. |
fulfillment-active-elsewhere |
Another organisation is actively fulfilling the order | The order cannot be claimed. Inform the patient and clinician as appropriate. |
fulfillment-cancelled |
The fulfilment was cancelled | The order is no longer active. No further action. |
request-cancelled |
The placer cancelled the request | Do not do the tests on this request. The practice may have replaced it with a new request. Ask the patient for the current request form, or contact the requesting practitioner. |
requisition-not-found |
No matching order found | Verify the barcode/requisition identifier and retry. If persistent, contact the placer. |
organization-not-found |
The supplied Organisation reference cannot be resolved | Verify the Organisation is registered in the FHIR server and retry. |
claim-in-progress |
A concurrent claim attempt is underway | Wait briefly and retry — the server is processing another claim for the same order. |
POST [base]/Task/$claim
{
"resourceType": "Parameters",
"parameter": [
{
"name": "requisition",
"valueIdentifier": {
"system": "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003628672586276",
"value": "GTU99900-TWRYT3"
}
},
{
"name": "organization",
"valueReference": {
"reference": "Organization/18751557-2550-411a-a874-9e7631505a00",
"display": "Magentus Practice Lab"
}
}
]
}
Note that the Organization reference should reference a known filler organization within the FHIR server.
The view operation is focussed on providing a patient portal with access to a diagnostic request based on a barcode. If the barcode is found and it is accessible then information is returned about the request as well as any fulfilment information by service providers. If the request has had multiple fulfilment pathways (e.g. request is directed to one provider but claimed by another provider based on patient choice) then the group Task for each filler is included. See Diagnostic Service View Operation for the full specification.
| Direction | Name | Type | Card. | Description |
|---|---|---|---|---|
| in | requisition | Identifier | 1..1 | The group identifier for the request, typically the barcode. |
| out | error | string | 0..1 | An error message if the request could not be viewed. Mutually exclusive with bundle and providerHistory. |
| out | bundle | Bundle | 0..1 | The order specification. Present on success. |
| out | providerHistory | (part) | 0..1 | Fulfilment history grouped by filler. Contains one organizationTaskGroup part per filler, each with an organizationName (string) and groupTask (Task). |
POST [base]/Task/$view_request
{
"resourceType": "Parameters",
"parameter": [
{
"name": "requisition",
"valueIdentifier": {
"system": "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003629850181971",
"value": "GTU99900-V79K2K"
}
}
]
}
If the operation is successful, a result such as Diagnostic Service View Operation Result will be returned.
If an error occurs finding the request based on the barcode, the following will be returned
Example
{
"resourceType": "Parameters",
"parameter": [
{
"name": "error",
"valueString": "Internal server error: Requisition Not Found"
}
]
}