Validation Results for NationalPatient

Generated Fri Sep 19 09:53:06 UTC 2025, FHIR version 4.0.1 for national.hie.fhir#1.0.0 (canonical = http://moh.bw.org/fhir (history)). See Errors Only & IP

Quality Checks
Publisher Version:IG Publisher Version: v2.0.17
Publication Code:n/a . PackageId = national.hie.fhir, Canonical = http://moh.bw.org/fhir
Realm Check for n/a:
  • n/a
Language Info:This IG has no language information
Publication Request:
  • Error fetching package-list from http://moh.bw.org/fhir: moh.bw.org
  • 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
.. national.hie.fhir1.0.0R4http://moh.bw.org/fhir
... hl7.fhir.uv.ips1.1.0 MR4http://hl7.org/fhir/uv/ipshttp://hl7.org/fhir/uv/ips/STU1.1
.... hl7.terminology.r45.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/5.0.0Latest Release is 6.5.0
.... fhir.dicom2022.4.20221006 OR4http://fhir.org/packages/fhir.dicomhttp://fhir.org/packages/fhir.dicomLatest Release is 2025.3.20250714
... hl7.fhir.uv.tools.r40.8.0 MR4http://hl7.org/fhir/toolshttp://hl7.org/fhir/tools/0.8.0
.... hl7.terminology.r46.5.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.5.0
..... hl7.fhir.uv.extensions.r45.2.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.2.0
.... hl7.fhir.uv.extensions.r45.3.0-ballot-tc1 IR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.3.0-ballot-tc1
..... hl7.terminology.r46.5.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.5.0 (as above)
... hl7.terminology.r46.5.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.5.0 (as above)
... hl7.fhir.us.mcode1.0.0 OR4http://hl7.org/fhir/us/mcodehttp://hl7.org/fhir/us/mcode/STU1Latest Release is 4.0.0
.... hl7.fhir.us.core3.1.0 OR4http://hl7.org/fhir/us/corehttp://hl7.org/fhir/us/core/STU3.1Latest Release is 8.0.0
Templates: fhir.base.template#current
Related IGs:n/a
Dependent IGs:no references
Global Profiles:(none declared)
Terminology Server(s):http://tx.fhir.org/r4, https://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 http://moh.bw.org/fhir (Problem #1 with package-list.json at http://moh.bw.org/fhir: moh.bw.org)
IPA Comparison: n/a
IPS Comparison: n/a
Validation Flags: On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings
Summary: errors = 2, warn = 22, info = 4, broken links = 6, pinned = n/a.
FilenameErrorsWarningsHints
Build Errors620
/scratch/repo/fsh-generated/resources/CodeSystem-cs-marital-status000
/scratch/repo/fsh-generated/resources/ImplementationGuide-national.hie.fhir230
/scratch/repo/fsh-generated/resources/StructureDefinition-NationalPatientLogicalModel020
/scratch/repo/fsh-generated/resources/StructureDefinition-birth-registration-profile011
/scratch/repo/fsh-generated/resources/StructureDefinition-death-registration-profile012
/scratch/repo/fsh-generated/resources/StructureDefinition-nationality-patient-profile030
/scratch/repo/fsh-generated/resources/StructureDefinition-occupation030
/scratch/repo/fsh-generated/resources/StructureDefinition-parent-related-person030
/scratch/repo/fsh-generated/resources/StructureDefinition-registration-date030
/scratch/repo/fsh-generated/resources/ValueSet-vs-marital-status000
/scratch/repo/input/maps/legacy-to-fhir011

n/a Show Validation Information

