本文整理汇总了Java中org.marc.everest.datatypes.generic.IVL.setLow方法的典型用法代码示例。如果您正苦于以下问题:Java IVL.setLow方法的具体用法?Java IVL.setLow怎么用?Java IVL.setLow使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.marc.everest.datatypes.generic.IVL
的用法示例。
在下文中一共展示了IVL.setLow方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setEffectiveTime
import org.marc.everest.datatypes.generic.IVL; //导入方法依赖的package包/类
private void setEffectiveTime() {
IVL<TS> ivl = new IVL<TS>();
TS startTime = EverestUtils.buildTSFromDate(allergy.getEntryDate());
if(startTime != null) {
ivl.setLow(startTime);
} else {
ivl.setNullFlavor(NullFlavor.Unknown);
}
this.effectiveTime = ivl;
}
示例2: getOnsetDate
import org.marc.everest.datatypes.generic.IVL; //导入方法依赖的package包/类
protected IVL<TS> getOnsetDate() {
IVL<TS> ivl = new IVL<TS>();
TS startTime = EverestUtils.buildTSFromDate(allergy.getStartDate());
if(startTime != null) {
ivl.setLow(startTime);
} else {
ivl.setNullFlavor(NullFlavor.Unknown);
}
return ivl;
}
示例3: setEffectiveTime
import org.marc.everest.datatypes.generic.IVL; //导入方法依赖的package包/类
private void setEffectiveTime() {
IVL<TS> ivl = new IVL<TS>();
TS startTime = EverestUtils.buildTSFromDate(familyHistory.getFamilyHistory().getObservation_date());
if(startTime != null) {
ivl.setLow(startTime);
} else {
ivl.setNullFlavor(NullFlavor.NoInformation);
}
this.effectiveTime = ivl;
}
示例4: setEffectiveTime
import org.marc.everest.datatypes.generic.IVL; //导入方法依赖的package包/类
private void setEffectiveTime() {
IVL<TS> ivl = new IVL<TS>();
TS startTime = EverestUtils.buildTSFromDate(alert.getObservation_date());
if(startTime != null) {
ivl.setLow(startTime);
} else {
ivl.setNullFlavor(NullFlavor.NoInformation);
}
this.effectiveTime = ivl;
}
示例5: getEntryRelationship
import org.marc.everest.datatypes.generic.IVL; //导入方法依赖的package包/类
public EntryRelationship getEntryRelationship(String reason, Date time, String author) {
if(!EverestUtils.isNullorEmptyorWhitespace(reason)) {
entryRelationship.setTypeCode(x_ActRelationshipEntryRelationship.SUBJ);
entryRelationship.setContextConductionInd(true);
entryRelationship.setTemplateId(Arrays.asList(new II(Constants.ObservationOids.REASON_OBSERVATION_TEMPLATE_ID)));
observation.setMoodCode(x_ActMoodDocumentObservation.Eventoccurrence);
observation.getCode().setCodeEx(Constants.ObservationType.REASON.toString());
observation.setText(new ED(reason));
SET<II> id = new SET<II>();
id.setNullFlavor(NullFlavor.NoInformation);
observation.setId(id);
IVL<TS> ivl = new IVL<TS>();
if(time != null) {
ivl.setLow(EverestUtils.buildTSFromDate(time));
} else {
ivl.setNullFlavor(NullFlavor.NoInformation);
}
observation.setEffectiveTime(ivl);
CD<String> value = new CD<String>();
value.setNullFlavor(NullFlavor.NoInformation);
observation.setValue(value);
if(!EverestUtils.isNullorEmptyorWhitespace(author)) {
observation.setAuthor(new ArrayList<Author>(Arrays.asList(new AuthorParticipationModel(author).getAuthor(time))));
}
} else {
entryRelationship = null;
}
return entryRelationship;
}