本文整理汇总了Java中org.oscarehr.common.model.Drug.setHideFromDrugProfile方法的典型用法代码示例。如果您正苦于以下问题:Java Drug.setHideFromDrugProfile方法的具体用法?Java Drug.setHideFromDrugProfile怎么用?Java Drug.setHideFromDrugProfile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.oscarehr.common.model.Drug
的用法示例。
在下文中一共展示了Drug.setHideFromDrugProfile方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDrug
import org.oscarehr.common.model.Drug; //导入方法依赖的package包/类
Drug getDrug(String providerNo, Integer demographicId, Date rxDate,Date endDate,Date writtenDate,String brandName,int gcnSeqNo, String customName,float takeMin,float takeMax,String freqCode,
String duration,String durUnit,String quantity, Integer repeat, boolean noSubs, boolean prn,String special,String special_instruction,String genericName,String atc,Integer scriptNo,String regionalIdentifier,
String unit,String method,String route,String drugForm, Date createDate,String dosage,boolean customInstructions,String unitName,Boolean longTerm,Boolean pastMed, Boolean patientCompliance,String outsideProviderName,
String outsideProviderOhip ,Boolean hideFromDrugProfile, Boolean customNote){
Drug drug = new Drug();
drug.setProviderNo(providerNo);
drug.setDemographicId(demographicId);
drug.setRxDate(rxDate);
drug.setEndDate(endDate);
drug.setWrittenDate(writtenDate);
drug.setBrandName(brandName);
drug.setGcnSeqNo(gcnSeqNo);
drug.setCustomName(customName);
drug.setTakeMin(takeMin);
drug.setTakeMax(takeMax);
drug.setFreqCode(freqCode);
drug.setDuration(duration);
drug.setDurUnit(durUnit);
drug.setQuantity(quantity);
drug.setRepeat(repeat);
drug.setNoSubs(noSubs);
drug.setPrn(prn);
drug.setSpecial(special);
drug.setSpecialInstruction(special_instruction);
drug.setGenericName(genericName);
drug.setAtc(atc);
drug.setScriptNo(scriptNo);
drug.setRegionalIdentifier(regionalIdentifier);
drug.setUnit(unit);
drug.setMethod(method);
drug.setRoute(route);
drug.setDrugForm(drugForm);
drug.setCreateDate(createDate);
drug.setDosage(dosage);
drug.setCustomInstructions(customInstructions);
drug.setUnitName(unitName);
drug.setLongTerm(longTerm);
drug.setPastMed(pastMed);
drug.setPatientCompliance(patientCompliance);
drug.setOutsideProviderName(outsideProviderName);
drug.setOutsideProviderOhip(outsideProviderOhip);
drug.setHideFromDrugProfile(hideFromDrugProfile);
drug.setCustomNote(customNote);
drug.setPosition(0);
return drug;
}