{
  "resourceType" : "ServiceRequest",
  "id" : "Rule3Exemption",
  "meta" : {
    "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-pathologyrequest"]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest Rule3Exemption</b></p><a name=\"Rule3Exemption\"> </a><a name=\"hcRule3Exemption\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-eorders-pathologyrequest.html\">EOrders Pathology Request</a></p></div><p><b>Diagnostic Request Rule 3 Exemption</b>: true</p><p><b>ServiceRequest Precondition</b>: <span title=\"Codes:{http://snomed.info/sct 726054005}\">Fasting</span></p><p><b>Result Copies To</b>: <a href=\"PractitionerRole-6d408eeb-e31a-40c4-aece-0122d9ba2c1d.html\">Trevor Wright</a></p><p><b>identifier</b>: Placer Number/PON-Genie-20231115100957-0655</p><p><b>requisition</b>: Placer Group Number/GEN69798-A0427</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 108252007}\">Laboratory procedure</span></p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 13070009}\">Hepatitis A virus antibody, IgG type</span></p><p><b>quantity</b>: 6</p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>encounter</b>: <a href=\"#hcRule3Exemption/patientEncounterInline\">Encounter</a></p><p><b>occurrence</b>: 2023-11-15 --&gt; 2024-05-15</p><p><b>authoredOn</b>: 2023-11-15 10:09:57+1000</p><p><b>requester</b>: <a href=\"PractitionerRole-570c1233-5361-453e-99a4-504c2045d27c.html\">Dr Jane Doe @ Small Family Trust</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">A clinical note</span>, <span title=\"Codes:\">Follow-up investigation</span></p><p><b>insurance</b>: <a href=\"#hcRule3Exemption/billingCoverageInline\">Coverage</a></p><p><b>supportingInfo</b>: </p><ul><li><a href=\"#hcRule3Exemption/pregnantInline\">Observation</a></li><li><a href=\"#hcRule3Exemption/LMPDateInline\">Observation</a></li><li><a href=\"#hcRule3Exemption/GestAgeInline\">Observation</a></li><li><a href=\"#hcRule3Exemption/EDDInline\">Observation</a></li></ul><p><b>patientInstruction</b>: Some patient instructions</p><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #pregnantInline</b></p><a name=\"Rule3Exemption/pregnantInline\"> </a><a name=\"hcRule3Exemption/pregnantInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/core/0.2.2-preview/StructureDefinition-au-core-pregnancystatus.html\">AU Core Pregnancy Status</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category social-history}\">Social History</span></p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 82810-3}\">Pregnancy status</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>effective</b>: 2023-11-15 10:10:00+1000</p><p><b>performer</b>: <a href=\"PractitionerRole-570c1233-5361-453e-99a4-504c2045d27c.html\">Dr Jane Doe @ Small Family Trust</a></p><p><b>value</b>: <span title=\"Codes:{http://loinc.org LA15173-0}\">Pregnant</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #LMPDateInline</b></p><a name=\"Rule3Exemption/LMPDateInline\"> </a><a name=\"hcRule3Exemption/LMPDateInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/core/0.2.2-preview/StructureDefinition-au-core-lastmenstrualperiod.html\">AU Core Last Menstrual Period</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category survey}\">Survey</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 21840007}, {http://loinc.org 8665-2}\">Date of last menstrual period</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>effective</b>: 2023-11-15 10:10:00+1000</p><p><b>performer</b>: <a href=\"PractitionerRole-570c1233-5361-453e-99a4-504c2045d27c.html\">Dr Jane Doe @ Small Family Trust</a></p><p><b>value</b>: 2023-11-01</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #GestAgeInline</b></p><a name=\"Rule3Exemption/GestAgeInline\"> </a><a name=\"hcRule3Exemption/GestAgeInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/core/0.2.2-preview/StructureDefinition-au-core-gestationalage.html\">AU Core Gestational Age</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category survey}\">Survey</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 57036006}, {http://loinc.org 11885-1}\">Gestational Age</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>focus</b>: Baby of Mary Smith</p><p><b>effective</b>: 2023-11-15 10:10:00+1000</p><p><b>performer</b>: <a href=\"PractitionerRole-570c1233-5361-453e-99a4-504c2045d27c.html\">Dr Jane Doe @ Small Family Trust</a></p><p><b>value</b>: 14 day<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  coded = 'd')</span></p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Observation #EDDInline</b></p><a name=\"Rule3Exemption/EDDInline\"> </a><a name=\"hcRule3Exemption/EDDInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org.au/fhir/core/0.2.2-preview/StructureDefinition-au-core-estimateddateofdelivery.html\">AU Core Estimated Date of Delivery</a></p></div><p><b>status</b>: Final</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/observation-category imaging}\">Imaging</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 161714006}, {http://loinc.org 11781-2}, {http://snomed.info/sct 161714006}\">Estimated date of delivery</span></p><p><b>subject</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>focus</b>: Baby of Mary Smith</p><p><b>effective</b>: 2023-11-15 10:10:00+1000</p><p><b>performer</b>: <a href=\"PractitionerRole-570c1233-5361-453e-99a4-504c2045d27c.html\">Dr Jane Doe @ Small Family Trust</a></p><p><b>value</b>: 2024-08-01</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Coverage #billingCoverageInline</b></p><a name=\"Rule3Exemption/billingCoverageInline\"> </a><a name=\"hcRule3Exemption/billingCoverageInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-eorders-coverage.html\">EOrders Coverage</a></p></div><p><b>status</b>: Active</p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode PUBLICPOL}\">Bulk Billed</span></p><p><b>beneficiary</b>: <a href=\"Patient-1078d551-7be2-49f7-a122-c230b8757f2f.html\">Mary Smith</a></p><p><b>payor</b>: Medicare Australia</p></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Encounter #patientEncounterInline</b></p><a name=\"Rule3Exemption/patientEncounterInline\"> </a><a name=\"hcRule3Exemption/patientEncounterInline\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-eorders-encounter.html\">EOrders Encounter</a></p></div><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "Observation",
    "id" : "pregnantInline",
    "meta" : {
      "profile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-pregnancystatus"]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Pregnant</div>"
    },
    "status" : "final",
    "category" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "social-history",
        "display" : "Social History"
      }],
      "text" : "Social History"
    }],
    "code" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "82810-3",
        "display" : "Pregnancy status"
      }],
      "text" : "Pregnancy status"
    },
    "subject" : {
      "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
      "display" : "Mary Smith"
    },
    "effectiveDateTime" : "2023-11-15T10:10:00+10:00",
    "performer" : [{
      "reference" : "PractitionerRole/570c1233-5361-453e-99a4-504c2045d27c",
      "display" : "Dr Jane Doe @ Small Family Trust"
    }],
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://loinc.org",
        "code" : "LA15173-0",
        "display" : "Pregnant"
      }],
      "text" : "Pregnant"
    }
  },
  {
    "resourceType" : "Observation",
    "id" : "LMPDateInline",
    "meta" : {
      "profile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-lastmenstrualperiod"]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">LMP: 2023-11-01</div>"
    },
    "status" : "final",
    "category" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "survey",
        "display" : "Survey"
      }],
      "text" : "Survey"
    }],
    "code" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "21840007",
        "display" : "Date of last menstrual period"
      },
      {
        "system" : "http://loinc.org",
        "code" : "8665-2",
        "display" : "Last menstrual period start date"
      }],
      "text" : "Date of last menstrual period"
    },
    "subject" : {
      "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
      "display" : "Mary Smith"
    },
    "effectiveDateTime" : "2023-11-15T10:10:00+10:00",
    "performer" : [{
      "reference" : "PractitionerRole/570c1233-5361-453e-99a4-504c2045d27c",
      "display" : "Dr Jane Doe @ Small Family Trust"
    }],
    "valueDateTime" : "2023-11-01"
  },
  {
    "resourceType" : "Observation",
    "id" : "GestAgeInline",
    "meta" : {
      "profile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-gestationalage"]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">Gestational Age: 14 days</div>"
    },
    "status" : "final",
    "category" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "survey",
        "display" : "Survey"
      }],
      "text" : "Survey"
    }],
    "code" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "57036006",
        "display" : "Fetal gestational age"
      },
      {
        "system" : "http://loinc.org",
        "code" : "11885-1",
        "display" : "Gestational age Estimated from last menstrual period"
      }],
      "text" : "Gestational Age"
    },
    "subject" : {
      "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
      "display" : "Mary Smith"
    },
    "focus" : [{
      "display" : "Baby of Mary Smith"
    }],
    "effectiveDateTime" : "2023-11-15T10:10:00+10:00",
    "performer" : [{
      "reference" : "PractitionerRole/570c1233-5361-453e-99a4-504c2045d27c",
      "display" : "Dr Jane Doe @ Small Family Trust"
    }],
    "valueQuantity" : {
      "value" : 14,
      "unit" : "day",
      "system" : "http://unitsofmeasure.org",
      "code" : "d"
    }
  },
  {
    "resourceType" : "Observation",
    "id" : "EDDInline",
    "meta" : {
      "profile" : ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-estimateddateofdelivery"]
    },
    "text" : {
      "status" : "generated",
      "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">EDD: 2024-08-01</div>"
    },
    "status" : "final",
    "category" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/observation-category",
        "code" : "imaging",
        "display" : "Imaging"
      }]
    }],
    "code" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "161714006"
      },
      {
        "system" : "http://loinc.org",
        "code" : "11781-2",
        "display" : "Delivery date US composite estimate"
      },
      {
        "system" : "http://snomed.info/sct",
        "code" : "161714006",
        "display" : "Estimated date of delivery"
      }],
      "text" : "Estimated date of delivery"
    },
    "subject" : {
      "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
      "display" : "Mary Smith"
    },
    "focus" : [{
      "display" : "Baby of Mary Smith"
    }],
    "effectiveDateTime" : "2023-11-15T10:10:00+10:00",
    "performer" : [{
      "reference" : "PractitionerRole/570c1233-5361-453e-99a4-504c2045d27c",
      "display" : "Dr Jane Doe @ Small Family Trust"
    }],
    "valueDateTime" : "2024-08-01"
  },
  {
    "resourceType" : "Coverage",
    "id" : "billingCoverageInline",
    "meta" : {
      "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-coverage"]
    },
    "status" : "active",
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "PUBLICPOL",
        "display" : "public healthcare"
      }],
      "text" : "Bulk Billed"
    },
    "beneficiary" : {
      "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
      "display" : "Mary Smith"
    },
    "payor" : [{
      "type" : "Organization",
      "display" : "Medicare Australia"
    }]
  },
  {
    "resourceType" : "Encounter",
    "id" : "patientEncounterInline",
    "meta" : {
      "profile" : ["http://fhir.geniesolutions.io/StructureDefinition/eorders-encounter"]
    },
    "status" : "finished",
    "class" : {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "AMB",
      "display" : "ambulatory"
    }
  }],
  "extension" : [{
    "url" : "http://fhir.geniesolutions.io/StructureDefinition/erequest-servicerequest-rule3exemption",
    "valueBoolean" : true
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/servicerequest-precondition",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "726054005",
        "display" : "After fasting"
      }],
      "text" : "Fasting"
    }
  },
  {
    "url" : "http://hl7.org.au/fhir/StructureDefinition/result-copies-to",
    "valueReference" : {
      "reference" : "PractitionerRole/6d408eeb-e31a-40c4-aece-0122d9ba2c1d",
      "identifier" : {
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org.au/CodeSystem/v2-0203",
            "code" : "UPIN",
            "display" : "Medicare Provider Number"
          }],
          "text" : "Medicare Provider Number"
        },
        "system" : "http://ns.electronichealth.net.au/id/medicare-provider-number",
        "value" : "9607545L"
      },
      "display" : "Trevor Wright"
    }
  }],
  "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/8003627796442929",
    "value" : "PON-Genie-20231115100957-0655",
    "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",
        "display" : "Placer Group Number"
      }],
      "text" : "Placer Group Number"
    },
    "system" : "http://ns.electronichealth.net.au/id/hpio-scoped/order/1.0/8003627796442929",
    "value" : "GEN69798-A0427",
    "assigner" : {
      "reference" : "Organization/fdcca47c-e554-46e5-a71f-91ec855faa29",
      "display" : "Small Family Trust"
    }
  },
  "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|3.0.1"
      }],
      "system" : "http://snomed.info/sct",
      "code" : "13070009",
      "display" : "Hepatitis A virus antibody, IgG type"
    }],
    "text" : "Hepatitis A virus antibody, IgG type"
  },
  "quantityQuantity" : {
    "value" : 6
  },
  "subject" : {
    "reference" : "Patient/1078d551-7be2-49f7-a122-c230b8757f2f",
    "display" : "Mary Smith"
  },
  "encounter" : {
    "reference" : "#patientEncounterInline",
    "type" : "Encounter",
    "display" : "Encounter"
  },
  "occurrencePeriod" : {
    "start" : "2023-11-15",
    "end" : "2024-05-15"
  },
  "authoredOn" : "2023-11-15T10:09:57.000001+10:00",
  "requester" : {
    "reference" : "PractitionerRole/570c1233-5361-453e-99a4-504c2045d27c",
    "display" : "Dr Jane Doe @ Small Family Trust"
  },
  "reasonCode" : [{
    "text" : "A clinical note"
  },
  {
    "text" : "Follow-up investigation"
  }],
  "insurance" : [{
    "reference" : "#billingCoverageInline",
    "type" : "Coverage",
    "display" : "Coverage"
  }],
  "supportingInfo" : [{
    "reference" : "#pregnantInline",
    "type" : "Observation",
    "display" : "Observation"
  },
  {
    "reference" : "#LMPDateInline",
    "type" : "Observation",
    "display" : "Observation"
  },
  {
    "reference" : "#GestAgeInline",
    "type" : "Observation",
    "display" : "Observation"
  },
  {
    "reference" : "#EDDInline",
    "type" : "Observation",
    "display" : "Observation"
  }],
  "patientInstruction" : "Some patient instructions"
}