-
Notifications
You must be signed in to change notification settings - Fork 20
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
feature request: gazelle - connect matchbox through new validation-service API #141
Comments
matchbox gui validate should then also to do the call to new validation api (support both) |
http validator from gazelle uses this new logic too: https://gitlab.inria.fr/gazelle/applications/test-execution/validator/http-validator |
http validator: add to docker file the following gazelle/http-validator/http-validator-service ENV GZL_PROFILE_REPOSITORY_PATH=/opt/http-validator/validationProfiles then afterwards: docker build -t validator . port 8080 needs to be exposed http script attached (as http.txt, rename to http) |
It would be nice to have additional info on the "Additional Metadata Matchbox QLIG-local" all values which we provide in hte operation outcome (a lot a are already there): "extension": [ {
"url": "http://matchbox.health/validiation",
"extension": [ {
"url": "profile",
"valueUri": "http://hl7.org/fhir/StructureDefinition/Patient"
}, {
"url": "profileVersion",
"valueUri": "4.0.1"
}, {
"url": "profileDate",
"valueDateTime": "2019-11-01T09:29:23+11:00"
}, {
"url": "total",
"valueDuration": {
"value": 39,
"unit": "ms"
}
}, {
"url": "validatorVersion",
"valueString": "powered by matchbox 3.5.4, hapi-fhir 6.10.0 and org.hl7.fhir.core 6.1.16"
}, {
"url": "ig",
"valueString": "hl7.fhir.r4.core#4.0.1"
}, {
"url": "hintAboutNonMustSupport",
"valueBoolean": false
}, {
"url": "recursive",
"valueBoolean": false
}, {
"url": "showMessagesFromReferences",
"valueBoolean": false
}, {
"url": "doDebug",
"valueBoolean": false
}, {
"url": "assumeValidRestReferences",
"valueBoolean": false
}, {
"url": "canDoNative",
"valueBoolean": false
}, {
"url": "noExtensibleBindingMessages",
"valueBoolean": false
}, {
"url": "noUnicodeBiDiControlChars",
"valueBoolean": false
}, {
"url": "noInvariants",
"valueBoolean": false
}, {
"url": "displayIssuesAreWarnings",
"valueBoolean": true
}, {
"url": "wantInvariantsInMessages",
"valueBoolean": false
}, {
"url": "doImplicitFHIRPathStringConversion",
"valueBoolean": false
}, {
"url": "securityChecks",
"valueBoolean": false
}, {
"url": "crumbTrails",
"valueBoolean": false
}, {
"url": "forPublication",
"valueBoolean": false
}, {
"url": "httpReadOnly",
"valueBoolean": false
}, {
"url": "allowExampleUrls",
"valueBoolean": false
}, {
"url": "txServer",
"valueUri": "http://localhost:8081/matchboxv3/fhir"
}, {
"url": "lang"
}, {
"url": "snomedCT"
}, {
"url": "fhirVersion",
"valueString": "4.0.1"
}, {
"url": "ig",
"valueString": "hl7.fhir.r4.core#4.0.1"
}, {
"url": "locale",
"valueString": "English"
}, {
"url": "jurisdiction",
"valueString": "urn:iso:std:iso:3166#CH"
}, {
"url": "sessionId",
"valueString": "211057106"
}, {
"url": "package",
"valueString": "hl7.fhir.xver-extensions#4.0"
}, {
"url": "package",
"valueString": "hl7.fhir.r4.core#4.0.1"
}, {
"url": "package",
"valueString": "hl7.fhir.uv.extensions.r4#1.0.0"
}, {
"url": "package",
"valueString": "hl7.terminology#5.4.0"
} ]
} ],
see also #194 |
Use the profile name instead of URL. |
For the profile name we could maybe use NpmPackageVersionResourceEntity FileName in MatchboxPackageInstallerImpl |
|
Also return the StructureDefinition title, IG title and version in the $validate OperationDefinition (add extensions to the targetProfile). |
Background
gazelle has integrated matchbox with the $validate FHIR operation with the Gazelle FHIR Validator R4, see example:
CH EMED Medication Card Document, note that the following parameters have to been set:
implementation is done in net.ihe.gazelle.fhir.validator.validation.peripherals.ws.IGFhirServerClientImpl
this integration works very well, however it has two disadvantages
all of those information can be accessed over the OperationDefintion for $validate
gazelle FHIR Validation API
gazelle has incorporated a new validation service API:
This project is a library that provides all required APIs to build and integrate
a new validation service with Gazelle Test Bed.
if matchbox implements this API, a dynamically configuration could be adapted, and other clients could then call also directly matchbox validation if they don't want to use the FHIR $validate API but use the EVSClient API for validation like described here
The swagger description is located here
(don't know if a bridge is already implemented).
The text was updated successfully, but these errors were encountered: