本文整理了Java中org.hl7.fhir.dstu3.model.Identifier.getAssigner()
方法的一些代码示例,展示了Identifier.getAssigner()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.getAssigner()
方法的具体详情如下:
包路径:org.hl7.fhir.dstu3.model.Identifier
类名称:Identifier
方法名:getAssigner
暂无
代码示例来源: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: jamesagnew/hapi-fhir
public static org.hl7.fhir.dstu2016may.model.Identifier convertIdentifier(org.hl7.fhir.dstu3.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu2016may.model.Identifier tgt = new org.hl7.fhir.dstu2016may.model.Identifier();
copyElement(src, tgt);
tgt.setUse(convertIdentifierUse(src.getUse()));
tgt.setType(convertCodeableConcept(src.getType()));
if (src.hasSystem())
tgt.setSystem(src.getSystem());
if (src.hasValue())
tgt.setValue(src.getValue());
tgt.setPeriod(convertPeriod(src.getPeriod()));
tgt.setAssigner(convertReference(src.getAssigner()));
return tgt;
}
代码示例来源:origin: jamesagnew/hapi-fhir
public org.hl7.fhir.instance.model.Identifier convertIdentifier(org.hl7.fhir.dstu3.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.instance.model.Identifier tgt = new org.hl7.fhir.instance.model.Identifier();
copyElement(src, tgt);
if (src.hasUse())
tgt.setUse(convertIdentifierUse(src.getUse()));
if (src.hasType())
tgt.setType(convertCodeableConcept(src.getType()));
if (src.hasSystem())
tgt.setSystem(src.getSystem());
if (src.hasValue())
tgt.setValue(src.getValue());
if (src.hasPeriod())
tgt.setPeriod(convertPeriod(src.getPeriod()));
if (src.hasAssigner())
tgt.setAssigner(convertReference(src.getAssigner()));
return tgt;
}
代码示例来源: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);
}
代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-converter
public static org.hl7.fhir.dstu2016may.model.Identifier convertIdentifier(org.hl7.fhir.dstu3.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu2016may.model.Identifier tgt = new org.hl7.fhir.dstu2016may.model.Identifier();
copyElement(src, tgt);
tgt.setUse(convertIdentifierUse(src.getUse()));
tgt.setType(convertCodeableConcept(src.getType()));
if (src.hasSystem())
tgt.setSystem(src.getSystem());
if (src.hasValue())
tgt.setValue(src.getValue());
tgt.setPeriod(convertPeriod(src.getPeriod()));
tgt.setAssigner(convertReference(src.getAssigner()));
return tgt;
}
代码示例来源:origin: ca.uhn.hapi.fhir/hapi-fhir-converter
public org.hl7.fhir.instance.model.Identifier convertIdentifier(org.hl7.fhir.dstu3.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.instance.model.Identifier tgt = new org.hl7.fhir.instance.model.Identifier();
copyElement(src, tgt);
if (src.hasUse())
tgt.setUse(convertIdentifierUse(src.getUse()));
if (src.hasType())
tgt.setType(convertCodeableConcept(src.getType()));
if (src.hasSystem())
tgt.setSystem(src.getSystem());
if (src.hasValue())
tgt.setValue(src.getValue());
if (src.hasPeriod())
tgt.setPeriod(convertPeriod(src.getPeriod()));
if (src.hasAssigner())
tgt.setAssigner(convertReference(src.getAssigner()));
return tgt;
}
内容来源于网络,如有侵权,请联系作者删除!