Validation Results for nzshareddigitalhealthrecord

Generated Mon Mar 10 21:09:01 UTC 2025, FHIR version 4.0.1 for tewhatuora.fhir.nz-shared-digital-health-record#0.3.0 (canonical = https://fhir-ig.digital.health.nz/sdhr (history)). See Full QA Report & IP

Quality Checks
Publisher Version:IG Publisher Version: v1.8.20
Publication Code:n/a . PackageId = tewhatuora.fhir.nz-shared-digital-health-record, Canonical = https://fhir-ig.digital.health.nz/sdhr
Realm Check for n/a:
  • n/a
Language Info:This IG has no language information
Publication Request:
  • This IG has never been published
  • This IG has never been published, so the version should start with '0.' or include a patch version e.g. '-ballot'
  • No publication request found
Supressed Messages:No Suppressed Issues
Dependency Checks:
PackageVersionFHIRCanonicalWeb BaseComment
.. tewhatuora.fhir.nz-shared-digital-health-record0.3.0R4https://fhir-ig.digital.health.nz/sdhr
... hl7.terminology.r46.2.0 UR4http://terminology.hl7.orghttp://terminology.hl7.org/6.2.0
... hl7.fhir.uv.extensions.r45.2.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.2.0
... fhir.org.nz.ig.base3.0.0 VR4http://fhir.org.nz/ig/basefile:///Users/davidhay/IG/nzbase/output
.... hl7.terminology.r44.0.0 UR4http://terminology.hl7.orghttp://terminology.hl7.org/4.0.0
.... hl7.fhir.uv.extensions.r45.1.0 OR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.1.0Latest Release is 5.2.0
.... hl7.terminology.r45.5.0 UR4http://terminology.hl7.orghttp://terminology.hl7.org/5.5.0
Templates: tewhatuora.fhir.template#0.1.0 -> fhir.base.template#current. Tools: 0.3.0
Related IGs:n/a
Dependent IGs:no references
Global Profiles:(none declared)
Terminology Server(s):http://tx.fhir.org/r4 (details)
HTA Analysis:Non-HL7 Igs are exempt from terminology dependency analysis
R5 Dependencies:(none)
Draft Dependencies:
Modifier Extensions:(none)
Previous Version Comparison: Unable to compare with previous version: Unable to find version history at https://fhir-ig.digital.health.nz/sdhr (Problem #1 with package-list.json at https://fhir-ig.digital.health.nz/sdhr: Not Found)
IPA Comparison: n/a
IPS Comparison: n/a
Validation Flags: On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings
Summary: errors = 13, warn = 14, info = 4, broken links = 11.
FilenameErrorsWarningsHints
Build Errors1151
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/AllergyIntolerance-AllergyIntoleranceExample210
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/CapabilityStatement-SDHRCapabliityStatement221
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/Condition-HypertensionConditionExample300
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/Condition-RespiratoryConditionExample310
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/Encounter-SDHREncounterExample101
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/ImplementationGuide-tewhatuora.fhir.nz-shared-digital-health-record010
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/Observation-ObservationVitalSignsExample200
/home/runner/work/fhir-ig-builder/fhir-ig-builder/fhir-sdhr/fsh-generated/resources/StructureDefinition-SDHREncounter040

n/a Show Validation Information

ImplementationGuide.dependency[2].urlwarningThe canonical URL for an Implementation Guide must point directly to the implementation guide resource, not to the Implementation Guide as a whole
ImplementationGuide.dependency[2].urlinformationThe correct canonical URL for this dependency is http://fhir.org.nz/ig/base/ImplementationGuide/fhir.org.nz.ig.base
output​/CapabilityStatement-SDHRCapabliityStatement​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/div​/div​/ul​/li​/div​/table​/tbody​/tr​/td​/a at Line 439, column 95errorThe link './OperationOutcome-APIError-Unauthorised.html' for "OperationOutcome-APIError-Unauthorised" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 4517errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter.html' for "https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter.html" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 8485errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter-definitions.html#key_Encounter.identifier:HealthRecordKey' for "*identifier[*].value": "health-record-key-id"" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 15412errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRCondition.html' for "https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRCondition.html" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 19371errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter-definitions.html#key_Encounter.identifier:HealthRecordKey' for "*identifier[*].value" : "health-record-key-id"" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 32062errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRAllergyIntolerance.html' for "https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRAllergyIntolerance.html" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 36110errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter-definitions.html#key_Encounter.identifier:HealthRecordKey' for "*identifier[*].value" : "health-record-key-id"" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 38997errorThe link 'http://hl7.org/fhir/R4/valueset-allergyintolerance-ver-status.html' for "" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 39661errorThe link 'http://hl7.org/fhir/R4/valueset-allergyintolerance-ver-status.html' for "verificationStatus:1..1Binding: AllergyIntoleranceVerificationStatus (required)" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 46804errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRObservation.html' for "https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHRObservation.html" cannot be resolved
output​/data-models​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/svg​/g​/g​/a at Line 199, column 50769errorThe link 'https://fhir-ig.digital.health.nz/sdhr/StructureDefinition-SDHREncounter-definitions.html#key_Encounter.identifier:HealthRecordKey' for "*identifier[*].value" : "health-record-key-id"" cannot be resolved
1warningThe HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide
3warningAn HTML fragment from the set [dependency-table.xhtml, dependency-table-short.xhtml, dependency-table-nontech.xhtml] is not included anywhere in the produced implementation guide
4warningThe HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide
IGwarningThe IG is not for the international realm, and it uses SNOMED CT, so it should fix the SCT edition in the expansion parameters

