FHIR New Zealand Patient Summary IG
0.5.0 - ci-build New Zealand flag

FHIR New Zealand Patient Summary IG - Local Development build (v0.5.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NZPS-Problem (Condition)

Official URL: https://fhir-ig.digital.health.nz/nzps/StructureDefinition/nzps-problem Version: 0.5.0
Draft as of 2025-03-18 Computable Name: NZPSProblem

NZPS problem (FHIR Condition resource). This profile derives from the International Patient Summary Condition resource used to document a health problem, with localisations using international and NZ Government standards for the NZ context.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Condition C 0..* ConditionUvIps Documentation of a health problem of the patient
This profile also imposes the profile Condition resource for use in NZ
con-3: Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
con-4: If condition is abated, then clinicalStatus must be either inactive, resolved, or remission
con-5: Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... clinicalStatus S 1..1 CodeableConceptIPS Concept - reference to a terminology or just text
Binding: ConditionClinicalStatusCodes (required): The clinical status of the condition or diagnosis.


ele-1: All FHIR elements must have a @value or children
... severity S 0..1 CodeableConceptIPS Concept - reference to a terminology or just text
Binding: Condition/DiagnosisSeverity (preferred)
Additional BindingsPurpose
Problem Severity - IPS candidate

ele-1: All FHIR elements must have a @value or children
... code S 1..1 CodeableConceptIPS Concept - reference to a terminology or just text
Binding: Problems - SNOMED CT + Absent/Unknown - IPS (preferred): Code for a clinical problem that is selected from SNOMED CT or a code for absent/unknown problem

Additional BindingsPurpose
Problems - SNOMED CT IPS Free Set candidate
Absent or Unknown Problems - IPS candidate

ele-1: All FHIR elements must have a @value or children
... subject SΣ 1..1 Reference(Patient (IPS)) Who has the condition?
ele-1: All FHIR elements must have a @value or children
.... reference SΣC 1..1 string Literal reference, Relative, internal or absolute URL
ele-1: All FHIR elements must have a @value or children
... onset[x] SΣ 0..1 Estimated or actual date, date-time, or age
ele-1: All FHIR elements must have a @value or children
.... onsetDateTime dateTime

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Condition.clinicalStatusrequiredConditionClinicalStatusCodes
http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1
from the FHIR Standard
Condition.categorypreferredProblemTypeUvIps
http://hl7.org/fhir/uv/ips/ValueSet/problem-type-uv-ips
Condition.severitypreferredCondition/DiagnosisSeverity
http://hl7.org/fhir/ValueSet/condition-severity
from the FHIR Standard
Condition.codepreferredProblemsSnomedAbsentUnknownUvIps
http://hl7.org/fhir/uv/ips/ValueSet/problems-snomed-absent-unknown-uv-ips

Constraints

IdGradePath(s)DetailsRequirements
con-3best practiceConditionCondition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item
: clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()
con-4errorConditionIf condition is abated, then clinicalStatus must be either inactive, resolved, or remission
: abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()
con-5errorConditionCondition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error
: verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()
dom-2errorConditionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorConditionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorConditionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorConditionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceConditionA resource should have narrative for robust management
: text.`div`.exists()
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()

 

Other representations of profile: CSV, Excel, Schematron