本文整理了Java中org.hl7.fhir.dstu3.model.Identifier.setType()
方法的一些代码示例,展示了Identifier.setType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Identifier.setType()
方法的具体详情如下:
包路径:org.hl7.fhir.dstu3.model.Identifier
类名称:Identifier
方法名:setType
暂无
代码示例来源:origin: jamesagnew/hapi-fhir
public org.hl7.fhir.dstu3.model.Identifier convertIdentifier(org.hl7.fhir.instance.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu3.model.Identifier tgt = new org.hl7.fhir.dstu3.model.Identifier();
copyElement(src, tgt);
tgt.setUse(convertIdentifierUse(src.getUse()));
tgt.setType(convertCodeableConcept(src.getType()));
tgt.setSystem(src.getSystem());
tgt.setValue(src.getValue());
tgt.setPeriod(convertPeriod(src.getPeriod()));
tgt.setAssigner(convertReference(src.getAssigner()));
return tgt;
}
代码示例来源:origin: jamesagnew/hapi-fhir
public static org.hl7.fhir.dstu3.model.Identifier convertIdentifier(org.hl7.fhir.dstu2016may.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu3.model.Identifier tgt = new org.hl7.fhir.dstu3.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: org.hspconsortium.carewebframework/cwf-api-core
/**
* Sets the MRN criterion.
*
* @param mrn MRN.
*/
public void setMRN(String mrn) {
this.mrn = new Identifier();
this.mrn.setType(FhirTerminology.IDENT_MRN);
this.mrn.setValue(mrn);
}
代码示例来源:origin: org.hspconsortium.carewebframework/cwf-api-core
/**
* Sets the SSN criterion.
*
* @param ssn SSN.
*/
public void setSSN(String ssn) {
this.ssn = new Identifier();
this.ssn.setType(FhirTerminology.IDENT_SSN);
this.ssn.setValue(ssn);
}
代码示例来源:origin: org.hspconsortium.carewebframework/cwf-api-core
/**
* Sets the DEA criterion.
*
* @param dea DEA.
*/
public void setDEA(String dea) {
this.dea = new Identifier();
this.dea.setType(FhirTerminology.IDENT_DEA);
this.dea.setValue(dea);
}
代码示例来源:origin: org.hspconsortium.carewebframework/cwf-api-core
/**
* Sets the SSN criterion.
*
* @param ssn SSN.
*/
public void setSSN(String ssn) {
this.ssn = new Identifier();
this.ssn.setType(FhirTerminology.IDENT_SSN);
this.ssn.setValue(ssn);
}
代码示例来源:origin: jgperrin/net.jgp.labs.spark
@Override
public void call(Row r) throws Exception {
// Build the claim
// ---------------
// CLIENT_ID ....... 0
// CLIENT_SUB_ID ... 1
// CLAIM_SK ........ 2
// CLAIM_NBR ....... 3
// CLAIM_ADJ_CD,ADJ_FROM_CLAIM_SK,ADJ_FROM_CLAIM_NBR,ADJ_FROM_CLAIM_ADJ_NBR,CLAIM_STS_CD_SK,CLAIM_STS_CD,SYS_SUBSC_SK,SYS_SUBSC_ID,SYS_MBR_SK,SYS_MBR_ID,CLIENT_HIERARCHY_LVL1,CLIENT_HIERARCHY_LVL2,CLIENT_HIERARCHY_LVL3,CLIENT_HIERARCHY_LVL4,MBR_PCP_SK,MBR_PCP_NBR,PROV_SK,PROV_ID,PROV_TP_CD_SK,PROV_TP_CD,PAYEE_SK,PAYEE_ID,PAYEE_TIN,APPROVE_DAY_AMT,ACTUAL_DAY_AMT,CLAIM_BEG_SVC_DT,RECEIVE_DT,PAY_DT,DRG_CD_SK,DRG_CD,SUBMIT_DRG_CD_SK,SUBMIT_DRG_CD,BILL_CLASS_CD,FACILITY_TP_CD,HOSP_FREQ_CD,ADMIT_SRC_CD_SK,ADMIT_SRC_CD,ADMIT_TP_CD_SK,ADMIT_TP_CD,HOSP_ADMIT_DT,HOSP_ADMIT_HR,HOSP_DISCHARGE_DT,HOSP_DISCHARGE_HR,HOSP_DISCHARGE_STS_CD_SK,HOSP_DISCHARGE_STS_CD,ATTENDING_PROV_SK,ATTENDING_PROV_ID,PROV_ADDR_CD_SK,PROV_ADDR_CD,OOA_IND,EDI_REF_ID,CURRENT_IND,SENSTV_DRG_IND,CLIENT_SPECIFIC_TXT1,CLIENT_SPECIFIC_TXT2,CLIENT_SPECIFIC_TXT3,CLIENT_SPECIFIC_TXT4,CLIENT_SPECIFIC_TXT5,CLIENT_SPECIFIC_TXT6,CLIENT_SPECIFIC_TXT7,CLIENT_SPECIFIC_TXT8,CLIENT_SPECIFIC_TXT9,CLIENT_SPECIFIC_TXT10,REC_LOAD_DTTM,REC_LAST_UPD_DTTM,REC_DEL_IND,DRG_CODE_TP_CD,SUBMIT_DRG_CODE_TP_CD,QA_CURRENT_IND
CodeableConcept cc = new CodeableConcept();
cc.setUserData("value", r.getString(3)); // TODO check that this is how
// this valued is set here
Identifier i = new Identifier();
i.setUse(IdentifierUse.OFFICIAL);
i.setType(cc);
i.setSystem("Payer Specific Claim Number");
i.setValue(r.getAs("CLAIM_NBR"));
// TODO i.setAssigner(value);
List<Identifier> identifiers = new ArrayList<>();
identifiers.add(i);
Claim c = new Claim();
c.setIdentifier(identifiers);
// Process/send the claim
// ----------------------
// TODO
}
}
代码示例来源: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-converter
public org.hl7.fhir.dstu3.model.Identifier convertIdentifier(org.hl7.fhir.instance.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu3.model.Identifier tgt = new org.hl7.fhir.dstu3.model.Identifier();
copyElement(src, tgt);
tgt.setUse(convertIdentifierUse(src.getUse()));
tgt.setType(convertCodeableConcept(src.getType()));
tgt.setSystem(src.getSystem());
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 static org.hl7.fhir.dstu3.model.Identifier convertIdentifier(org.hl7.fhir.dstu2016may.model.Identifier src) throws FHIRException {
if (src == null || src.isEmpty())
return null;
org.hl7.fhir.dstu3.model.Identifier tgt = new org.hl7.fhir.dstu3.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: org.hspconsortium.carewebframework/cwf-api-core
patient1.getName().add(hnp.fromString(null, "Smith, Joe"));
Identifier ssn = new Identifier();
ssn.setType(FhirTerminology.IDENT_SSN);
ssn.setValue("999-99-9999");
patient1.getIdentifier().add(ssn);
patient2.getName().add(hnp.fromString(null, "Doe, Jane"));
Identifier ssn2 = new Identifier();
ssn2.setType(FhirTerminology.IDENT_SSN);
ssn2.setValue("123-45-6789");
patient2.getIdentifier().add(ssn2);
内容来源于网络,如有侵权,请联系作者删除!