@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 109757538: return getStartElement(); case 100571: return getEndElement(); default: return super.makeProperty(hash, name); } }
private void checkPeriod(List<ValidationMessage> errors, String path, Element focus, Period fixed) { checkFixedValue(errors, path + ".start", focus.getNamedChild("start"), fixed.getStartElement(), "start", focus); checkFixedValue(errors, path + ".end", focus.getNamedChild("end"), fixed.getEndElement(), "end", focus); }
continue; nextEntity = new ResourceIndexedSearchParamDate(nextSpDef.getName(), nextValue.getStart(), nextValue.getEnd(), nextValue.getStartElement().getValueAsString()); } else if (nextObject instanceof Timing) { Timing nextValue = (Timing) nextObject;
@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 109757538: return getStartElement(); case 100571: return getEndElement(); default: return super.makeProperty(hash, name); } }
private void checkPeriod(List<ValidationMessage> errors, String path, Element focus, Period fixed) { checkFixedValue(errors, path + ".start", focus.getNamedChild("start"), fixed.getStartElement(), "start", focus); checkFixedValue(errors, path + ".end", focus.getNamedChild("end"), fixed.getEndElement(), "end", focus); }