Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.60) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Example of a successful response from the $view operation - XML Representation

Raw xml | Download

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