Closed Wambere closed 1 month ago
Tested it out and it returns a successful validation even when I give it an incorrect questionnaire json file path
Additionally appears as part of validation it tries to connect to the FHIR Base URL server defined for the QuestionnaireResponse
generated here for validation - https://github.com/onaio/fhir-tooling/blob/199-validate-sm/efsity/src/main/java/org/smartregister/command/ValidateStructureMapCommand.java#L106-L115 leading to the exception here :
Additionally we should refactor to remove duplicates across the project or move any potentially reusable code to util classes
Additionally appears as part of validation it tries to connect to the FHIR Base URL server defined for the
QuestionnaireResponse
generated here for validation - https://github.com/onaio/fhir-tooling/blob/199-validate-sm/efsity/src/main/java/org/smartregister/command/ValidateStructureMapCommand.java#L106-L115 leading to the exception here :
For this to run you need to have the hapi-fhir-jpaserver
running locally. I have included this information in the ReadMe.
Additionally appears as part of validation it tries to connect to the FHIR Base URL server defined for the
QuestionnaireResponse
generated here for validation - https://github.com/onaio/fhir-tooling/blob/199-validate-sm/efsity/src/main/java/org/smartregister/command/ValidateStructureMapCommand.java#L106-L115 leading to the exception here :For this to run you need to have the
hapi-fhir-jpaserver
running locally. I have included this information in the ReadMe.
Since we intend to run this via CI for the automation how do we intent to handle this case?
IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #199
Engineer Checklist
./gradlew spotlessApply
to check my code follows the project's style guide