Stream: implementers
Topic: validator to check a Profile
Sohrab Hejazi (Nov 29 2019 at 15:20):
Hi, can we use the official validator to check a Profile resource? I want to validate it programmatically with Java.
Hans van Amstel (Nov 29 2019 at 15:27):
Hi you can use: java -jar <locationOfTheValidator> <profileToCheck>
Use java -jar <locationOfTheValidator>
to see all the options like which fhir version to use.
Grahame Grieve (Nov 29 2019 at 17:43):
or see https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator
Kevin Mayfield (Nov 29 2019 at 17:44):
I've done in unit and integration tests using these instructions https://hapifhir.io/doc_validation.html
Sohrab Hejazi (Dec 01 2019 at 10:42):
or see https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator
thank you very much
Sohrab Hejazi (Dec 01 2019 at 11:13):
I've done in unit and integration tests using these instructions https://hapifhir.io/doc_validation.html
I get "ValidationOptions cannot be resolved to a type". How to import ValidationOptions in JAVA?
Grahame Grieve (Dec 01 2019 at 18:40):
this must be HAPI code - suggest you ask on #hapi
Last updated: Apr 12 2022 at 19:14 UTC