ImplementationGuide.dependency[1].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].urlwarningThe canonical URL for an Implementation Guide must point directly to the implementation guide resource, not to the Implementation Guide as a whole
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 214, column 38errorThe link 'definitions.json.zip' for "json" cannot be resolved HTML_LINK_CHECK_FAILED
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 214, column 79errorThe link 'definitions.xml.zip' for "xml" cannot be resolved HTML_LINK_CHECK_FAILED
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 214, column 118errorThe link 'definitions.ttl.zip' for "ttl" cannot be resolved HTML_LINK_CHECK_FAILED
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 215, column 35errorThe link 'examples.json.zip' for "json" cannot be resolved HTML_LINK_CHECK_FAILED
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 215, column 73errorThe link 'examples.xml.zip' for "xml" cannot be resolved HTML_LINK_CHECK_FAILED
index​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/ul​/li​/a at Line 215, column 111errorThe link 'examples.ttl.zip' for "ttl" cannot be resolved HTML_LINK_CHECK_FAILED

fsh-generated/resources/CodeSystem-cs-marital-status.json Show Validation Information (1)


fsh-generated/resources/ImplementationGuide-national.hie.fhir.json Show Validation Information (1)

PathSeverityMessage
ImplementationGuide​.dependsOn[1] (l1​/c1611)errorThe URL should refer directly to the ImplementationGuide resource (e.g. include '/ImplementationGuide/') IG_DEPENDENCY_DIRECT
ImplementationGuide​.dependsOn[1] (l1​/c1611)warningThe canonical URL http://hl7.org/fhir/tools doesn't point to an actual ImplementationGuide resource IG_DEPENDENCY_INVALID_URL
ImplementationGuide​.dependsOn[2] (l1​/c1725)errorThe URL should refer directly to the ImplementationGuide resource (e.g. include '/ImplementationGuide/') IG_DEPENDENCY_DIRECT
ImplementationGuide​.dependsOn[2] (l1​/c1725)warningThe canonical URL http://terminology.hl7.org doesn't point to an actual ImplementationGuide resource IG_DEPENDENCY_INVALID_URL
ImplementationGuide​.dependsOn[4] (l1​/c2040)warningThe ImplementationGuide uses package hl7.fhir.us.mcode#1.0.0 released on 2020-03-18, but the most recent appropriate version is 4.0.0. This reference is getting old and the more recent version should be considered IG_DEPENDENCY_VERSION_WARNING_OLD

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

PathSeverityMessage
StructureDefinition​.snapshot​.element[4] (l1​/c16296)warningConstraint failed: eld-20: 'Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken (path.matches('[A-Za-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*(\\[x])?)*'))' http://hl7.org/fhir/StructureDefinition/ElementDefinition#eld-20
StructureDefinition​.differential​.element[4] (l1​/c17630)warningConstraint failed: eld-20: 'Element names should be simple alphanumerics with a max of 64 characters, or code generation tools may be broken (path.matches('[A-Za-z][A-Za-z0-9]*(\\.[a-z][A-Za-z0-9]*(\\[x])?)*'))' http://hl7.org/fhir/StructureDefinition/ElementDefinition#eld-20

fsh-generated/resources/StructureDefinition-birth-registration-profile.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.snapshot​.element[4]​.binding​.extension[0] (l1​/c32751)informationThe extension http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|5.3.0-ballot-tc1 is deprecated with the note: 'Use additionalBinding extension or element instead' MSG_DEPENDS_ON_DEPRECATED_NOTE
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/birth-registration-profile')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-death-registration-profile.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.differential​.element[4]​.slicing​.discriminator[0] (l1​/c105639)informationThe discriminator type 'pattern' is deprecated in R5+. For future compatibility, you could consider using type=value with a pattern[x] instead (if this is not an inherited slicing) SD_PATH_SLICING_DEPRECATED
StructureDefinition​.snapshot​.element[11]​.slicing​.discriminator[0] (l1​/c44421)informationThe discriminator type 'pattern' is deprecated in R5+. For future compatibility, you could consider using type=value with a pattern[x] instead (if this is not an inherited slicing) SD_PATH_SLICING_DEPRECATED
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/death-registration-profile')warningThe Implementation Guide contains no examples for this profile

