@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1008619738: return getOrigin(); case -991726143: return getPeriodElement(); case -1282148017: return getFactorElement(); case 1209133370: return getLowerLimitElement(); case -1681713095: return getUpperLimitElement(); case 414334925: return getDimensionsElement(); case 3076010: return getDataElement(); default: return super.makeProperty(hash, name); } }
private void checkSampledData(List<ValidationMessage> errors, String path, Element focus, SampledData fixed) { checkFixedValue(errors, path + ".origin", focus.getNamedChild("origin"), fixed.getOrigin(), "origin", focus); checkFixedValue(errors, path + ".period", focus.getNamedChild("period"), fixed.getPeriodElement(), "period", focus); checkFixedValue(errors, path + ".factor", focus.getNamedChild("factor"), fixed.getFactorElement(), "factor", focus); checkFixedValue(errors, path + ".lowerLimit", focus.getNamedChild("lowerLimit"), fixed.getLowerLimitElement(), "lowerLimit", focus); checkFixedValue(errors, path + ".upperLimit", focus.getNamedChild("upperLimit"), fixed.getUpperLimitElement(), "upperLimit", focus); checkFixedValue(errors, path + ".dimensions", focus.getNamedChild("dimensions"), fixed.getDimensionsElement(), "dimensions", focus); checkFixedValue(errors, path + ".data", focus.getNamedChild("data"), fixed.getDataElement(), "data", focus); }
@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case -1008619738: return getOrigin(); case -991726143: return getPeriodElement(); case -1282148017: return getFactorElement(); case 1209133370: return getLowerLimitElement(); case -1681713095: return getUpperLimitElement(); case 414334925: return getDimensionsElement(); case 3076010: return getDataElement(); default: return super.makeProperty(hash, name); } }
private void checkSampledData(List<ValidationMessage> errors, String path, Element focus, SampledData fixed) { checkFixedValue(errors, path + ".origin", focus.getNamedChild("origin"), fixed.getOrigin(), "origin", focus); checkFixedValue(errors, path + ".period", focus.getNamedChild("period"), fixed.getPeriodElement(), "period", focus); checkFixedValue(errors, path + ".factor", focus.getNamedChild("factor"), fixed.getFactorElement(), "factor", focus); checkFixedValue(errors, path + ".lowerLimit", focus.getNamedChild("lowerLimit"), fixed.getLowerLimitElement(), "lowerLimit", focus); checkFixedValue(errors, path + ".upperLimit", focus.getNamedChild("upperLimit"), fixed.getUpperLimitElement(), "upperLimit", focus); checkFixedValue(errors, path + ".dimensions", focus.getNamedChild("dimensions"), fixed.getDimensionsElement(), "dimensions", focus); checkFixedValue(errors, path + ".data", focus.getNamedChild("data"), fixed.getDataElement(), "data", focus); }