Validation Results for primarycareacquisition

Generated Fri Dec 06 00:57:36 UTC 2024, FHIR version 4.0.1 for tewhatuora.fhir.primarycare-acquisition#0.2.0 (canonical = https://standards.digital.health.nz (history)). See Errors Only

Quality Checks
Publisher Version:IG Publisher Version: v1.7.5
Publication Code:n/a . PackageId = tewhatuora.fhir.primarycare-acquisition, Canonical = https://standards.digital.health.nz
Realm Check for n/a:
  • n/a
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.primarycare-acquisition0.2.0R4https://standards.digital.health.nz
... hl7.terminology.r46.1.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.1.0
... hl7.fhir.uv.extensions.r45.1.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.1.0
... tewhatuora.fhir.nzps0.3.0 UR4https://standards.digital.health.nzhttps://build.fhir.org/ig/tewhatuora/fhir-nzps/Matched to latest patch release (current->0.3.0)
.... hl7.terminology.r46.1.0 MR4http://terminology.hl7.orghttp://terminology.hl7.org/6.1.0see above
.... hl7.fhir.uv.extensions.r45.1.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.1.0see above
.... 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.1.0
..... fhir.dicom2022.4.20221006 OR4http://fhir.org/packages/fhir.dicomhttp://fhir.org/packages/fhir.dicomLatest Release is 2024.2.20240331
.... fhir.org.nz.ig.basecurrent UR4http://hl7.org.nz/fhirhttps://build.fhir.org/ig/HL7NZ/nzbase/Cannot be published with a dependency on a current build version
..... hl7.terminology.r46.0.2 OR4http://terminology.hl7.orghttp://terminology.hl7.org/6.0.2Latest Release is 6.1.0
..... hl7.fhir.uv.extensions.r45.1.0 MR4http://hl7.org/fhir/extensionshttp://hl7.org/fhir/extensions/5.1.0see above
... fhir.org.nz.ig.base3.0.0 UR4http://fhir.org.nz/ig/basefile:///Users/davidhay/IG/nzbase/output
.... hl7.terminology.r44.0.0 OR4http://terminology.hl7.orghttp://terminology.hl7.org/4.0.0Latest Release is 6.1.0
Templates: tewhatuora.fhir.template#0.1.0 -> fhir.base.template#current. Tools: 0.3.0
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://standards.digital.health.nz (Problem #1 with package-list.json at https://standards.digital.health.nz: Not Found)
IPA Comparison: n/a
IPS Comparison: n/a
Validation Flags: On: autoLoad; Off: hintAboutNonMustSupport, anyExtensionsAllowed, checkAggregation, showReferenceMessages, noExperimentalContent, displayWarnings
Summary: errors = 7, warn = 16, info = 2, broken links = 3
FilenameErrorsWarningsHints
Build Errors371
/scratch/repo/fsh-generated/resources/CapabilityStatement-PrimaryCareAcquisitionCapabliityStatement100
/scratch/repo/fsh-generated/resources/Condition-conditionExample1500
/scratch/repo/fsh-generated/resources/Consent-PrimaryCareConsentExample000
/scratch/repo/fsh-generated/resources/Encounter-EncounterExample1130
/scratch/repo/fsh-generated/resources/ImplementationGuide-tewhatuora.fhir.primarycare-acquisition010
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareCondition000
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareConsent011
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareEncounter000
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareObservationSmokingStatus010
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareObservationVapingStatus020
/scratch/repo/fsh-generated/resources/StructureDefinition-PrimaryCareObservationVitalSigns010

n/a Show Validation Information

ImplementationGuide.dependency[3].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[3].urlinformationThe correct canonical URL for this dependency is http://fhir.org.nz/ig/base/ImplementationGuide/fhir.org.nz.ig.base
warningUnable to find ImplementationGuide.definition.resource.description for the resource Encounter/EncounterExample1. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource Consent/PrimaryCareConsentExample. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
warningUnable to find ImplementationGuide.definition.resource.description for the resource Condition/conditionExample1. Descriptions are strongly encouraged if they cannot be inferred from the resource to allow proper population of the artifact list.
output​/StructureDefinition-PrimaryCareConsent​.html​#​/html​/body​/div​/div​/div​/div​/div​/p​/p​/a at Line 282, column 59errorThe link ''/consent-based-access.html'' for "consent based access control page" cannot be resolved
output​/StructureDefinition-PrimaryCareConsent​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/p​/a at Line 297, column 85errorThe link './use-cases.html#consent-based-access-control' for "Consent based access control" cannot be resolved (valid targets: [overview, segment-header, markdown-toc-data-provision, publish-box, bottom, segment-post-footer, data-provision, tewhatuora-logo, hiso-logo, ig-status, markdown-toc, use-cases, top, markdown-toc-overview, stripe, segment-footer, segment-navbar, segment-content, segment-breadcrumb])
output​/artifacts​.html​#​/html​/body​/div​/div​/div​/div​/div​/div​/table​/tbody​/tr​/td​/p​/a at Line 227, column 59errorThe link ''/consent-based-access.html'' for "consent based access control page" 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] is not included anywhere in the produced implementation guide
4warningThe HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide

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

