# Example of a successful response from the $view operation - Magentus Practice Management FHIR Implementation Guide v1.2.60

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **Example of a successful response from the $view operation**

## Example Parameters: Example of a successful response from the $view operation



## Resource Content

```json
{
  "resourceType" : "Parameters",
  "id" : "view-example-response",
  "parameter" : [{
    "name" : "bundle",
    "resource" : {
      "resourceType" : "Bundle",
      "id" : "ea200796-ec82-5c69-a169-3cd27011e9bb",
      "meta" : {
        "versionId" : "1",
        "lastUpdated" : "2025-07-09T05:32:39.633+00:00"
      },
      "identifier" : {
        "use" : "secondary",
        "system" : "http://fhir.geniesolutions.io/identifier/erequests-group-id",
        "value" : "GTU00000-V79K2K",
        "assigner" : {
          "display" : "Genie Solutions"
        }
      },
      "type" : "collection",
      "timestamp" : "2025-07-09T05:32:32.299Z",
      "entry" : [{
        "fullUrl" : "urn:uuid:07aec7d9-cea9-4bb1-ab89-ff6da6f8a4fe",
        "resource" : {
          "resourceType" : "Patient",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/gs-patient"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Mr Peter Adams</div>"
          },
          "extension" : [{
            "url" : "http://hl7.org.au/fhir/StructureDefinition/indigenous-status",
            "valueCoding" : {
              "system" : "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1",
              "code" : "9",
              "display" : "Not stated/inadequately described"
            }
          }],
          "identifier" : [{
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "MR"
              }]
            },
            "system" : "http://fhir.geniesolutions.io/identifier/patient",
            "value" : "b7240985-89e9-4abc-ac40-18c28236e87a",
            "assigner" : {
              "display" : "Genie Solutions"
            }
          }],
          "active" : true,
          "name" : [{
            "use" : "official",
            "family" : "Adams",
            "given" : ["Peter"],
            "prefix" : ["Mr"]
          }],
          "telecom" : [{
            "system" : "phone",
            "value" : "0400 000 000",
            "use" : "mobile"
          },
          {
            "system" : "phone",
            "value" : "02 9900 00 00",
            "use" : "home"
          },
          {
            "system" : "email",
            "value" : "padams@gentu.com",
            "use" : "home"
          }],
          "gender" : "male",
          "birthDate" : "1945-04-06",
          "address" : [{
            "use" : "home",
            "type" : "physical",
            "line" : ["21 Undercliff Street"],
            "city" : "QUEENSCLIFF",
            "state" : "NSW",
            "postalCode" : "2096"
          }]
        }
      },
      {
        "fullUrl" : "urn:uuid:9a6c5051-347a-4c9e-a3a2-d04759520af8",
        "resource" : {
          "resourceType" : "Organization",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/gs-organization"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Serenity Medical Centre</div>"
          },
          "identifier" : [{
            "type" : {
              "coding" : [{
                "system" : "http://fhir.geniesolutions.io/CodeSystem/gs-local-identifier-types",
                "code" : "LOI"
              }]
            },
            "system" : "http://fhir.geniesolutions.io/identifier/organization",
            "value" : "60ccd8e3-1d98-4816-b85a-6a3286ae4ac4",
            "assigner" : {
              "display" : "Genie Solutions"
            }
          }],
          "active" : true,
          "name" : "Serenity Medical Centre",
          "telecom" : [{
            "system" : "phone",
            "value" : "07 3870 5025",
            "use" : "work"
          }],
          "address" : [{
            "use" : "work",
            "type" : "physical",
            "line" : ["1 Swann Road"],
            "city" : "Taringa",
            "state" : "QLD",
            "postalCode" : "4068"
          }]
        }
      },
      {
        "fullUrl" : "urn:uuid:b7403cd3-370b-4290-874f-43aaeea305af",
        "resource" : {
          "resourceType" : "Practitioner",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/gs-practitioner"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Dr Seymour Beardfacé</div>"
          },
          "identifier" : [{
            "type" : {
              "coding" : [{
                "system" : "http://fhir.geniesolutions.io/CodeSystem/gs-local-identifier-types",
                "code" : "LPI"
              }]
            },
            "system" : "http://fhir.geniesolutions.io/identifier/practitioner",
            "value" : "327bd791-8118-4f9f-98e4-baffee8e08f3",
            "assigner" : {
              "display" : "Genie Solutions"
            }
          }],
          "active" : true,
          "name" : [{
            "use" : "official",
            "family" : "Beardfacé",
            "given" : ["Seymour"],
            "prefix" : ["Dr"]
          }],
          "telecom" : [{
            "system" : "phone",
            "value" : "0456033499",
            "use" : "mobile"
          },
          {
            "system" : "phone",
            "value" : "0730339787",
            "use" : "work"
          },
          {
            "system" : "email",
            "value" : "gentu@geniesolutions.com.au",
            "use" : "work"
          }]
        }
      },
      {
        "fullUrl" : "urn:uuid:6ff008b5-d656-436e-a396-2dee94d710c8",
        "resource" : {
          "resourceType" : "PractitionerRole",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-practitionerrole"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Dr Seymour Beardfacé @ Serenity Medical Centre</div>"
          },
          "identifier" : [{
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
                "code" : "UPIN"
              }],
              "text" : "Medicare Provider Number"
            },
            "system" : "http://ns.electronichealth.net.au/id/medicare-provider-number",
            "value" : "5731502X"
          },
          {
            "type" : {
              "coding" : [{
                "system" : "http://fhir.geniesolutions.io/CodeSystem/gs-local-identifier-types",
                "code" : "LPRI"
              }]
            },
            "system" : "http://fhir.geniesolutions.io/identifier/practitionerrole",
            "value" : "8235b91e-3e08-5f86-b56d-e3e7110b236c",
            "assigner" : {
              "display" : "Genie Solutions"
            }
          }],
          "active" : true,
          "practitioner" : {
            "reference" : "urn:uuid:b7403cd3-370b-4290-874f-43aaeea305af",
            "display" : "Dr Seymour Beardfacé"
          },
          "organization" : {
            "reference" : "urn:uuid:9a6c5051-347a-4c9e-a3a2-d04759520af8",
            "display" : "Serenity Medical Centre"
          },
          "location" : [{
            "display" : "Serenity Medical Centre"
          }]
        }
      },
      {
        "fullUrl" : "urn:uuid:ed7eec8d-839b-5aa7-af2a-8198a0575295",
        "resource" : {
          "resourceType" : "ServiceRequest",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-diagnosticrequest"]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Kidney stone analysis</div>"
          },
          "contained" : [{
            "resourceType" : "Encounter",
            "id" : "1",
            "status" : "finished",
            "class" : {
              "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
              "code" : "AMB",
              "display" : "ambulatory"
            }
          }],
          "extension" : [{
            "url" : "http://fhir.geniesolutions.io/StructureDefinition/eorders-diagnosticrequest-display-sequence",
            "valueInteger" : 1
          }],
          "requisition" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "PGN"
              }],
              "text" : "Requisition or grouper id"
            },
            "system" : "http://fhir.geniesolutions.io/Identifier/GenGtu-scoped/order/GTU00000",
            "value" : "GTU00000-V79K2K",
            "assigner" : {
              "reference" : "urn:uuid:9a6c5051-347a-4c9e-a3a2-d04759520af8",
              "display" : "Serenity Medical Centre"
            }
          },
          "status" : "active",
          "intent" : "order",
          "category" : [{
            "coding" : [{
              "system" : "http://snomed.info/sct",
              "code" : "108252007",
              "display" : "Laboratory procedure"
            }]
          }],
          "priority" : "routine",
          "code" : {
            "coding" : [{
              "extension" : [{
                "url" : "http://hl7.org/fhir/StructureDefinition/valueset-reference",
                "valueUri" : "https://www.rcpa.edu.au/fhir/ValueSet/spia-requesting-refset-3"
              }],
              "system" : "http://snomed.info/sct",
              "code" : "16620001",
              "display" : "Kidney stone analysis"
            }],
            "text" : "Calculi urinary tract"
          },
          "subject" : {
            "reference" : "urn:uuid:07aec7d9-cea9-4bb1-ab89-ff6da6f8a4fe",
            "display" : "Mr Peter Adams"
          },
          "encounter" : {
            "reference" : "#1"
          },
          "authoredOn" : "2025-07-09T05:32:32.299Z",
          "requester" : {
            "reference" : "urn:uuid:6ff008b5-d656-436e-a396-2dee94d710c8",
            "display" : "Dr Seymour Beardfacé (Serenity Medical Centre)"
          }
        }
      },
      {
        "fullUrl" : "urn:uuid:aa3256b8-00cf-5773-aa42-aa833dc61448",
        "resource" : {
          "resourceType" : "Task",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-diagnosticrequesttask"],
            "tag" : [{
              "system" : "http://fhir.geniesolutions.io/CodeSystem/eorders-tag",
              "code" : "fulfillment-task"
            }]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Fulfill the focal request</div>"
          },
          "groupIdentifier" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "PGN"
              }],
              "text" : "Requisition or grouper id"
            },
            "system" : "http://fhir.geniesolutions.io/Identifier/GenGtu-scoped/order/GTU00000",
            "value" : "GTU00000-V79K2K",
            "assigner" : {
              "reference" : "urn:uuid:9a6c5051-347a-4c9e-a3a2-d04759520af8",
              "display" : "Serenity Medical Centre"
            }
          },
          "partOf" : [{
            "reference" : "urn:uuid:936751d8-7294-586b-97e2-49076eb96fb4"
          }],
          "status" : "requested",
          "intent" : "order",
          "priority" : "routine",
          "code" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/CodeSystem/task-code",
              "code" : "fulfill",
              "display" : "Fulfill the focal request"
            }]
          },
          "focus" : {
            "reference" : "urn:uuid:ed7eec8d-839b-5aa7-af2a-8198a0575295"
          },
          "for" : {
            "reference" : "urn:uuid:07aec7d9-cea9-4bb1-ab89-ff6da6f8a4fe",
            "display" : "Mr Peter Adams"
          },
          "authoredOn" : "2025-07-09T05:32:32.299Z",
          "requester" : {
            "reference" : "urn:uuid:6ff008b5-d656-436e-a396-2dee94d710c8",
            "display" : "Dr Seymour Beardfacé (Serenity Medical Centre)"
          },
          "owner" : {
            "display" : "To be assigned"
          }
        }
      },
      {
        "fullUrl" : "urn:uuid:936751d8-7294-586b-97e2-49076eb96fb4",
        "resource" : {
          "resourceType" : "Task",
          "meta" : {
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-task-fulfillment-group"],
            "tag" : [{
              "system" : "http://fhir.geniesolutions.io/CodeSystem/eorders-tag",
              "code" : "fulfillment-task-group"
            }]
          },
          "text" : {
            "status" : "generated",
            "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Fulfill the focal request</div>"
          },
          "groupIdentifier" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "PGN"
              }],
              "text" : "Requisition or grouper id"
            },
            "system" : "http://fhir.geniesolutions.io/Identifier/GenGtu-scoped/order/GTU00000",
            "value" : "GTU00000-V79K2K",
            "assigner" : {
              "reference" : "urn:uuid:9a6c5051-347a-4c9e-a3a2-d04759520af8",
              "display" : "Serenity Medical Centre"
            }
          },
          "status" : "requested",
          "intent" : "order",
          "priority" : "routine",
          "code" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/CodeSystem/task-code",
              "code" : "fulfill",
              "display" : "Fulfill the focal request"
            }]
          },
          "for" : {
            "reference" : "urn:uuid:07aec7d9-cea9-4bb1-ab89-ff6da6f8a4fe",
            "display" : "Mr Peter Adams"
          },
          "authoredOn" : "2025-07-09T05:32:32.299Z",
          "requester" : {
            "reference" : "urn:uuid:6ff008b5-d656-436e-a396-2dee94d710c8",
            "display" : "Dr Seymour Beardfacé (Serenity Medical Centre)"
          },
          "owner" : {
            "display" : "To be assigned"
          }
        }
      }]
    }
  },
  {
    "name" : "providerHistory",
    "part" : [{
      "name" : "organizationTaskGroup",
      "part" : [{
        "name" : "organizationName",
        "valueString" : "Testing Lab"
      },
      {
        "name" : "groupTask",
        "resource" : {
          "resourceType" : "Task",
          "id" : "936751d8-7294-586b-97e2-49076eb96fb4",
          "meta" : {
            "versionId" : "1",
            "lastUpdated" : "2025-07-09T05:32:38.992+00:00",
            "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-task-fulfillment-group"],
            "tag" : [{
              "system" : "http://fhir.geniesolutions.io/CodeSystem/eorders-tag",
              "code" : "fulfillment-task-group",
              "display" : "fulfillment task group"
            }]
          },
          "groupIdentifier" : {
            "type" : {
              "coding" : [{
                "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
                "code" : "PGN"
              }],
              "text" : "Requisition or grouper id"
            },
            "system" : "http://fhir.geniesolutions.io/Identifier/GenGtu-scoped/order/GTU00000",
            "value" : "GTU00000-V79K2K",
            "assigner" : {
              "display" : "Serenity Medical Centre"
            }
          },
          "status" : "requested",
          "intent" : "order",
          "priority" : "routine",
          "code" : {
            "coding" : [{
              "system" : "http://hl7.org/fhir/CodeSystem/task-code",
              "code" : "fulfill",
              "display" : "Fulfill the focal request"
            }]
          },
          "for" : {
            "display" : "Mr Peter Adams"
          },
          "authoredOn" : "2025-07-09T05:32:32.299Z",
          "requester" : {
            "display" : "Dr Seymour Beardfacé (Serenity Medical Centre)"
          },
          "owner" : {
            "display" : "Testing Lab"
          }
        }
      }]
    }]
  }]
}

```