fsh-generated/resources/AllergyIntolerance-AllergyIntoleranceExample.json Show Validation Information (1)

PathSeverityMessage
AllergyIntolerance​.code​.coding[0]​.system (l30​/c4)warningA definition for CodeSystem 'http://mims.co.nz' could not be found, so the code cannot be validated (from http://tx.fhir.org/r4) UNKNOWN_CODESYSTEM
AllergyIntolerance.patient (l43/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284' Reference_REF_CantResolve
AllergyIntolerance.recorder (l48/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN' Reference_REF_CantResolve

fsh-generated/resources/CapabilityStatement-SDHRCapabliityStatement.json Show Validation Information (1)

PathSeverityMessage
CapabilityStatement​.text​.div (l1​/c16944)informationHyperlink scheme 'file' in 'file:///home/runner/work/fhir-ig-builder/fhir-ig-builder/hnz-digital-tooling/output/StructureDefinition-hnz-capability-statement.html' at 'div/div/p/a' for 'Capability Statement profile for use with the Health New Zealand Te Whatu Ora OpenAPI spec converter' is not a widely supported protocol and should be checked TYPE_SPECIFIC_CHECKS_DT_XHTML_UNKNOWN_HREF
CapabilityStatement​.rest[0]​.security​.service[0]​.coding[0] (l1​/c19569)warningCoding has no system. A code with no system has no defined meaning, and it cannot be validated. A system should be provided
CapabilityStatement​.rest[0]​.interaction[0]​.documentation (l1​/c25641)warningThe markdown contains content that appears to be an embedded HTML tag starting at '##'. This will (or SHOULD) be escaped by the presentation layer. The content should be checked to confirm that this is the desired behaviour TYPE_SPECIFIC_CHECKS_DT_MARKDOWN_HTML
CapabilityStatement (l1/c25646)errorConstraint failed: cpb-15: 'If kind = capability, implementation must be absent, software must be present' (defined in http://hl7.org/fhir/StructureDefinition/CapabilityStatement) http://hl7.org/fhir/StructureDefinition/CapabilityStatement#cpb-15
CapabilityStatement.text.diverrorHyperlink './OperationOutcome-APIError-Unauthorised.html' at 'div/div/div/ul/li/div/table/tbody/tr/td/a' for 'OperationOutcome-APIError-Unauthorised' does not resolve

fsh-generated/resources/Condition-HypertensionConditionExample.json Show Validation Information (1)

PathSeverityMessage
Condition.subject (l11/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284' Reference_REF_CantResolve
Condition.recorder (l48/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/99ZZZZ' Reference_REF_CantResolve
Condition.asserter (l61/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN' Reference_REF_CantResolve

fsh-generated/resources/Condition-RespiratoryConditionExample.json Show Validation Information (1)

PathSeverityMessage
Condition​.code​.coding[0]​.system (l38​/c4)warningA definition for CodeSystem 'http://health.govt.nz/read-codes' could not be found, so the code cannot be validated (from http://tx.fhir.org/r4) UNKNOWN_CODESYSTEM
Condition.subject (l11/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284' Reference_REF_CantResolve
Condition.recorder (l47/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN' Reference_REF_CantResolve
Condition.asserter (l60/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/99ZZZZ' Reference_REF_CantResolve

fsh-generated/resources/Encounter-SDHREncounterExample.json Show Validation Information (1)

PathSeverityMessage
Encounter.serviceType (l22/c4)informationReference to draft CodeSystem http://terminology.hl7.org/CodeSystem/service-type|1.1.0 MSG_DRAFT
Encounter.subject (l11/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284' Reference_REF_CantResolve

fsh-generated/resources/ImplementationGuide-tewhatuora.fhir.nz-shared-digital-health-record.json Show Validation Information (1)

PathSeverityMessage
ImplementationGuide (l1/c16821)warningConstraint failed: ig-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' http://hl7.org/fhir/StructureDefinition/ImplementationGuide#ig-0

fsh-generated/resources/Observation-ObservationVitalSignsExample.json Show Validation Information (1)

PathSeverityMessage
Observation.subject (l12/c4)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284' Reference_REF_CantResolve
Observation.performer[0] (l43/c6)errorUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXZ' Reference_REF_CantResolve

fsh-generated/resources/StructureDefinition-SDHREncounter.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.snapshot​.element[34]​.binding​.valueSet (l1​/c90993)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2014-03-26, 3.0.0 TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS
StructureDefinition​.snapshot​.element[39]​.binding​.valueSet (l1​/c98015)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2014-03-26, 3.0.0 TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS
StructureDefinition​.snapshot​.element[43]​.binding​.valueSet (l1​/c101682)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActPriority'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2018-08-12, 3.0.0 TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS
StructureDefinition​.snapshot​.element[80]​.binding​.valueSet (l1​/c148913)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v2-0092'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '2.0.0', found versions: 2.0.0, 2.9 TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS

Suppressed Messages (Warnings, hints, broken links)

No suppressed messsages

Errors sorted by type


MSG_DEPENDS_ON_DEPRECATED

fsh-generated/resources/StructureDefinition-SDHRAllergyIntolerance.jsonThe extension http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|5.2.0 is deprecated

MSG_DRAFT

fsh-generated/resources/Encounter-SDHREncounterExample.jsonReference to draft CodeSystem http://terminology.hl7.org/CodeSystem/service-type|1.1.0

Reference_REF_CantResolve

fsh-generated/resources/AllergyIntolerance-AllergyIntoleranceExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284'
fsh-generated/resources/AllergyIntolerance-AllergyIntoleranceExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN'
fsh-generated/resources/Condition-HypertensionConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284'
fsh-generated/resources/Condition-HypertensionConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/99ZZZZ'
fsh-generated/resources/Condition-HypertensionConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN'
fsh-generated/resources/Condition-RespiratoryConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284'
fsh-generated/resources/Condition-RespiratoryConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXN'
fsh-generated/resources/Condition-RespiratoryConditionExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/99ZZZZ'
fsh-generated/resources/Encounter-SDHREncounterExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284'
fsh-generated/resources/Observation-ObservationVitalSignsExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Patient/ZKC7284'
fsh-generated/resources/Observation-ObservationVitalSignsExample.jsonUnable to resolve resource with reference 'https://api.hip.digital.health.nz/fhir/Practitioner/91ZZXZ'

TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS

fsh-generated/resources/StructureDefinition-SDHREncounter.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2014-03-26, 3.0.0
fsh-generated/resources/StructureDefinition-SDHREncounter.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2014-03-26, 3.0.0
fsh-generated/resources/StructureDefinition-SDHREncounter.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-ActPriority'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '3.0.0', found versions: 2.0.0, 2018-08-12, 3.0.0
fsh-generated/resources/StructureDefinition-SDHREncounter.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v2-0092'. It might be a good idea to fix to the correct version to reduce the likelihood of a wrong version being selected by an implementation/implementer. Using version '2.0.0', found versions: 2.0.0, 2.9

TYPE_SPECIFIC_CHECKS_DT_MARKDOWN_HTML

fsh-generated/resources/CapabilityStatement-SDHRCapabliityStatement.jsonThe markdown contains content that appears to be an embedded HTML tag starting at '##'. This will (or SHOULD) be escaped by the presentation layer. The content should be checked to confirm that this is the desired behaviour

TYPE_SPECIFIC_CHECKS_DT_XHTML_UNKNOWN_HREF

fsh-generated/resources/CapabilityStatement-SDHRCapabliityStatement.jsonHyperlink scheme 'file' in 'file:///home/runner/work/fhir-ig-builder/fhir-ig-builder/hnz-digital-tooling/output/StructureDefinition-hnz-capability-statement.html' at 'div/div/p/a' for 'Capability Statement profile for use with the Health New Zealand Te Whatu Ora OpenAPI spec converter' is not a widely supported protocol and should be checked

UNKNOWN_CODESYSTEM

fsh-generated/resources/AllergyIntolerance-AllergyIntoleranceExample.jsonA definition for CodeSystem 'http://mims.co.nz' could not be found, so the code cannot be validated
fsh-generated/resources/Condition-RespiratoryConditionExample.jsonA definition for CodeSystem 'http://health.govt.nz/read-codes' could not be found, so the code cannot be validated