@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 3059181: return getCode(); case -1410166417: return getValue(); case 111972721: return getValue(); case -1321148966: return getExcludeElement(); case -991726143: return getPeriod(); default: return super.makeProperty(hash, name); } }
public org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent convertGroupCharacteristicComponent(org.hl7.fhir.r4.model.Group.GroupCharacteristicComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent tgt = new org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent(); copyElement(src, tgt); tgt.setCode(convertCodeableConcept(src.getCode())); tgt.setValue(convertType(src.getValue())); tgt.setExclude(src.getExclude()); tgt.setPeriod(convertPeriod(src.getPeriod())); return tgt; }
public org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent convertGroupCharacteristicComponent(org.hl7.fhir.r4.model.Group.GroupCharacteristicComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent tgt = new org.hl7.fhir.instance.model.Group.GroupCharacteristicComponent(); copyElement(src, tgt); tgt.setCode(convertCodeableConcept(src.getCode())); tgt.setValue(convertType(src.getValue())); tgt.setExclude(src.getExclude()); tgt.setPeriod(convertPeriod(src.getPeriod())); return tgt; }
@Override public Base makeProperty(int hash, String name) throws FHIRException { switch (hash) { case 3059181: return getCode(); case -1410166417: return getValue(); case 111972721: return getValue(); case -1321148966: return getExcludeElement(); case -991726143: return getPeriod(); default: return super.makeProperty(hash, name); } }