Stream: implementers
Topic: HAPI FHIR Validation
Shivakiran Reddy Thatikonda (Feb 09 2022 at 18:54):
I am trying to validate Bundle with custom profiles using HAPI FHIR API. I am getting "'http://hl7.org/fhir/us/ecr/StructureDefinition/eicr-composition' has not been checked because it is unknown". Is there any option to validate without adding profile to class path
Lloyd McKenzie (Feb 09 2022 at 19:27):
It's not a classpath issue. If you want to validate against profiles, you need to use the -ig parameter to pass in the ig packages that define the relevant profiles.
Shivakiran Reddy Thatikonda (Feb 09 2022 at 20:03):
Lloyd McKenzie said:
It's not a classpath issue. If you want to validate against profiles, you need to use the -ig parameter to pass in the ig packages that define the relevant profiles.
Thank you for responding. I am using Validation API from HAPI. I am looking a way to add custom profiles for validating
Grahame Grieve (Feb 09 2022 at 20:06):
you have to put/post them to the server or load the package that contains them
Jens Villadsen (Feb 09 2022 at 21:28):
@Shivakiran Reddy Thatikonda - which part of the HAPI API are you referring to? If you look at https://hapifhir.io/hapi-fhir/docs/validation/validation_support_modules.html you'll see that there are multiple ways of validating? Are you using the REST API or the internal API?
Shivakiran Reddy Thatikonda (Feb 09 2022 at 21:36):
Jens Villadsen said:
Shivakiran Reddy Thatikonda - which part of the HAPI API are you referring to? If you look at https://hapifhir.io/hapi-fhir/docs/validation/validation_support_modules.html you'll see that there are multiple ways of validating? Are you using the REST API or the internal API?
Thank you. I tried supplying custom definitions. It did not work. I am using HAPI FHIR JPA starter module.
Shivakiran Reddy Thatikonda (Feb 09 2022 at 21:37):
Grahame Grieve said:
you have to put/post them to the server or load the package that contains them
Thank you. Could you please let me know the ENDPOINT for posting the profile/extensions to our internal FHIR server or documentation will also be very helpful for me.
Last updated: Apr 12 2022 at 19:14 UTC