Everything in the app sits in one of three layers. Knowing which layer something belongs to tells you where it lives, who looks after it, and whether changing it means editing content or building something new.
The three layers
Somewhere a person navigates to, with its own address in the app. Ngā mate is a screen.
One piece of content shown inside a screen. High blood pressure is a record. Every condition uses the same condition screen, so eight conditions are eight records, not eight screens.
A section inside a record, such as What you may notice. A record can have as many blocks as it needs, and blocks never need their own address.
Think of a bookshelf, its books, and their chapters. Writing another book does not mean building another shelf.
/conditions
/conditions/high-blood-pressure
recordrecordand five more condition records, all on the same screen
The map
The five destinations along the bottom of the app are the top of the map. Every screen sits under one of them.
Arriving for the first time
/consent/sign-in/onboarding/welcome/onboarding/profile/onboarding/health/onboarding/goals/
On the home screen
Opens from here
/profile
/details
/library
/wahine
Many topics, one screen. Topics live as sections inside Wāhine rather than as separate screens.
/akoranga
/resources
/resources/:id
example record/taiao
Also opens from Taku Manawa. Its content sits in sections on this one screen.
/goals
/settings
/contacts
/notifications
/hub
/conditions
/conditions/:id
/conditions/high-blood-pressureEvery condition follows the same pattern. Each one can have as many blocks as it needs.
/symptoms
/symptoms/log
/blood-pressure
/rongoa
/reflections
/notes
/checklists
/reminders
/whare
The safety path
The 111 wording is part of the app itself. Content can turn it on for a condition, but nothing in the content manager can take it away.
/consentThe first thing anyone sees, before signing in.
Built in/Review health and safety information reopens Privacy. Tautuhinga does too.
Built in/conditions/:idThe 111 block appears on records marked urgent, such as Heart attack.
Switched on by the record/symptoms/logPoints to a health provider or 111 when something feels severe.
Built in/contacts111, when to call it, and Healthline on 0800 611 116.
Built inYes adds the built-in 111 block to that condition’s screen. The wording of the block, the number and the button are looked after in the app, so they read the same everywhere and cannot be edited by accident.
Onboarding and the records it fills
Where information goes
Records link to records
A record is stored once and given an ID. Links are what let the same record appear in more than one place.
/conditions/high-blood-pressure
Eight is the limit, not the target. A parent with two good resources is complete.
The resource is stored once. Each place it appears is just another link to the same ID.
A child condition is grouped under its parent and can still be found by search.
The content register
The register Manawaora already keeps is organised the right way: things stored once, joined by ID. Each tab has a clear place to go.
Every row keeps its review columns: clinical, cultural, te reo Māori, permission and final status.
The upload sheet
Built from the register’s own columns and IDs. Each tab is one kind of thing, each row is one record, block or link, and the ID is what joins them. Pick a tab, then a row, to see where it lands.
A2fxCND-001
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Condition ID | Parent ID | English title | Te reo Māori title | Urgent | Order | Final status |
| 2 | CND-001 | High blood pressure | Te reo Māori required | No | 1 | Not approved | |
| 3 | CND-002 | Coronary artery disease | Te reo Māori required | No | 2 | Not approved | |
| 4 | CND-018 | CND-002 | Angina | Te reo Māori required | No | 1 | Not approved |
| 5 | CND-003 | Heart attack | Te reo Māori required | Yes | 3 | Not approved | |
| One row is one condition. Leave Parent ID empty for a top-level condition. | |||||||
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Content ID | Condition ID | Block | Order | English text | Te reo Māori text | Final status |
| 2 | HBP-002 | CND-001 | Understanding this condition | 1 | wording from the register | Te reo Māori required | Not approved |
| 3 | HBP-003 | CND-001 | What you may notice | 2 | wording from the register | Te reo Māori required | Not approved |
| 4 | HBP-004 | CND-001 | What can help | 3 | wording from the register | Te reo Māori required | Not approved |
| 5 | HBP-005 | CND-001 | Talk with your health provider | 4 | wording from the register | Te reo Māori required | Not approved |
| Block is picked from a set list, so a row can add a section but never a new screen. | |||||||
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Resource ID | Resource title | Resource type | Publisher | Link / file location | Final status |
| 2 | RES-HBP-001 | Managing high blood pressure | Website | Heart Foundation NZ | link from the register | Not approved |
| 3 | RES-HBP-002 | Managing your blood pressure booklet | Heart Foundation NZ | file from the register | Not approved | |
| 4 | RES-HBP-003 | Using a home blood pressure monitor | Website | Heart Foundation NZ | link from the register | Not approved |
| 5 | RES-HBP-005 | Blood pressure, tips for lowering | Website | Healthify He Puna Waiora | link from the register | Not approved |
| Store each resource once. Where it appears is decided on the Links tab. | ||||||
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Parent ID | Child ID | Relationship | Order |
| 2 | CND-001 | RES-HBP-001 | Related resource | 1 |
| 3 | CND-001 | RES-HBP-002 | Related resource | 2 |
| 4 | CND-001 | RES-HBP-003 | Related resource | 3 |
| 5 | CND-002 | CND-018 | Grouped under | 1 |
| 6 | CND-009 | CND-005 | Grouped under | 1 |
| Up to eight rows for any one Parent ID. The import stops a ninth. | ||||
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Content ID | Screen | Section | English text | Te reo Māori text | Final status |
| 2 | KAI-001 | Kāinga | Whakataukī | translation | whakataukī | Not approved |
| 3 | WAH-001 | Wāhine | Topic section | wording from the register | Te reo Māori required | Not approved |
| 4 | TAI-001 | Te Taiao | Section | wording from the register | Te reo Māori required | Not approved |
| 5 | AKO-001 | Akoranga | Learning section | wording from the register | Te reo Māori required | Not approved |
| Screen is picked from the screens that exist. Content ID prefixes here are examples. | ||||||
Adding to the app
Handled in the content manager, inside screens that already exist.
These change how the app is built, so we plan them together.