# EOrders Consent Withdrawl - Magentus Practice Management FHIR Implementation Guide v1.2.60

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **EOrders Consent Withdrawl**

## Resource Profile: EOrders Consent Withdrawl ( Experimental ) 

| | |
| :--- | :--- |
| *Official URL*:http://fhir.geniesolutions.io/StructureDefinition/eorders-consentwithdrawl | *Version*:1.2.60 |
| Active as of 2026-04-05 | *Computable Name*:EOrdersConsentWithdrawl |

 
EOrders Withdraw Consent to upload result to MHR. It should be noted that this resource links to the relevant `ServiceRequest`s rather than being referenced from the request itself. This means searches looking to include optional `Consent` information must add in a reverse include parameter to the search. 
MHR consent withdrawals should only be included for countering the policy position that diagnostic reports should be uploaded to MHR by default. 

**Usages:**

* Use this Profile: [eOrders Submit Order Transaction Bundle](StructureDefinition-eorders-submit-order-bundle.md)
* Examples for this Profile: [Consent/6d83978c-6507-4c1a-8099-4a7d7fe48bc0](Consent-6d83978c-6507-4c1a-8099-4a7d7fe48bc0.md) and [Consent/880c657d-af10-4a4c-a925-dbd49075f0eb](Consent-880c657d-af10-4a4c-a925-dbd49075f0eb.md)
* CapabilityStatements using this Profile: [Genie Solutions eOrders Capability Statement](CapabilityStatement-eorders-capability.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/geniesolutions.fhir|current/StructureDefinition/eorders-consentwithdrawl)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-eorders-consentwithdrawl.csv), [Excel](StructureDefinition-eorders-consentwithdrawl.xlsx), [Schematron](StructureDefinition-eorders-consentwithdrawl.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "eorders-consentwithdrawl",
  "url" : "http://fhir.geniesolutions.io/StructureDefinition/eorders-consentwithdrawl",
  "version" : "1.2.60",
  "name" : "EOrdersConsentWithdrawl",
  "title" : "EOrders Consent Withdrawl",
  "status" : "active",
  "experimental" : true,
  "date" : "2026-04-05T21:47:41+00:00",
  "publisher" : "Magentus Practice Management",
  "contact" : [{
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management"
    },
    {
      "system" : "email",
      "value" : "andy.bond@magentus.com"
    }]
  },
  {
    "name" : "Magentus Practice Management",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.magentus.com/practice-management",
      "use" : "work"
    }]
  }],
  "description" : "EOrders Withdraw Consent to upload result to MHR.  It should be noted that this resource links to the relevant `ServiceRequest`s rather than being referenced from the request itself.  This means searches looking to include optional `Consent` information must add in a reverse include parameter to the search.  \n\nMHR consent withdrawals should only be included for countering the policy position that diagnostic reports should be uploaded to MHR by default.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "AU"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Consent",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Consent",
      "path" : "Consent"
    },
    {
      "id" : "Consent.status",
      "path" : "Consent.status",
      "patternCode" : "active",
      "mustSupport" : true
    },
    {
      "id" : "Consent.scope.coding",
      "path" : "Consent.scope.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        },
        {
          "type" : "value",
          "path" : "code"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "Consent.scope.coding:patientprivacy",
      "path" : "Consent.scope.coding",
      "sliceName" : "patientprivacy",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.scope.coding:patientprivacy.system",
      "path" : "Consent.scope.coding.system",
      "min" : 1,
      "patternUri" : "http://terminology.hl7.org/CodeSystem/consentscope"
    },
    {
      "id" : "Consent.scope.coding:patientprivacy.code",
      "path" : "Consent.scope.coding.code",
      "min" : 1,
      "patternCode" : "patient-privacy"
    },
    {
      "id" : "Consent.category.coding",
      "path" : "Consent.category.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        },
        {
          "type" : "value",
          "path" : "code"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "Consent.category.coding:idscl",
      "path" : "Consent.category.coding",
      "sliceName" : "idscl",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.category.coding:idscl.system",
      "path" : "Consent.category.coding.system",
      "min" : 1,
      "patternUri" : "http://terminology.hl7.org/CodeSystem/v3-ActCode"
    },
    {
      "id" : "Consent.category.coding:idscl.code",
      "path" : "Consent.category.coding.code",
      "min" : 1,
      "patternCode" : "IDSCL"
    },
    {
      "id" : "Consent.patient",
      "path" : "Consent.patient",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.geniesolutions.io/StructureDefinition/gs-patient"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Consent.dateTime",
      "path" : "Consent.dateTime",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Consent.performer",
      "path" : "Consent.performer",
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org.au/fhir/StructureDefinition/au-relatedperson",
        "http://fhir.geniesolutions.io/StructureDefinition/gs-patient"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Consent.organization",
      "path" : "Consent.organization",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.geniesolutions.io/StructureDefinition/gs-organization"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "Consent.policyRule.coding",
      "path" : "Consent.policyRule.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        },
        {
          "type" : "value",
          "path" : "code"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "Consent.policyRule.coding:optin",
      "path" : "Consent.policyRule.coding",
      "sliceName" : "optin",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.policyRule.coding:optin.system",
      "path" : "Consent.policyRule.coding.system",
      "min" : 1,
      "patternUri" : "http://terminology.hl7.org/CodeSystem/v3-ActCode"
    },
    {
      "id" : "Consent.policyRule.coding:optin.code",
      "path" : "Consent.policyRule.coding.code",
      "min" : 1,
      "patternCode" : "OPTIN"
    },
    {
      "id" : "Consent.provision",
      "path" : "Consent.provision",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.type",
      "path" : "Consent.provision.type",
      "min" : 1,
      "patternCode" : "deny",
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.action",
      "path" : "Consent.provision.action",
      "min" : 1,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.action.coding",
      "path" : "Consent.provision.action.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        },
        {
          "type" : "value",
          "path" : "code"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "Consent.provision.action.coding:disclose",
      "path" : "Consent.provision.action.coding",
      "sliceName" : "disclose",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.action.coding:disclose.system",
      "path" : "Consent.provision.action.coding.system",
      "min" : 1,
      "patternUri" : "http://terminology.hl7.org/CodeSystem/consentaction"
    },
    {
      "id" : "Consent.provision.action.coding:disclose.code",
      "path" : "Consent.provision.action.coding.code",
      "min" : 1,
      "patternCode" : "disclose"
    },
    {
      "id" : "Consent.provision.class",
      "path" : "Consent.provision.class",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        },
        {
          "type" : "value",
          "path" : "code"
        }],
        "rules" : "open"
      },
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.class:diagnosticreport",
      "path" : "Consent.provision.class",
      "sliceName" : "diagnosticreport",
      "min" : 1,
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.class:diagnosticreport.system",
      "path" : "Consent.provision.class.system",
      "min" : 1,
      "patternUri" : "http://hl7.org/fhir/resource-types"
    },
    {
      "id" : "Consent.provision.class:diagnosticreport.code",
      "path" : "Consent.provision.class.code",
      "min" : 1,
      "patternCode" : "DiagnosticReport"
    },
    {
      "id" : "Consent.provision.data",
      "path" : "Consent.provision.data",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.data.meaning",
      "path" : "Consent.provision.data.meaning",
      "patternCode" : "dependents",
      "mustSupport" : true
    },
    {
      "id" : "Consent.provision.data.reference",
      "path" : "Consent.provision.data.reference",
      "short" : "Reference to dependent ServiceRequest(s). (See description for unresolved problem)",
      "definition" : "Reference to the ServiceRequest(s) related to the DiagnosticReport to be not disclosed.\n\n**Problem: The Filler DiagnosticReport will not reference the ServiceRequest as they can not reliably link the results to the request.**\n\nWill need to consider how to link this consent to the DIagnosticReport, perhaps a conditional reference or logical reference using the Placer Group Number (PGN)??",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-diagnosticrequest",
        "http://fhir.geniesolutions.io/StructureDefinition/eorders-pathologyrequest",
        "http://fhir.geniesolutions.io/StructureDefinition/eorders-radiologyrequest"]
      }],
      "mustSupport" : true
    }]
  }
}

```
