org.hl7.fhir.dstu3.model.Identifier.getUseElement()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(121)

本文整理了Java中org.hl7.fhir.dstu3.model.Identifier.getUseElement()方法的一些代码示例,展示了Identifier.getUseElement()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.getUseElement()方法的具体详情如下:
包路径:org.hl7.fhir.dstu3.model.Identifier
类名称:Identifier
方法名:getUseElement

Identifier.getUseElement介绍

暂无

代码示例

代码示例来源:origin: jamesagnew/hapi-fhir

private void checkIdentifier(List<ValidationMessage> errors, String path, Element focus, Identifier fixed) {
 checkFixedValue(errors, path + ".use", focus.getNamedChild("use"), fixed.getUseElement(), "use", focus);
 checkFixedValue(errors, path + ".type", focus.getNamedChild("type"), fixed.getType(), "type", focus);
 checkFixedValue(errors, path + ".system", focus.getNamedChild("system"), fixed.getSystemElement(), "system", focus);
 checkFixedValue(errors, path + ".value", focus.getNamedChild("value"), fixed.getValueElement(), "value", focus);
 checkFixedValue(errors, path + ".period", focus.getNamedChild("period"), fixed.getPeriod(), "period", focus);
 checkFixedValue(errors, path + ".assigner", focus.getNamedChild("assigner"), fixed.getAssigner(), "assigner", focus);
}

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

public static void merge(Identifier dst, Identifier src) {
   if (dst.getUseElement() == null && src.getUseElement() != null)
     dst.setUseElement(src.getUseElement());  
   if (dst.getType() == null && src.getType() != null)
     dst.setType(src.getType());  
   if (dst.getPeriod() == null && src.getPeriod() != null)
     dst.setPeriod(src.getPeriod());  
   if (dst.getAssigner() == null && src.getAssigner() != null)
     dst.setAssigner(src.getAssigner());  
}

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-structures-dstu3

@Override
public Base makeProperty(int hash, String name) throws FHIRException {
 switch (hash) {
 case 116103:  return getUseElement();
 case 3575610:  return getType(); 
 case -887328209:  return getSystemElement();
 case 111972721:  return getValueElement();
 case -991726143:  return getPeriod(); 
 case -369881636:  return getAssigner(); 
 default: return super.makeProperty(hash, name);
 }
}

代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-validation

private void checkIdentifier(List<ValidationMessage> errors, String path, Element focus, Identifier fixed) {
 checkFixedValue(errors, path + ".use", focus.getNamedChild("use"), fixed.getUseElement(), "use", focus);
 checkFixedValue(errors, path + ".type", focus.getNamedChild("type"), fixed.getType(), "type", focus);
 checkFixedValue(errors, path + ".system", focus.getNamedChild("system"), fixed.getSystemElement(), "system", focus);
 checkFixedValue(errors, path + ".value", focus.getNamedChild("value"), fixed.getValueElement(), "value", focus);
 checkFixedValue(errors, path + ".period", focus.getNamedChild("period"), fixed.getPeriod(), "period", focus);
 checkFixedValue(errors, path + ".assigner", focus.getNamedChild("assigner"), fixed.getAssigner(), "assigner", focus);
}

相关文章