Hi everyone,
I am working on migrating all content from a Microsoft FHIR server to a HAPI JPA Server.
During this process, I encountered a Questionnaire that includes an extension containing both a value[x] and nested extensions.
This is an example:
{
"extension": [
{
"url": "http://some.company.com/questionnaire/exceptions",
"valueString": "There is an inconsistency in the answers given to items 1.7.1 and 1.7.2. Verify that the answers are completed correctly."
}
],
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "e171_172",
"language": "text/fhirpath",
"expression": "(%v171_2019 = 'A' and (%v172 = 'C' or %v172 = 'D'))"
}
}
I am fully aware that this structure is not compliant with FHIR R4, where an Extension must not have both a value and child extensions at the same time.
However, this constraint is currently blocking the migration.
I need to understand whether HAPI provides any mechanism (configuration, validation override, or custom interceptor) to relax or bypass this rule, in order to ingest the existing data as-is.
Many thanks, Andrea
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hapi-fhir/b8bd9da9-a6ff-4501-b5a9-9d7d82fe207an%40googlegroups.com.