Te Whatu Ora, Central Region Integration Hub
1.0.12-rc1 - ci-build New Zealand flag

Te Whatu Ora, Central Region Integration Hub, published by Te Whatu Ora, Te Pae Hauora o Ruahine o Tararua, MidCentral. This guide is not an authorized publication; it is the continuous build for version 1.0.12-rc1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/tewhatuora/centralRegion-integrationHub-ig/ and changes regularly. See the Directory of published versions

Extension: NZ Central Region Mental Health

Official URL: https://standards.digital.health.nz/ns/central-region/mental-health-status Version: 1.0.12-rc1
Active as of 2024-09-17 Computable Name: NZCentralRegionMentalHealth

Complex extension recording meta data about patient's mental health, particularly legal status

Context of Use

This extension may be used on the following element(s):

  • Element ID ClinicalImpression

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: Complex extension recording meta data about patient's mental health, particularly legal status

  • legalStatus: Coding: Mental Health Legal Status (at the time of the review)
  • reviewStatus: Coding: Mental Health Review Status (Section 7A Consultation)
  • startDateTime: dateTime: Mental Health Legal Status start dateTime
  • endDateTime: dateTime: Mental Health Legal Status end dateTime
  • location: Coding: Mental Health Legal Status end dateTime
  • reminderDate: date: Mental Health Legal Status reminder date
  • addedBy: string: Who added the review, not usually the assesing clinician
  • addedDateTime: dateTime: When was the review first added?
  • lastUpdatedBy: string: Who has updated the review, not usually the assesing clinician
  • lastUpdatedDateTime: dateTime: When was the review last updated
  • supplementaryLegalStatus: Coding: Mental Health Supplementary Legal Status (at the time of the review)
  • supplementaryLegalStatusDate: date: Mental Health Date of Supplementary Legal Status
  • reviewDate: date: Mental Health Legal Status review date
  • courtNoticeSentDate: date: Mental Health Legal Status court notice sent date
  • tribunalDate: date: Mental Health Legal Status tribunal date
  • courtLodgedDate: date: Mental Health Legal Status court lodged date
  • courtType: Coding: Mental Health Legal Status Court Type

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension NZ Central Region Mental Health
... id 0..0
... extension 0..* Extension Container holding the individual elements of the Patient's mental health status.
... Slices for extension Content/Rules for all slices
.... extension:legalStatus S 0..1 Extension Mental Health Legal Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "legalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:reviewStatus S 0..1 Extension Mental Health Review Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reviewStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthReviewStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:startDateTime S 0..1 Extension Mental health legal status start dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "startDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:endDateTime S 0..1 Extension Mental health legal status end dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "endDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:location S 0..1 Extension Mental health legal status end dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Review Location Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:reminderDate S 0..1 Extension Mental health legal status reminder date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reminderDate"
..... value[x] 0..1 date Value of extension
.... extension:addedBy S 0..1 Extension Who added the review? (Not usually the assessing clinician)
..... id 0..0
..... extension 0..0
..... url 1..1 uri "addedBy"
..... value[x] 1..1 string Value of extension
.... extension:addedDateTime S 0..1 Extension When was the review first added?
..... id 0..0
..... extension 0..0
..... url 1..1 uri "addedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:lastUpdatedBy S 0..1 Extension Who has updated the review? (Not usually the assessing clinician)
..... id 0..0
..... extension 0..0
..... url 1..1 uri "lastUpdatedBy"
..... value[x] 1..1 string Value of extension
.... extension:lastUpdatedDateTime S 0..1 Extension When was the review last updated
..... id 0..0
..... extension 0..0
..... url 1..1 uri "lastUpdatedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:supplementaryLegalStatus S 0..1 Extension Mental Health Supplmentary Legal Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:supplementaryLegalStatusDate S 0..1 Extension Mental health date of supplementary legal status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatusDate"
..... value[x] 0..1 date Value of extension
.... extension:reviewDate S 0..1 Extension Mental health legal status review date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reviewDate"
..... value[x] 0..1 date Value of extension
.... extension:courtNoticeSentDate S 0..1 Extension Mental health legal status court notice sent date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtNoticeSentDate"
..... value[x] 0..1 date Value of extension
.... extension:tribunalDate S 0..1 Extension Mental health legal status tribunal date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "tribunalDate"
..... value[x] 0..1 date Value of extension
.... extension:courtLodgedDate S 0..1 Extension Mental health legal status court lodged date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtLodgedDate"
..... value[x] 0..1 date Value of extension
.... extension:courtType S 0..1 Extension Mental Health Supplmentary Legal Status Court Type
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtType"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Court Type Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension NZ Central Region Mental Health
... Slices for extension 0..* Extension Container holding the individual elements of the Patient's mental health status.
Slice: Unordered, Open by value:url
.... extension:legalStatus S 0..1 Extension Mental Health Legal Status
..... extension 0..0
..... url 1..1 uri "legalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:reviewStatus S 0..1 Extension Mental Health Review Status
..... extension 0..0
..... url 1..1 uri "reviewStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthReviewStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:startDateTime S 0..1 Extension Mental health legal status start dateTime
..... extension 0..0
..... url 1..1 uri "startDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:endDateTime S 0..1 Extension Mental health legal status end dateTime
..... extension 0..0
..... url 1..1 uri "endDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:location S 0..1 Extension Mental health legal status end dateTime
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Review Location Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:reminderDate S 0..1 Extension Mental health legal status reminder date
..... extension 0..0
..... url 1..1 uri "reminderDate"
..... value[x] 0..1 date Value of extension
.... extension:addedBy S 0..1 Extension Who added the review? (Not usually the assessing clinician)
..... extension 0..0
..... url 1..1 uri "addedBy"
..... value[x] 1..1 string Value of extension
.... extension:addedDateTime S 0..1 Extension When was the review first added?
..... extension 0..0
..... url 1..1 uri "addedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:lastUpdatedBy S 0..1 Extension Who has updated the review? (Not usually the assessing clinician)
..... extension 0..0
..... url 1..1 uri "lastUpdatedBy"
..... value[x] 1..1 string Value of extension
.... extension:lastUpdatedDateTime S 0..1 Extension When was the review last updated
..... extension 0..0
..... url 1..1 uri "lastUpdatedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:supplementaryLegalStatus S 0..1 Extension Mental Health Supplmentary Legal Status
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:supplementaryLegalStatusDate S 0..1 Extension Mental health date of supplementary legal status
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatusDate"
..... value[x] 0..1 date Value of extension
.... extension:reviewDate S 0..1 Extension Mental health legal status review date
..... extension 0..0
..... url 1..1 uri "reviewDate"
..... value[x] 0..1 date Value of extension
.... extension:courtNoticeSentDate S 0..1 Extension Mental health legal status court notice sent date
..... extension 0..0
..... url 1..1 uri "courtNoticeSentDate"
..... value[x] 0..1 date Value of extension
.... extension:tribunalDate S 0..1 Extension Mental health legal status tribunal date
..... extension 0..0
..... url 1..1 uri "tribunalDate"
..... value[x] 0..1 date Value of extension
.... extension:courtLodgedDate S 0..1 Extension Mental health legal status court lodged date
..... extension 0..0
..... url 1..1 uri "courtLodgedDate"
..... value[x] 0..1 date Value of extension
.... extension:courtType S 0..1 Extension Mental Health Supplmentary Legal Status Court Type
..... extension 0..0
..... url 1..1 uri "courtType"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Court Type Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
... url 1..1 uri "https://standards.digital.health.nz/ns/central-region/mental-health-status"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Complex extension recording meta data about patient's mental health, particularly legal status

  • legalStatus: Coding: Mental Health Legal Status (at the time of the review)
  • reviewStatus: Coding: Mental Health Review Status (Section 7A Consultation)
  • startDateTime: dateTime: Mental Health Legal Status start dateTime
  • endDateTime: dateTime: Mental Health Legal Status end dateTime
  • location: Coding: Mental Health Legal Status end dateTime
  • reminderDate: date: Mental Health Legal Status reminder date
  • addedBy: string: Who added the review, not usually the assesing clinician
  • addedDateTime: dateTime: When was the review first added?
  • lastUpdatedBy: string: Who has updated the review, not usually the assesing clinician
  • lastUpdatedDateTime: dateTime: When was the review last updated
  • supplementaryLegalStatus: Coding: Mental Health Supplementary Legal Status (at the time of the review)
  • supplementaryLegalStatusDate: date: Mental Health Date of Supplementary Legal Status
  • reviewDate: date: Mental Health Legal Status review date
  • courtNoticeSentDate: date: Mental Health Legal Status court notice sent date
  • tribunalDate: date: Mental Health Legal Status tribunal date
  • courtLodgedDate: date: Mental Health Legal Status court lodged date
  • courtType: Coding: Mental Health Legal Status Court Type

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension NZ Central Region Mental Health
... id 0..0
... extension 0..* Extension Container holding the individual elements of the Patient's mental health status.
... Slices for extension Content/Rules for all slices
.... extension:legalStatus S 0..1 Extension Mental Health Legal Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "legalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:reviewStatus S 0..1 Extension Mental Health Review Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reviewStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthReviewStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:startDateTime S 0..1 Extension Mental health legal status start dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "startDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:endDateTime S 0..1 Extension Mental health legal status end dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "endDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:location S 0..1 Extension Mental health legal status end dateTime
..... id 0..0
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Review Location Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:reminderDate S 0..1 Extension Mental health legal status reminder date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reminderDate"
..... value[x] 0..1 date Value of extension
.... extension:addedBy S 0..1 Extension Who added the review? (Not usually the assessing clinician)
..... id 0..0
..... extension 0..0
..... url 1..1 uri "addedBy"
..... value[x] 1..1 string Value of extension
.... extension:addedDateTime S 0..1 Extension When was the review first added?
..... id 0..0
..... extension 0..0
..... url 1..1 uri "addedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:lastUpdatedBy S 0..1 Extension Who has updated the review? (Not usually the assessing clinician)
..... id 0..0
..... extension 0..0
..... url 1..1 uri "lastUpdatedBy"
..... value[x] 1..1 string Value of extension
.... extension:lastUpdatedDateTime S 0..1 Extension When was the review last updated
..... id 0..0
..... extension 0..0
..... url 1..1 uri "lastUpdatedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:supplementaryLegalStatus S 0..1 Extension Mental Health Supplmentary Legal Status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
.... extension:supplementaryLegalStatusDate S 0..1 Extension Mental health date of supplementary legal status
..... id 0..0
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatusDate"
..... value[x] 0..1 date Value of extension
.... extension:reviewDate S 0..1 Extension Mental health legal status review date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "reviewDate"
..... value[x] 0..1 date Value of extension
.... extension:courtNoticeSentDate S 0..1 Extension Mental health legal status court notice sent date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtNoticeSentDate"
..... value[x] 0..1 date Value of extension
.... extension:tribunalDate S 0..1 Extension Mental health legal status tribunal date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "tribunalDate"
..... value[x] 0..1 date Value of extension
.... extension:courtLodgedDate S 0..1 Extension Mental health legal status court lodged date
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtLodgedDate"
..... value[x] 0..1 date Value of extension
.... extension:courtType S 0..1 Extension Mental Health Supplmentary Legal Status Court Type
..... id 0..0
..... extension 0..0
..... url 1..1 uri "courtType"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Court Type Value Set (required)
...... id 0..0
...... extension 0..0
...... version 0..0
...... userSelected 0..0
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension NZ Central Region Mental Health
... Slices for extension 0..* Extension Container holding the individual elements of the Patient's mental health status.
Slice: Unordered, Open by value:url
.... extension:legalStatus S 0..1 Extension Mental Health Legal Status
..... extension 0..0
..... url 1..1 uri "legalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:reviewStatus S 0..1 Extension Mental Health Review Status
..... extension 0..0
..... url 1..1 uri "reviewStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthReviewStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:startDateTime S 0..1 Extension Mental health legal status start dateTime
..... extension 0..0
..... url 1..1 uri "startDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:endDateTime S 0..1 Extension Mental health legal status end dateTime
..... extension 0..0
..... url 1..1 uri "endDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:location S 0..1 Extension Mental health legal status end dateTime
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Review Location Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:reminderDate S 0..1 Extension Mental health legal status reminder date
..... extension 0..0
..... url 1..1 uri "reminderDate"
..... value[x] 0..1 date Value of extension
.... extension:addedBy S 0..1 Extension Who added the review? (Not usually the assessing clinician)
..... extension 0..0
..... url 1..1 uri "addedBy"
..... value[x] 1..1 string Value of extension
.... extension:addedDateTime S 0..1 Extension When was the review first added?
..... extension 0..0
..... url 1..1 uri "addedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:lastUpdatedBy S 0..1 Extension Who has updated the review? (Not usually the assessing clinician)
..... extension 0..0
..... url 1..1 uri "lastUpdatedBy"
..... value[x] 1..1 string Value of extension
.... extension:lastUpdatedDateTime S 0..1 Extension When was the review last updated
..... extension 0..0
..... url 1..1 uri "lastUpdatedDateTime"
..... value[x] 1..1 dateTime Value of extension
.... extension:supplementaryLegalStatus S 0..1 Extension Mental Health Supplmentary Legal Status
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatus"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - MentalHealthLegalStatus Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
.... extension:supplementaryLegalStatusDate S 0..1 Extension Mental health date of supplementary legal status
..... extension 0..0
..... url 1..1 uri "supplementaryLegalStatusDate"
..... value[x] 0..1 date Value of extension
.... extension:reviewDate S 0..1 Extension Mental health legal status review date
..... extension 0..0
..... url 1..1 uri "reviewDate"
..... value[x] 0..1 date Value of extension
.... extension:courtNoticeSentDate S 0..1 Extension Mental health legal status court notice sent date
..... extension 0..0
..... url 1..1 uri "courtNoticeSentDate"
..... value[x] 0..1 date Value of extension
.... extension:tribunalDate S 0..1 Extension Mental health legal status tribunal date
..... extension 0..0
..... url 1..1 uri "tribunalDate"
..... value[x] 0..1 date Value of extension
.... extension:courtLodgedDate S 0..1 Extension Mental health legal status court lodged date
..... extension 0..0
..... url 1..1 uri "courtLodgedDate"
..... value[x] 0..1 date Value of extension
.... extension:courtType S 0..1 Extension Mental Health Supplmentary Legal Status Court Type
..... extension 0..0
..... url 1..1 uri "courtType"
..... value[x] S 1..1 Coding Value of extension
Binding: NZ Central Region - Mental Health Court Type Value Set (required)
...... extension 0..0
...... system Σ 0..1 uri Identity of the terminology system
...... code Σ 0..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
... url 1..1 uri "https://standards.digital.health.nz/ns/central-region/mental-health-status"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:legalStatus.value[x]requiredNZCentralRegionMentalHealthLegalStatusValueSet (a valid code from NZ Central Region - MentalHealthLegalStatus Code System)
https://standards.digital.health.nz/fhir/central-region/ValueSet-mental-health-legal-status
from this IG
Extension.extension:reviewStatus.value[x]requiredNZCentralRegionMentalHealthReviewStatusValueSet (a valid code from NZ Central Region - MentalHealthReviewStatus Code System)
https://standards.digital.health.nz/fhir/central-region/ValueSet-mental-health-review-status
from this IG
Extension.extension:location.value[x]requiredNZCentralRegionMentalHealthReviewLocationValueSet
https://standards.digital.health.nz/fhir/central-region/ValueSet-mental-health-review-location
from this IG
Extension.extension:supplementaryLegalStatus.value[x]requiredNZCentralRegionMentalHealthLegalStatusValueSet (a valid code from NZ Central Region - MentalHealthLegalStatus Code System)
https://standards.digital.health.nz/fhir/central-region/ValueSet-mental-health-legal-status
from this IG
Extension.extension:courtType.value[x]requiredNZCentralRegionMentalHealthCourtTypeValueSet (a valid code from NZ Central Region - Mental Health Court Type Code System)
https://standards.digital.health.nz/fhir/central-region/ValueSet-mental-health-court-type
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()