Te Whatu Ora, Central Region Integration Hub
1.0.12-rc1 - ci-build New Zealand flag

Te Whatu Ora, Central Region Integration Hub, published by Te Whatu Ora, Te Pae Hauora o Ruahine o Tararua, MidCentral. This guide is not an authorized publication; it is the continuous build for version 1.0.12-rc1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/tewhatuora/centralRegion-integrationHub-ig/ and changes regularly. See the Directory of published versions

: CustomQuery - JSON Representation

Raw json | Download


{
  "resourceType" : "Subscription",
  "id" : "CustomQuery",
  "meta" : {
    "profile" : [
      🔗 "https://fhir-ig.digital.health.nz/crih/StructureDefinition/NZCentralRegionSubscription"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Subscription CustomQuery</b></p><a name=\"CustomQuery\"> </a><a name=\"hcCustomQuery\"> </a><a name=\"CustomQuery-en-NZ\"> </a><p><b>HAPI FHIR Payload Search Query</b>: ServiceRequest?_id=${matched_resource_id}&amp;_include=Patient:*&amp;_revinclude:iterate=AllergyIntolerance:*&amp;_revinclude:iterate=Flag:*&amp;_revinclude:iterate=ClinicalImpression:*</p><p><b>status</b>: Active</p><p><b>reason</b>: We need all referrals to the Mental Health &amp; Addiction Services clincs.</p><p><b>criteria</b>: ServiceRequest?clinicType=MMA</p><blockquote><p><b>channel</b></p><p><b>HAPI FHIR REST Hook Retry Count</b>: 5</p><p><b>SmileCDR Subscription Custom Delivery Class</b>: nz.govt.tewhatuora.central.cdr.subscription.whanautahi.CustomRestHookSubscriptionsDeliverer</p><p><b>type</b>: Rest Hook</p><p><b>endpoint</b>: <a href=\"https://simplifier.net/resolve?scope=fhir.org.nz.ig.base@2.0.0&amp;canonical=https://example.com/fhir-callback\">https://example.com/fhir-callback</a></p><p><b>payload</b>: application/json</p></blockquote></div>"
  },
  "extension" : [
    {
      "url" : "http://hapifhir.io/fhir/StructureDefinition/subscription-payload-search-criteria",
      "valueString" : "ServiceRequest?_id=${matched_resource_id}&_include=Patient:*&_revinclude:iterate=AllergyIntolerance:*&_revinclude:iterate=Flag:*&_revinclude:iterate=ClinicalImpression:*"
    }
  ],
  "status" : "active",
  "reason" : "We need all referrals to the Mental Health & Addiction Services clincs.",
  "criteria" : "ServiceRequest?clinicType=MMA",
  "channel" : {
    "extension" : [
      {
        "url" : "http://hapifhir.io/fhir/StructureDefinition/subscription-delivery-retry-count",
        "valueInteger" : 5
      },
      {
        "url" : "https://smilecdr.com/fhir/ns/StructureDefinition/subscription-channel-rest-delivery-class",
        "valueString" : "nz.govt.tewhatuora.central.cdr.subscription.whanautahi.CustomRestHookSubscriptionsDeliverer"
      }
    ],
    "type" : "rest-hook",
    "endpoint" : "https://example.com/fhir-callback",
    "payload" : "application/json"
  }
}