Stream: inferno
Topic: Skip: Unknown Profile
Patrick Werner (Oct 08 2020 at 16:13):
I'm playing around with the inferno tech-forum-demo: https://github.com/inferno-community/tech-forum-demo and getting these: "Skip profile validation since profile https://gematik.de/fhir/StructureDefinition/PatientSzenario1 is unknown."
Patrick Werner (Oct 08 2020 at 16:14):
I assume this is because the validator module isn't aware about these profiles, the profiles added to the tech demo are only used to generate the tests and are not forwarded to the validator module.
Patrick Werner (Oct 08 2020 at 16:15):
In order to enable profile validation i would add these to the validator-module manually and build a docker image locally.
Patrick Werner (Oct 08 2020 at 16:18):
- Can the internal validator also validate against IG profiles? How can i add profiles to the internal validator?
- Is the validation module using the validation wrapper, which itself uses the java validator? Or are these distinct projects?
Reece Adamson (Oct 08 2020 at 20:30):
@Patrick Werner the profiles should get loaded into the validator as part of the startup tasks. If you have a repo up somewhere I can take a look, otherwise I would check that the profiles in question are in the appropriate resource directory in Inferno and that the fullUrl matches.
Also, I haven't updated the master
branch, but it might be worth trying with the use-development
branch to get the latest and greatest (the change is simply to use the development
branch of inferno)
This capability is still pretty new, but I'm happy to help debug with you more and this kind of feedback is helpful so that our team knows what to prioritize!
Patrick Werner (Oct 09 2020 at 14:07):
i tried the tech demo, generating inferno tests from an IG package. But i'll try to migrate (copy&paste) these generated tests to the development brach of inferno.
Patrick Werner (Oct 16 2020 at 12:44):
@Reece Adamson
Thanks for your answer (which i didn't understood correct when writing my first reply)
Switching to the dev branch enabled validation. Wich failed because my strucDefs didn't include Snapshots :smile:
Patrick Werner (Oct 16 2020 at 12:56):
Tried it with snapshots, now running into this error: Patient/4876: Patient.birthDate: Value is '1972-01-01' but must be '1/1/72 12:00 AM'
Patrick Werner (Oct 16 2020 at 12:56):
seems that the validator struggles with ISO date format?
Last updated: Apr 12 2022 at 19:14 UTC