New Zealand HPI Implementation Guide
1.5.0 - Release

New Zealand HPI Implementation Guide, published by Te Whatu Ora. This guide is not an authorized publication; it is the continuous build for version 1.5.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7NZ/hpi/ and changes regularly. See the Directory of published versions

CapabilityStatement: CapabilityStatement

Official URL: https://fhir-ig.digital.health.nz/CapabilityStatement/HpiCapabilityStatement Version: 1.5.0
Draft as of 2020-04-01 Computable Name: HPI_CapabilityStatement

This is the computable resource that describes the RESTful endpoint

Raw OpenAPI-Swagger Definition file | Download

Generated Narrative: CapabilityStatement HpiCapabilityStatement

Capability Statement describing HPI FHIR APIs

  • Implementation Guide Version: 1.5.0
  • FHIR Version: 4.0.1
  • Supported Formats: json
  • Supported Patch Formats:
  • Published on: 2020-04-01
  • Published by: Te Whatu Ora

Note to Implementers: FHIR Capabilities

Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.

FHIR RESTful Capabilities

Mode: server

Security
Enable CORS: yes
Security services supported: SMART-on-FHIR
Summary of System-wide Interactions

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRSUCSearches_include_revincludeOperations
Practitionerhttp://hl7.org.nz/fhir/StructureDefinition/HPIPractitioner
Additional supported profiles:
  HPI Practitioner
yyyidentifier, name, gender, birthdate$update-core
PractitionerRoleSupported Profiles
  HPI Practitioner role
yyyypractitioner, organization, location, role, activepractitioner, organization, location
OrganizationSupported Profiles
  HPI Organization
yyactive, name, identifier, type, partOf
LocationSupported Profiles
  HPI Location
yyidentifier, name, type, address, organization, dhb, status, messaging-address

Resource Conformance: supported Practitioner

Base System Profile
HPI Practitioner
Profile Conformance
SHALL
Reference Policy

Supported Profiles

HPI Practitioner

Interaction summary
  • Supports
    read

    GET, [base]/Practitioner[cpn], Retrieves a Practitioner resource by Id, system/Practitioner.r

    search-type

    GET,[base]/Practitioner, Queries against the Practitioner using name and other search parameters. Will return a Bundle (even if there are no matching resources),system/Practitioner.s

    create

    POST',[base]/Practitioner, Creates a new Practitioner record , system/Practitioner.c

Documentation

Practitioner query

Search Parameters
ConformanceParameterTypeDocumentation
SHALLidentifiertoken

For searching a Practitioner resource using their council/board registration number

SHALLnamestring

Should contain the person’s full name, include all given names and family name.

SHALLgendertoken

Use with name and birthdate. Search by gender alone is not allowed.

SHALLbirthdatedate

Use with name and gender. Search by birthdate alone is not allowed.

 
Extended Operations
ConformanceOperationDocumentation
SHALL$update-core

POST, [base]/Practitioner[cpn],An operation that updates a health providers demographic details, system/Practitioner.u

Resource Conformance: supported PractitionerRole

Core FHIR Resource
PractitionerRole
Reference Policy
Interaction summary
  • Supports
    read

    GET, [base]/PractitionerRole[id], Used to retrieve a PractitionerRole resource by Id, system/PractitionerRole.r

    search-type

    GET, [base]/PractitionerRole, Queries against PractitionerRole using hpi-person-id and other parameters. Will return a Bundle (even if there are no matching resources), system/PractitionerRole.s

    create

    POST, [base]/PractitionerRole, Create a new PractitionerRole, system/PractitionerRole.c

    update

    PUT, [base]/PractitionerRole[id], Update contact details and end date on an existing PractitionerRole record, system/PractitionerRole.u

Supported Profiles

HPI Practitioner role

Documentation

PractitionerRole query

Search Parameters
ConformanceParameterTypeDocumentation
SHALLpractitionerreference

Given an hpi-person-id, returns the PractitionerRole records associated with that id

SHALLorganizationreference

Not yet enabled. Given an hpi-organization-id, returns the PractitionerRole records associated with that id

SHALLlocationtoken

Given an hpi-facility-id, returns the PractitionerRole records associated with that id

SHALLroletoken

Returns PractitionerRole records based on role code

SHALLactivetoken

To enable exclusion of inactive PractitionerRole records

 

Resource Conformance: supported Organization

Core FHIR Resource
Organization
Reference Policy
Interaction summary
  • Supports
    read

    GET, [base]/Organization/[hpi-org-id], Used to retrieve an Organization resource by Id, system/Organization.r

    search-type

    GET, [base]/Organization, Queries against the Organization using name or other parameters. Will return a Bundle (even if there are no matching resources), system/Organization.s

Supported Profiles

HPI Organization

Documentation

Organization query

Search Parameters
ConformanceParameterTypeDocumentation
SHALLactivetoken

To enable exclusion of inactive organizations

SHALLnamestring

For searching using the organisation’s name or an alias name

SHALLidentifiertoken

For searching using an organisation’s New Zealand Business Number (NZBN) or their legacy NZHIS agency code.

SHALLtypetoken

For searching using an organisation's type E.g. DHB, RA, Educational institution

SHALLpartOfreference

For retrieving organizations that are 'part of' another.

 

Resource Conformance: supported Location

Core FHIR Resource
Location
Reference Policy
Interaction summary
  • Supports
    read

    GET, [base]/Location/[hpi-facid], Used to retrieve an Location resource by Id, system/Location.r

    search-type

    GET, [base]/Location, Queries against the Location using name or other parameters. Will return a Bundle (even if there are no matching resources), system/Location.s

Supported Profiles

HPI Location

Documentation

Location query

Search Parameters
ConformanceParameterTypeDocumentation
SHALLidentifiertoken

For searching using an organization’s legacy NZHIS facility code.

SHALLnamestring

For searching using the Locations name or alias name

SHALLtypetoken

Retrieve Locations of the given type

SHALLaddressstring

Retrieve the Locations by address

SHALLorganizationreference

Retrieve Locations with the given ManagingOrganization

SHALLdhbtoken

Searching for Locations that are in a DHBs catchment area.

SHALLstatustoken

Not yet enabled. To enable exclusion of inactive locations

SHALLmessaging-addressstring

Search by EDI address