Skip to main content
Guide
DG-3090
Status
Active
Version
1.0
Created
Updated

Quick intro

In order for a subscriber to know that information has become available based on some defined criteria, the subscriber needs register a notification channel either via the Portal or using an API.

Portal

Using the portal the organisation manager can add an email configuration as per the tab below:

register-notification-channel-screenshot-1.png
register notification channel screenshot 1

The partner service, email address, frequency and changes can be configured as per below: 

register-notification-channel-screenshot-2.png
register notification channel screenshot 2

API

This operation is a RESTful create interaction (type level Interaction) as described in https://www.hl7.org/fhir/http.html#create of a PCA™ Subscription resource as described in https://pca.digitalhealth.gov.au/fhir/4.0/currentdraft/StructureDefinition-pca-subscription.html

POST /PcaFhirApi/v2/subscriber/org-bdde9e29c1044fecb281ea9411e7866a/fhir/Subscription HTTP/1.1
Content-Type: application/fhir+json; charset=utf-8
Accept: application/fhir+json; charset=utf-8
Authorization: Bearer 24.1643784525.8e7ceace124643c996556c19cff21922
User-Agent: PostmanRuntime/7.29.0
Cache-Control: no-cache
Postman-Token: a7e0021d-b641-4d66-8d59-c6a8613a021a
Host: bne-drp-trp.digitalhealth.gov.au
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Content-Length: 334
   
{
"resourceType": "Subscription",
"status": "requested",
"reason": "subscriber change notifications",
"criteria": "_type=Organization,HealthcareService,Location,Practitioner,PractitionerRole,Provenance",
"channel": {
    "type": "rest-hook",
    "endpoint": "https://sm-r-us.com.au/my-notification-channel2"
    }
}
   
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: application/fhir+json; charset=utf-8
Last-Modified: Wed, 02 Feb 2022 06:45:45 GMT
Location: Subscription/sub-31779d1bd8894076979ba3f012164bb6
X-Frame-Options: DENY
Date: Wed, 02 Feb 2022 06:45:45 GMT
   
{
"resourceType":"Subscription",
"id":"sub-31779d1bd8894076979ba3f012164bb6",
"meta": {
    "lastUpdated":"2022-02-02T16:45:45.4348652+10:00"
    },
"status":"active",
"reason":"subscriber change notifications",
"criteria":"_type=Organization,HealthcareService,Location,Practitioner,PractitionerRole,Provenance",
"channel": {
    "type":"rest-hook","endpoint":"https://sm-r-us.com.au/my-notification-channel2"
    }
}

For further details on managing and updating notification channels refer to subscription operations of the API reference.

 Home | Back: Subscriber capability statementNext: Get service offerings

Trade marks of the Australian Digital Health Agency: 
Provider Connect Australia™, Helping healthcare providers stay connected™

PCA logo
PCA logo

On this page