I have downloaded the HAPI FHIR server instance from github and ran it using docker:
Once started, I have added a set of custom profiles(US-Core) to the HAPI server instance. I was able to upload the profiles successfully. After that, i tried a few data instances. However found that, the server isn't validating the profile. I tried a data instance without having Patient.gender , though the US-Core profile(
http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient) mandates it. Am I missing any configuration here? Is there a documentation for the same? I assumed that the validations are enabled by default in the container configuration.