本文整理了Java中org.hl7.fhir.dstu3.model.Identifier.hasSystem()
方法的一些代码示例,展示了Identifier.hasSystem()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.hasSystem()
方法的具体详情如下:
包路径:org.hl7.fhir.dstu3.model.Identifier
类名称:Identifier
方法名:hasSystem
暂无
代码示例来源: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: org.hspconsortium.carewebframework/cwf-plugin-patientheader
String system = id.hasSystem() ? id.getSystem() : "";
String value = id.hasValue() ? id.getValue() : "";
代码示例来源:origin: org.hspconsortium.carewebframework/cwf-ui-patientheader
String system = id.hasSystem() ? id.getSystem() : "";
String value = id.hasValue() ? id.getValue() : "";
代码示例来源: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;
}
内容来源于网络,如有侵权,请联系作者删除!