-
Notifications
You must be signed in to change notification settings - Fork 0
add validator tool #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
oyisre
wants to merge
1
commit into
main
Choose a base branch
from
add-validator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FHIR Validation Results
|
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | CodeSystem, Line[1] Col[2] |
input/resources/StructureDefinition-allergyintolerance-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-condition-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-diagnosticreport-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-immunization-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-language-confidence-score-ca-pipeline-test.json — Errors: 0, Warnings: 2
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
| warning | processing | Review the extension type for language-confidence-score-ca-pipeline-test: extensions should not have a context of Element unless it's really intended that they can be used anywhere | StructureDefinition.context[0] |
input/resources/StructureDefinition-medicationrequest-ca-core.json — Errors: 0, Warnings: 2
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
| warning | processing | The slice 'medicationCodeableConcept' on path 'MedicationRequest.medication[x]' is not marked as 'must-support' which is not consistent with the element that defines the slicing, where 'must-support' is true | StructureDefinition.differential, Line[14] Col[4] |
input/resources/StructureDefinition-nutritionorder-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-observation-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-observation-resultsradiology-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-observation-sexual-orientation-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-observation-socialhistory-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-patient-ca-pipeline-test.json — Errors: 1, Warnings: 3
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
| error | processing | Element Patient.name: derived min (0) cannot be less than the base min (1) in http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core | 1.0.0 |
| warning | processing | The slice 'JHN' on path 'Patient.identifier' is not marked as 'must-support' which is not consistent with the element that defines the slicing, where 'must-support' is true | StructureDefinition.differential, Line[14] Col[4] |
| warning | processing | The slice 'MRN' on path 'Patient.identifier' is not marked as 'must-support' which is not consistent with the element that defines the slicing, where 'must-support' is true | StructureDefinition.differential, Line[14] Col[4] |
input/resources/StructureDefinition-practitionerRole-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/StructureDefinition-relatedperson-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | StructureDefinition, Line[1] Col[2] |
input/resources/ValueSet-anatomical-or-acquired-body-structure-code.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | ValueSet, Line[1] Col[2] |
input/resources/ValueSet-ccdd-prescriptionmedicinalproduct-20250315.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | ValueSet, Line[1] Col[2] |
input/resources/ValueSet-data-absent-reason-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | ValueSet, Line[1] Col[2] |
input/resources/ValueSet-fake-valueset-ca-pipeline-test.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | ValueSet, Line[1] Col[2] |
input/resources/ValueSet-invalid-valueset.json — Errors: 0, Warnings: 1
| Severity | Code | Message | Location |
|---|---|---|---|
| warning | processing | Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation) | ValueSet, Line[1] Col[2] |
input/resources/duplicate-canonical-urls-bad.json — Errors: 1, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | HAPI-0902: Can not create multiple ValueSet resources with ValueSet.url "http://example.org/ValueSet/fake-valueset", already have one with resource ID: ValueSet/2159 |
input/resources/instances/constraint-validation-bad.json — Errors: 2, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | Constraint failed: ca-core-pat-1: 'Either Patient.name.given and/or Patient.name.family SHALL be present.' (defined in http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core) | Bundle.entry[1].resource/Patient/constraint-validation-bad/.name[0], Line[1] Col[654] |
| error | processing | Constraint failed: ca-core-pat-1: 'Either Patient.name.given and/or Patient.name.family SHALL be present.' (defined in http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core) | Bundle.entry[1].resource/Patient/constraint-validation-bad/.name[0], Line[1] Col[654] |
input/resources/instances/example-validation-bad.json — Errors: 2, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | Patient.name: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core | 1.0.0) |
| error | processing | Patient.name: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core | 1.0.0) |
input/resources/instances/extension-definition-validation-bad.json — Errors: 2, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | The Extension 'http://hl7.org/fhir/StructureDefinition/patient-birthTime' definition allows for the types [dateTime] but found type string | Bundle.entry[4].resource/Patient/extension-definition-validation-bad/.birthDate.extension[0], Line[1] Col[1826] |
| error | processing | The Extension 'http://hl7.org/fhir/StructureDefinition/patient-birthTime' definition allows for the types [dateTime] but found type string | Bundle.entry[4].resource/Patient/extension-definition-validation-bad/.birthDate.extension[0], Line[1] Col[1826] |
input/resources/instances/external-terminology-validation-good.json — Errors: 12, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | Immunization.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.patient: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.patient: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.occurrence[x]: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.occurrence[x]: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization | 4.0.1) |
| error | processing | Immunization.status: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
| error | processing | Immunization.status: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
| error | processing | Immunization.patient: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
| error | processing | Immunization.patient: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
| error | processing | Immunization.occurrence[x]: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
| error | processing | Immunization.occurrence[x]: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/ca-pipeline-test/StructureDefinition/immunization-ca-pipeline-test) | Bundle.entry[5].resource/Immunization/external-terminology-validation-good/, Line[1] Col[2308] |
input/resources/instances/profile-conformance-bad.json — Errors: 2, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | Patient.name: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core | 1.0.0) |
| error | processing | Patient.name: minimum required = 1, but only found 0 (from http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/patient-ca-core | 1.0.0) |
input/resources/instances/terminology-binding-bad.json — Errors: 2, Warnings: 0
| Severity | Code | Message | Location |
|---|---|---|---|
| error | processing | None of the codings provided are in the value set 'Condition Clinical Status Codes' (http://hl7.org/fhir/ValueSet/condition-clinical | 4.0.1), and a coding from this value set is required) (codes = http://snomed.info/sct#416098002) |
| error | processing | None of the codings provided are in the value set 'Condition Clinical Status Codes' (http://hl7.org/fhir/ValueSet/condition-clinical | 4.0.1), and a coding from this value set is required) (codes = http://snomed.info/sct#416098002) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.