Skip to content

Integrate dsf-fhir-validation and HAPI FHIR for profile validation #20

@khalilmalla95

Description

@khalilmalla95

Description

The DSF Linter should extend its FHIR validation by integrating the dsf-fhir-validation library from the DSF project as a dependency. This enables use of HAPI FHIR to validate FHIR resources against DSF profiles.

Background

  • DSF (Data Sharing Framework): https://github.com/datasharingframework/dsf

  • dsf-fhir-validation provides:

    • ResourceValidator / ResourceValidatorImpl for profile-based validation
    • ValidationSupportWithCustomResources for StructureDefinitions, CodeSystems, and ValueSets
    • ValueSetExpander and SnapshotGenerator
  • DSF Linter currently validates FHIR resources using DOM parsing (FhirResourceParser, org.w3c.dom.Document) and custom linter implementations. Adding HAPI-based profile validation would improve validation quality.


Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions