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

Quick intro

Initially the client system will download all relevant records, so the <lastSync> will not be set.

Bundle and get the latest

To prevent missing records, synchronise your client system with the PCA™ server clock when setting bookmarks.

The safest way to do that is to traverse through the bundle and get the latest _lastUpdated field of a resource in the bundle

if (lastSync &lt; read.resource.meta.lastUpdated)
    set lastSync = meta.lastUpdated

Date ranges

To select a service offering between a specific date range, use the _lastUpdated field with greater than and less than operators as shown in the example below:

&amp;_lastUpdated=gt2019-01-01T15:56:48%2B11:00&amp;_lastUpdated=lt2022-01-01T15:56:48%2B11:00

 Home | Back: Get service offeringsNext: Count and paging

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

PCA logo
PCA logo

On this page