Health NZ | Te Whatu Ora FHIR Mockplus System Implementation Guide
0.0.4 - draft
Health NZ | Te Whatu Ora FHIR Mockplus System Implementation Guide - Local Development build (v0.0.4) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: https://fhir-ig.digital.health.nz/mockplus-system/ImplementationGuide/tewhatuora.fhir.mockplusystem | Version: 0.0.4 | |||
Draft as of 2024-11-28 | Computable Name: HealthNZTeWhatuOraFHIRMockplusSystemImplementationGuide |
Mock+ is a mult-tenant solution that provides a developer specific sandbox environment. The Developer can perform systm-to-system authentication, in the persona of a Sector Application, e.g. a Patient Management System (PMS).
The following system operations are unique to Mock+ and cannot be used in downstream non-production (or production) environments.
The Mock+ custom system operations are FHIR compliant interfaces to allow a client to seed or reset their tenants data, and provision the Kibana dashboard for their tenant.
The Kibana dashboard is a unique user interface feature of Mock+, and is also not available in other environments.
To be onboarded with a Mock+, follow the onboarding process at https://www.tewhatuora.govt.nz/health-services-and-programmes/digital-health/digital-services-hub.
Once on-boarded as a consumer, and issued with a Client ID, this client ID is your tenant. This is embedded in your access token and used by Mock+ to route requests to the correct tenant.
The following system operations are limited to your tenant.
The reset operation allows for new tenants to be seeded, and subsequently re-seeded to provide a known state after testing.
Required Scope : system/*.crus
See Postman Collection for user guidance.
Kibana Dashboard for ad-hoc queries of the clients tenant. The underlying data in OpenSearch is also loaded and refreshed when the Reset operation is triggered.
Required Scope : system/*.crus
See Developer Dashboard for user guidance.