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
OpenSearch is an open-sourced tool used by Mock+ to provide API consumers with a view of their activity to support design and development activity.

Obtain Keycloak access_token (authenticate as tenant)
Client ID scope required is system/*.crus

Call Provision Dashboard

Login OpenSearch

Change Password

Confirm global tenant

Select Explore on my own

Discovery Dashboard will not appear before any index-pattern are created

Open Management/Overview, select Dashboards management, and then Index patterns

Special case Index-patterns
Index-patterns are created with the $reset operation (there are multiple for each API e.g. Air, HPI, NHI,… and each operation will create its own index-patterns depending on the seed data).
There seems to be a bug - For the index patterns to take effect the first time in the Dashboard (to see the index-patterns, use the visualisation dashboard and prevent Errors) the OpenSearch UI needs to be refreshed.
This can be achieved via switching to the Private tenant and back to Global tenant (only necessary once).
Reset (and seed) data

Refresh the OpenSearch Dashboard via switching tenants and back. From the user options, select Switch tenants.

Select the Private tenant and confirm, then switch back to Global.



Now the index-patterns are visible
