private boolean isOverrideResourceIdWithBundleEntryFullUrl() { Boolean overrideResourceIdWithBundleEntryFullUrl = myOverrideResourceIdWithBundleEntryFullUrl; if (overrideResourceIdWithBundleEntryFullUrl != null) { return overrideResourceIdWithBundleEntryFullUrl; } return myContext.getParserOptions().isOverrideResourceIdWithBundleEntryFullUrl(); }
@Bean @Primary public FhirContext fhirContextR4() { FhirContext retVal = FhirContext.forR4(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.what"); return retVal; }
@Bean @Primary public FhirContext fhirContextR4() { FhirContext retVal = FhirContext.forR4(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.reference"); return retVal; }
@Bean @Primary public FhirContext fhirContextDstu3() { FhirContext retVal = FhirContext.forDstu3(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.reference"); return retVal; }
@Bean @Primary public FhirContext fhirContextDstu3() { FhirContext retVal = FhirContext.forDstu3(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.reference"); return retVal; }
private boolean isStripVersionsFromReferences(CompositeChildElement theCompositeChildElement) { Boolean stripVersionsFromReferences = myStripVersionsFromReferences; if (stripVersionsFromReferences != null) { return stripVersionsFromReferences; } if (myContext.getParserOptions().isStripVersionsFromReferences() == false) { return false; } Set<String> dontStripVersionsFromReferencesAtPaths = myDontStripVersionsFromReferencesAtPaths; if (dontStripVersionsFromReferencesAtPaths != null) { if (dontStripVersionsFromReferencesAtPaths.isEmpty() == false && theCompositeChildElement.anyPathMatches(dontStripVersionsFromReferencesAtPaths)) { return false; } } dontStripVersionsFromReferencesAtPaths = myContext.getParserOptions().getDontStripVersionsFromReferencesAtPaths(); return dontStripVersionsFromReferencesAtPaths.isEmpty() != false || !theCompositeChildElement.anyPathMatches(dontStripVersionsFromReferencesAtPaths); }
ctx.getParserOptions().setStripVersionsFromReferences(false); ctx.getParserOptions().setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.reference", "Patient.managingOrganization");
private boolean isOverrideResourceIdWithBundleEntryFullUrl() { Boolean overrideResourceIdWithBundleEntryFullUrl = myOverrideResourceIdWithBundleEntryFullUrl; if (overrideResourceIdWithBundleEntryFullUrl != null) { return overrideResourceIdWithBundleEntryFullUrl; } return myContext.getParserOptions().isOverrideResourceIdWithBundleEntryFullUrl(); }
@Bean @Primary public FhirContext fhirContextR4() { FhirContext retVal = FhirContext.forR4(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.what"); return retVal; }
@Bean @Primary public FhirContext fhirContextDstu3() { FhirContext retVal = FhirContext.forDstu3(); // Don't strip versions in some places ParserOptions parserOptions = retVal.getParserOptions(); parserOptions.setDontStripVersionsFromReferencesAtPaths("AuditEvent.entity.reference"); return retVal; }
private boolean isStripVersionsFromReferences(CompositeChildElement theCompositeChildElement) { Boolean stripVersionsFromReferences = myStripVersionsFromReferences; if (stripVersionsFromReferences != null) { return stripVersionsFromReferences; } if (myContext.getParserOptions().isStripVersionsFromReferences() == false) { return false; } Set<String> dontStripVersionsFromReferencesAtPaths = myDontStripVersionsFromReferencesAtPaths; if (dontStripVersionsFromReferencesAtPaths != null) { if (dontStripVersionsFromReferencesAtPaths.isEmpty() == false && theCompositeChildElement.anyPathMatches(dontStripVersionsFromReferencesAtPaths)) { return false; } } dontStripVersionsFromReferencesAtPaths = myContext.getParserOptions().getDontStripVersionsFromReferencesAtPaths(); return dontStripVersionsFromReferencesAtPaths.isEmpty() != false || !theCompositeChildElement.anyPathMatches(dontStripVersionsFromReferencesAtPaths); }