本文整理汇总了Java中org.hl7.fhir.dstu3.model.Identifier类的典型用法代码示例。如果您正苦于以下问题:Java Identifier类的具体用法?Java Identifier怎么用?Java Identifier使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Identifier类属于org.hl7.fhir.dstu3.model包,在下文中一共展示了Identifier类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: newObservation
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
/**
* Returns a FHIR Observation for testing purposes.
*/
public static Observation newObservation() {
// Observation based on https://www.hl7.org/FHIR/observation-example-bloodpressure.json.html
Observation observation = new Observation();
observation.setId("blood-pressure");
Identifier identifier = observation.addIdentifier();
identifier.setSystem("urn:ietf:rfc:3986");
identifier.setValue("urn:uuid:187e0c12-8dd2-67e2-99b2-bf273c878281");
observation.setStatus(Observation.ObservationStatus.FINAL);
Quantity quantity = new Quantity();
quantity.setValue(new java.math.BigDecimal("123.45"));
quantity.setUnit("mm[Hg]");
observation.setValue(quantity);
return observation;
}
开发者ID:cerner,项目名称:bunsen,代码行数:24,代码来源:TestData.java
示例2: testSearchConsent
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
/**
* Test method for
* {@link org.iexhub.services.JaxRsConsentRestProvider#search\(@IdParam
* final IdDt id)}.
*/
@Test
public void testSearchConsent() {
try {
Logger logger = LoggerFactory.getLogger(ConsentDstu3Test.class);
LoggingInterceptor loggingInterceptor = new LoggingInterceptor();
loggingInterceptor.setLogRequestSummary(true);
loggingInterceptor.setLogRequestBody(true);
loggingInterceptor.setLogger(logger);
IGenericClient client = ctxt.newRestfulGenericClient(serverBaseUrl);
client.registerInterceptor(loggingInterceptor);
Identifier searchParam = new Identifier();
searchParam.setSystem(iExHubDomainOid).setValue(defaultPatientId);
Bundle response = client
.search()
.forResource(Consent.class)
.where(Patient.IDENTIFIER.exactly().identifier(searchParam.getId()))
.returnBundle(Bundle.class).execute();
assertTrue("Error - unexpected return value for testSearchConsent", response != null);
} catch (Exception e) {
fail(e.getMessage());
}
}
开发者ID:bhits,项目名称:iexhub,代码行数:32,代码来源:ConsentDstu3Test.java
示例3: createContainedDeviceUdiReference
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
/**
* Create a Device resource based on scanned UDI carrier string
* http://www.fda.gov/downloads/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/GlobalUDIDatabaseGUDID/UCM396595.doc
* @param id
* @param uidCarrierString
* @return Device
*/
private Device createContainedDeviceUdiReference(String id, String uidCarrierString) {
Device testDevice = new Device();
//testDevice.setId(id);
Identifier udiCarrierIdentifier = new Identifier();
udiCarrierIdentifier.setSystem("http://hl7.org/fhir/NamingSystem/fda-udi").setValue(uidCarrierString);
testDevice.setUdiCarrier(udiCarrierIdentifier).getType().getCodingFirstRep().setDisplay("UDI")
.setSystem("http://hl7.org/fhir/identifier-type").setCode("UDI");
return testDevice;
}
开发者ID:bhits,项目名称:iexhub,代码行数:18,代码来源:VitalSignsMonitoringProcedureStu3Test.java
示例4: getIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public List<Identifier> getIdentifier()
{
try
{
return adaptedClass.getIdentifier();
}
catch (Exception e)
{
throw new RuntimeException("Error getting Identifier", e);
}
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:12,代码来源:qicoremedicationrequestAdapter.java
示例5: extractNpiFromFhirProviderResource
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
@Override
public String extractNpiFromFhirProviderResource(DomainResource providerResource) throws ConsentGenException {
ResourceType providerResourceType = providerResource.getResourceType();
String providerNpi;
if (providerResourceType == ResourceType.Organization) {
Organization providerOrgResource = (Organization) providerResource;
providerNpi = providerOrgResource.getIdentifier().stream()
.filter(i -> (i.hasSystem()) && (i.getSystem().equalsIgnoreCase(PROVIDER_ID_CODE_SYSTEM)))
.findFirst()
.map(Identifier::getValue)
.orElseThrow(() ->
new ConsentGenException("Unable to find a provider identifier in the FHIR consent which is under the code system " + PROVIDER_ID_CODE_SYSTEM)
);
} else if (providerResourceType == ResourceType.Practitioner) {
Practitioner providerIndvResource = (Practitioner) providerResource;
providerNpi = providerIndvResource.getIdentifier().stream()
.filter(i -> (i.hasSystem()) && (i.getSystem().equalsIgnoreCase(PROVIDER_ID_CODE_SYSTEM)))
.findFirst()
.map(Identifier::getValue)
.orElseThrow(() ->
new ConsentGenException("Unable to find a provider identifier in the FHIR consent which is under the code system " + PROVIDER_ID_CODE_SYSTEM)
);
} else {
throw new ConsentGenException("Invalid provider resource type passed to extractNpiFromFhirProviderResource; ResourceType of providerResource must be either 'Organization' or 'Practitioner'");
}
return providerNpi;
}
开发者ID:bhits,项目名称:common-libraries,代码行数:32,代码来源:ConsentBuilderImpl.java
示例6: call
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
@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
}
开发者ID:jgperrin,项目名称:net.jgp.labs.spark,代码行数:33,代码来源:ClaimProcessApp.java
示例7: getUdiCarrier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Identifier getUdiCarrier()
{
try
{
return adaptedClass.getUdiCarrier();
}
catch (Exception e)
{
throw new RuntimeException("Error getting UdiCarrier", e);
}
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:12,代码来源:qicoredeviceAdapter.java
示例8: getRequisition
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Identifier getRequisition()
{
try
{
return adaptedClass.getRequisition();
}
catch (Exception e)
{
throw new RuntimeException("Error getting Requisition", e);
}
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:12,代码来源:qicorediagnosticrequestAdapter.java
示例9: getAccessionIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Identifier getAccessionIdentifier()
{
try
{
return adaptedClass.getAccessionIdentifier();
}
catch (Exception e)
{
throw new RuntimeException("Error getting AccessionIdentifier", e);
}
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:12,代码来源:qicorespecimenAdapter.java
示例10: getIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Identifier getIdentifier()
{
try
{
return adaptedClass.getIdentifier();
}
catch (Exception e)
{
throw new RuntimeException("Error getting Identifier", e);
}
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:12,代码来源:qicoremedicationdispenseAdapter.java
示例11: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public qicorespecimenContainerAdapter setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicorespecimenContainerAdapter.java
示例12: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicorerelatedperson setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicorerelatedpersonAdapter.java
示例13: buildUse
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public IdentifierBuilder buildUse(String use) throws FHIRException {
complexProperty.setUse(Identifier.IdentifierUse.fromCode(use));
return this;
}
开发者ID:DBCG,项目名称:cqf-ruler,代码行数:5,代码来源:IdentifierBuilder.java
示例14: addIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Identifier addIdentifier()
{
return adaptedClass.addIdentifier();
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:5,代码来源:qicoreadverseeventAdapter.java
示例15: IdentifierBuilder
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public IdentifierBuilder() {
super(new Identifier());
}
开发者ID:DBCG,项目名称:cqf-ruler,代码行数:4,代码来源:IdentifierBuilder.java
示例16: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicoreorganization setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicoreorganizationAdapter.java
示例17: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicoremedicationstatement setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicoremedicationstatementAdapter.java
示例18: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicorereferralrequest setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicorereferralrequestAdapter.java
示例19: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicoreadverseevent setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicoreadverseeventAdapter.java
示例20: setIdentifier
import org.hl7.fhir.dstu3.model.Identifier; //导入依赖的package包/类
public Iqicoregoal setIdentifier(List<Identifier> param)
{
adaptedClass.setIdentifier(param);
return this;
}
开发者ID:cqframework,项目名称:qicore_model,代码行数:6,代码来源:qicoregoalAdapter.java
注:本文中的org.hl7.fhir.dstu3.model.Identifier类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论