PathSeverityMessage
CapabilityStatement.rest[0] (l1/c14637)errorConstraint failed: cpb-9: 'A given resource can only be described once per RESTful mode.'

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

PathSeverityMessage
Condition (l1/c2)errorCondition.extension: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
Condition (l1/c2)errorCondition.recordedDate: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
Condition (l1/c2)errorCondition.recorder: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
Condition (l1/c2)errorCondition.asserter: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
Condition.subject (l42/c4)errorCondition.subject.reference: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)

fsh-generated/resources/Consent-PrimaryCareConsentExample.json Show Validation Information (1)


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

PathSeverityMessage
Encounter.class (l33/c4)warningA code with no system has no defined meaning, and it cannot be validated. A system should be provided
Encounter​.serviceType​.coding[0] (l24​/c4)warningCoding has no system. A code with no system has no defined meaning, and it cannot be validated. A system should be provided
Encounter.subject (l10/c4)errorEncounter.subject.reference: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareEncounter|0.2.0)
Encounter​.participant[0]​.type[0]​.coding[0] (l42​/c10)warningCoding has no system. A code with no system has no defined meaning, and it cannot be validated. A system should be provided

fsh-generated/resources/ImplementationGuide-tewhatuora.fhir.primarycare-acquisition.json Show Validation Information (1)

PathSeverityMessage
ImplementationGuide (l1/c16367)warningConstraint failed: ig-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation'

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


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

PathSeverityMessage
StructureDefinition​.snapshot​.element[12]​.pattern​.ofType(CodeableConcept)informationThe repeating element has a pattern. The pattern will apply to all the repeats (this has not been clear to all users)
StructureDefinition​.snapshot​.element[66]​.bindingwarningThe definition for the element 'Consent.provision.code' binds to the value set 'http://hl7.org/fhir/ValueSet/consent-content-code' which is experimental, but this structure is not labeled as experimental

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


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

PathSeverityMessage
StructureDefinition​.where(url = 'https:​/​/standards​.digital​.health​.nz​/StructureDefinition​/PrimaryCareObservationSmokingStatus')warningThe Implementation Guide contains no examples for this profile

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

PathSeverityMessage
StructureDefinition​.snapshot​.element[23]​.pattern​.ofType(CodeableConcept)​.coding[0]​.system (l1​/c60124)warningA definition for CodeSystem 'https://standards.digital.health.nz/ns/loinc-nz-local-code' could not be found, so the code cannot be validated (from http://tx.fhir.org/r4)
StructureDefinition​.where(url = 'https:​/​/standards​.digital​.health​.nz​/StructureDefinition​/PrimaryCareObservationVapingStatus')warningThe Implementation Guide contains no examples for this profile

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

PathSeverityMessage
StructureDefinition​.where(url = 'https:​/​/standards​.digital​.health​.nz​/StructureDefinition​/PrimaryCareObservationVitalSigns')warningThe Implementation Guide contains no examples for this profile

Suppressed Messages (Warnings, hints, broken links)

No suppressed messsages

Errors sorted by type


TERMINOLOGY_TX_SYSTEM_NO_CODE

fsh-generated/resources/Encounter-EncounterExample1.jsonA code with no system has no defined meaning, and it cannot be validated. A system should be provided

Validation_VAL_Profile_Maximum

fsh-generated/resources/Condition-conditionExample1.jsonCondition.extension: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
fsh-generated/resources/Condition-conditionExample1.jsonCondition.recordedDate: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
fsh-generated/resources/Condition-conditionExample1.jsonCondition.recorder: max allowed = 0, but found 1 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)

Validation_VAL_Profile_Minimum

fsh-generated/resources/Condition-conditionExample1.jsonCondition.asserter: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
fsh-generated/resources/Condition-conditionExample1.jsonCondition.subject.reference: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareCondition|0.2.0)
fsh-generated/resources/Encounter-EncounterExample1.jsonEncounter.subject.reference: minimum required = 1, but only found 0 (from https://standards.digital.health.nz/StructureDefinition/PrimaryCareEncounter|0.2.0)