fsh-generated/resources/StructureDefinition-nationality-patient-profile.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.differential​.element[7]​.bindingwarningThe definition for the element 'Patient.maritalStatus' binds to the value set 'http://moh.bw.org/fhir/ValueSet/vs-marital-status' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING
StructureDefinition​.snapshot​.element[26]​.bindingwarningThe definition for the element 'Patient.maritalStatus' binds to the value set 'http://moh.bw.org/fhir/ValueSet/vs-marital-status' which is experimental, but this structure is not labeled as experimental SD_ED_EXPERIMENTAL_BINDING
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/nationality-patient-profile')warningThe Implementation Guide contains no examples for this profile

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

PathSeverityMessage
StructureDefinition (l1/c16864)warningConstraint failed: sdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation (name.matches('[A-Z]([A-Za-z0-9_]){0,254}'))' http://hl7.org/fhir/StructureDefinition/StructureDefinition#sdf-0
StructureDefinition.context[0]warningReview the extension type for occupation: extensions should not have a context of Element unless it's really intended that they can be used anywhere SD_CONTEXT_SHOULD_NOT_BE_ELEMENT
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/occupation')warningThe Implementation Guide contains no examples for this extension

fsh-generated/resources/StructureDefinition-parent-related-person.json Show Validation Information (1)

PathSeverityMessage
StructureDefinition​.snapshot​.element[12]​.binding​.valueSet (l1​/c36341)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-RoleCode'. 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, or use the [IG Parameter `pin-canonicals`](https://hl7.org/fhir/tools/CodeSystem-ig-parameters.html). Using version '3.0.0', found versions: 2.0.0, 3.0.0. Suggested fix: change the canonical reference from 'http://terminology.hl7.org/ValueSet/v3-RoleCode' to 'http://terminology.hl7.org/ValueSet/v3-RoleCode|3.0.0' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS
StructureDefinition​.differential​.element[2]​.binding​.valueSet (l1​/c61172)warningThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-RoleCode'. 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, or use the [IG Parameter `pin-canonicals`](https://hl7.org/fhir/tools/CodeSystem-ig-parameters.html). Using version '3.0.0', found versions: 2.0.0, 3.0.0. Suggested fix: change the canonical reference from 'http://terminology.hl7.org/ValueSet/v3-RoleCode' to 'http://terminology.hl7.org/ValueSet/v3-RoleCode|3.0.0' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/parent-related-person')warningThe Implementation Guide contains no examples for this profile

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

PathSeverityMessage
StructureDefinition (l1/c17027)warningConstraint failed: sdf-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation (name.matches('[A-Z]([A-Za-z0-9_]){0,254}'))' http://hl7.org/fhir/StructureDefinition/StructureDefinition#sdf-0
StructureDefinition.context[0]warningReview the extension type for registration-date: extensions should not have a context of Element unless it's really intended that they can be used anywhere SD_CONTEXT_SHOULD_NOT_BE_ELEMENT
StructureDefinition​.where(url = 'http:​/​/moh​.bw​.org​/fhir​/StructureDefinition​/registration-date')warningThe Implementation Guide contains no examples for this extension

fsh-generated/resources/ValueSet-vs-marital-status.json Show Validation Information (1)


input/maps/legacy-to-fhir.fml Show Validation Information (1)

PathSeverityMessage
StructureMap​.structure[0]​.url (l1​/c2688)warningA definition could not be found for Canonical URL 'http://moh.bw.org/fhir/StructureDefinition/NationalPatientToFHIRR4Patient' TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE
StructureMap​.group[0]​.rule[0]​.rule[0]​.source[0] (l1​/c3223)informationThe source statement doesn't assign a variable to the source - check that this is what is intended SM_RULE_SOURCE_UNASSIGNED

Suppressed Messages (Warnings, hints, broken links)

No suppressed messsages

Errors sorted by type


IG_DEPENDENCY_DIRECT

fsh-generated/resources/ImplementationGuide-national.hie.fhir.jsonThe URL should refer directly to the ImplementationGuide resource (e.g. include '/ImplementationGuide/')
fsh-generated/resources/ImplementationGuide-national.hie.fhir.jsonThe URL should refer directly to the ImplementationGuide resource (e.g. include '/ImplementationGuide/')

IG_DEPENDENCY_INVALID_URL

