Skip to content

Commit

Permalink
docs: update validation comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ratheesh-kr committed Aug 13, 2024
1 parent f8a8f25 commit 7efcf9c
Show file tree
Hide file tree
Showing 3 changed files with 491 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,46 @@ Validate the FHIR document using SHIN-NY IG Version 0.9.1 on the following platf
### Changes Identified in Error Logs Version 0.9.1


#### HAPI FHIR Server Validation
#### HAPI FHIR Server version 7.2 Validation

- No issues identified, please see the results [hapi-fhir-server version 7.2.md](hapi-fhir-server version 7.2.md)

#### HAPI FHIR Server version 6.2 Validation

- We are getting more validation issues using HAPI version 6.2.0 while comparing with HAPI version 7.2.0. please see the results [hapi-fhir-server version 6.2.md](hapi-fhir-server version 6.2.md)

- No issues identified, please see the results [custom-115-fhir-server.md](custom-115-fhir-server.md)

#### Inferno Validation Engine

- Inferno returs meta validation issues and referential integrity issues, please see the results [legacy-Inferno-public-site.md](legacy-Inferno-public-site.md)

#### Official Public Site

- Official validator not returning any referential integrity issues, please see the results [official-public-site.md](official-public-site.md)
- Official validator not returning any referential integrity issues, please see the results [official-public-site.md](official-public-site.md)

#### Observations

There are some variations in the errors reported by different validators.

One common issue we have seen across validators is that the Profile reference is not identified (since it’s not published yet, it is unknown to the validator).

Basically, this means that, without being published, many IG validations referencing unreachable URIs might be problematic.

For example, the following error is reported:

Location: Bundle.meta.profile[0]
Message : Profile reference 'http://shinny.org/StructureDefinition/SHINNYBundleProfile' has not been checked because it is unknown.

When we run the RI between Patient & Assigning Org, in test file those tests we found the following results:

Inferno API Validation Results:
• Bundle: Constraint failed: SHINNY-Bundle-Encounter-Location-RI: 'Checks for RI between Encounter & Location' (defined in http://shinny.org/StructureDefinition/SHINNYBundleProfile) on line 1.
• Bundle: Constraint failed: SHINNY-Bundle-Patient-Org-RI: 'Checks for RI between Patient & Assigning Org' (defined in http://shinny.org/StructureDefinition/SHINNYBundleProfile) on line 1.
• Bundle.meta: Unknown profile http://shinny.org/StructureDefinition/SHINNYMeta on line 4.

HAPI version 7.2.0 reported no issues detected during validation even through there were supposed to be errors. This means either we’re not calling the functions properly or the HAPI validator doesn’t understand the IG.

But in HAPI version 6.2.0 we are getting more errors compared to the HAPI version 7.2.0.

HL7 Official API Validation Results:
• ERROR: Bundle.entry[0].resource/*Patient/PatientExample*/.extension[0]: The extension http://hl7.org/fhir/us/core/StructureDefinition/us-core-race could not be found so is not allowed here".
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File evaluation against Custom 1115 FHIR Server
# File evaluation against Hapi FHIR Server Version 7.2

## Files tested

Expand Down
Loading

0 comments on commit 7efcf9c

Please sign in to comment.