private String commas(List<StringType> discriminator) { CommaSeparatedStringBuilder c = new CommaSeparatedStringBuilder(); for (StringType id : discriminator) c.append(id.asStringValue()); return c.toString(); }
for (org.hl7.fhir.instance.model.StringType t : src.getDiscriminator()) { boolean isExists = false; if (!t.asStringValue().contains("@")) { int slices = 0; boolean existsSlicePresent = false; boolean notExistsSlicePresent = false; String existsPath = slicingElement.getPath() + "." + t.asStringValue(); for (int i = pos + 1; i < context.size(); i++) { org.hl7.fhir.instance.model.ElementDefinition e = context.get(i);
if (!inExemptList(inv.getKey())) { if (rule(errors, IssueType.BUSINESSRULE, profile.getId()+"::"+ed.getPath()+"::"+inv.getKey(), exprExt != null, "The invariant has no FHIR Path expression ("+inv.getXpath()+")")) { String expr = ((StringType) exprExt.getValue()).asStringValue(); try { new FHIRPathEngine(context).check(null, profile.getConstrainedType(), ed.getPath(), expr);
private String commas(List<StringType> discriminator) { CommaSeparatedStringBuilder c = new CommaSeparatedStringBuilder(); for (StringType id : discriminator) c.append(id.asStringValue()); return c.toString(); }
for (org.hl7.fhir.instance.model.StringType t : src.getDiscriminator()) { boolean isExists = false; if (!t.asStringValue().contains("@")) { int slices = 0; boolean existsSlicePresent = false; boolean notExistsSlicePresent = false; String existsPath = slicingElement.getPath() + "." + t.asStringValue(); for (int i = pos + 1; i < context.size(); i++) { org.hl7.fhir.instance.model.ElementDefinition e = context.get(i);
if (!inExemptList(inv.getKey())) { if (rule(errors, IssueType.BUSINESSRULE, profile.getId()+"::"+ed.getPath()+"::"+inv.getKey(), exprExt != null, "The invariant has no FHIR Path expression ("+inv.getXpath()+")")) { String expr = ((StringType) exprExt.getValue()).asStringValue(); try { new FHIRPathEngine(context).check(null, profile.getConstrainedType(), ed.getPath(), expr);