fsh-generated/resources/ImplementationGuide-national.hie.fhir.jsonThe canonical URL http://hl7.org/fhir/tools doesn't point to an actual ImplementationGuide resource
fsh-generated/resources/ImplementationGuide-national.hie.fhir.jsonThe canonical URL http://terminology.hl7.org doesn't point to an actual ImplementationGuide resource

IG_DEPENDENCY_VERSION_WARNING_OLD

fsh-generated/resources/ImplementationGuide-national.hie.fhir.jsonThe ImplementationGuide uses package hl7.fhir.us.mcode#1.0.0 released on 2020-03-18, but the most recent appropriate version is 4.0.0. This reference is getting old and the more recent version should be considered

MSG_DEPENDS_ON_DEPRECATED_NOTE

fsh-generated/resources/StructureDefinition-birth-registration-profile.jsonThe extension http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet|5.3.0-ballot-tc1 is deprecated with the note: 'Use additionalBinding extension or element instead'

SD_CONTEXT_SHOULD_NOT_BE_ELEMENT

fsh-generated/resources/StructureDefinition-occupation.jsonReview the extension type for occupation: extensions should not have a context of Element unless it's really intended that they can be used anywhere
fsh-generated/resources/StructureDefinition-registration-date.jsonReview the extension type for registration-date: extensions should not have a context of Element unless it's really intended that they can be used anywhere

SD_ED_EXPERIMENTAL_BINDING

fsh-generated/resources/StructureDefinition-nationality-patient-profile.jsonThe definition for the element 'Patient.maritalStatus' binds to the value set 'http://moh.bw.org/fhir/ValueSet/vs-marital-status' which is experimental, but this structure is not labeled as experimental
fsh-generated/resources/StructureDefinition-nationality-patient-profile.jsonThe definition for the element 'Patient.maritalStatus' binds to the value set 'http://moh.bw.org/fhir/ValueSet/vs-marital-status' which is experimental, but this structure is not labeled as experimental

SD_PATH_SLICING_DEPRECATED

fsh-generated/resources/StructureDefinition-death-registration-profile.jsonThe discriminator type 'pattern' is deprecated in R5+. For future compatibility, you could consider using type=value with a pattern[x] instead (if this is not an inherited slicing)
fsh-generated/resources/StructureDefinition-death-registration-profile.jsonThe discriminator type 'pattern' is deprecated in R5+. For future compatibility, you could consider using type=value with a pattern[x] instead (if this is not an inherited slicing)

SM_RULE_SOURCE_UNASSIGNED

input/maps/legacy-to-fhir.fmlThe source statement doesn't assign a variable to the source - check that this is what is intended

TYPE_SPECIFIC_CHECKS_DT_CANONICAL_MULTIPLE_POSSIBLE_VERSIONS

fsh-generated/resources/StructureDefinition-parent-related-person.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-RoleCode'. 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, or use the [IG Parameter `pin-canonicals`](https://hl7.org/fhir/tools/CodeSystem-ig-parameters.html). Using version '3.0.0', found versions: 2.0.0, 3.0.0. Suggested fix: change the canonical reference from 'http://terminology.hl7.org/ValueSet/v3-RoleCode' to 'http://terminology.hl7.org/ValueSet/v3-RoleCode|3.0.0'
fsh-generated/resources/StructureDefinition-parent-related-person.jsonThere are multiple different potential matches for the url 'http://terminology.hl7.org/ValueSet/v3-RoleCode'. 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, or use the [IG Parameter `pin-canonicals`](https://hl7.org/fhir/tools/CodeSystem-ig-parameters.html). Using version '3.0.0', found versions: 2.0.0, 3.0.0. Suggested fix: change the canonical reference from 'http://terminology.hl7.org/ValueSet/v3-RoleCode' to 'http://terminology.hl7.org/ValueSet/v3-RoleCode|3.0.0'

TYPE_SPECIFIC_CHECKS_DT_CANONICAL_RESOLVE

input/maps/legacy-to-fhir.fmlA definition could not be found for Canonical URL 'http://moh.bw.org/fhir/StructureDefinition/NationalPatientToFHIRR4Patient'