|
|
@ -108,7 +108,12 @@ namespace Shentun.Peis.Asbitems |
|
|
//IsDisablePregnancy = entity.IsDisablePregnancy,
|
|
|
//IsDisablePregnancy = entity.IsDisablePregnancy,
|
|
|
//IsDisablePreparePregnancy = entity.IsDisablePreparePregnancy,
|
|
|
//IsDisablePreparePregnancy = entity.IsDisablePreparePregnancy,
|
|
|
MaritalStatusId = entity.MaritalStatusId, |
|
|
MaritalStatusId = entity.MaritalStatusId, |
|
|
ForPregnantFlag = entity.ForPregnantFlag |
|
|
|
|
|
|
|
|
ForPregnantFlag = entity.ForPregnantFlag, |
|
|
|
|
|
IsCriticalValueFunction = entity.IsCriticalValueFunction, |
|
|
|
|
|
IsFollowUpFunction = entity.IsFollowUpFunction, |
|
|
|
|
|
CriticalValueFunction = entity.CriticalValueFunction, |
|
|
|
|
|
FollowUpFunction = entity.FollowUpFunction, |
|
|
|
|
|
IsPrivacy = entity.IsPrivacy |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
@ -157,7 +162,11 @@ namespace Shentun.Peis.Asbitems |
|
|
//targetEntity.IsDisablePreparePregnancy = sourceEntity.IsDisablePreparePregnancy;
|
|
|
//targetEntity.IsDisablePreparePregnancy = sourceEntity.IsDisablePreparePregnancy;
|
|
|
targetEntity.MaritalStatusId = sourceEntity.MaritalStatusId; |
|
|
targetEntity.MaritalStatusId = sourceEntity.MaritalStatusId; |
|
|
targetEntity.ForPregnantFlag = sourceEntity.ForPregnantFlag; |
|
|
targetEntity.ForPregnantFlag = sourceEntity.ForPregnantFlag; |
|
|
|
|
|
|
|
|
|
|
|
targetEntity.IsCriticalValueFunction = sourceEntity.IsCriticalValueFunction; |
|
|
|
|
|
targetEntity.IsFollowUpFunction = sourceEntity.IsFollowUpFunction; |
|
|
|
|
|
targetEntity.CriticalValueFunction = sourceEntity.CriticalValueFunction; |
|
|
|
|
|
targetEntity.FollowUpFunction = sourceEntity.FollowUpFunction; |
|
|
|
|
|
targetEntity.IsPrivacy = sourceEntity.IsPrivacy; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -191,6 +200,9 @@ namespace Shentun.Peis.Asbitems |
|
|
{ |
|
|
{ |
|
|
throw new ArgumentException($"BarcodeMode参数为:{entity.BarcodeMode},是无效值,只能为{BarcodeModeFlag.UsingItemType},{BarcodeModeFlag.PrintPatientRegisterNumber},{BarcodeModeFlag.NoPrint}"); |
|
|
throw new ArgumentException($"BarcodeMode参数为:{entity.BarcodeMode},是无效值,只能为{BarcodeModeFlag.UsingItemType},{BarcodeModeFlag.PrintPatientRegisterNumber},{BarcodeModeFlag.NoPrint}"); |
|
|
} |
|
|
} |
|
|
|
|
|
DataHelper.CheckCharIsYOrN(entity.IsPrivacy, "是否隐私项目"); |
|
|
|
|
|
DataHelper.CheckCharIsYOrN(entity.IsCriticalValueFunction, "是否启用危急值函数"); |
|
|
|
|
|
DataHelper.CheckCharIsYOrN(entity.IsFollowUpFunction, "是否启用随访函数"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|