SQL-029: Insert Provider M C O Membership
Inserts a new provider m c o membership record into Oracle.
Classification
| Field |
Value |
| SQL ID |
SQL-029 |
| Operation type |
Create |
| Execution method |
Inline |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsProviderMCOMembership |
| Criteria property |
InsertSQL |
| Lifecycle method |
BeforeInsert |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
| :NewPatientsFlag |
Input |
String |
1 |
Value from NewPatientsFlag |
| :DirectoryFlag |
Input |
String |
1 |
Value from DirectoryFlag |
| :AdminFeeFlag |
Input |
String |
1 |
Value from AdminFeeFlag |
| :ExpDate |
Input |
clsSmartDate |
N/A |
Value from m_ExpDate |
| :AdminFeeRate |
Input |
clsSmartDecimal |
N/A |
Value from m_AdminFeeRate |
| :RatePtOtSt |
Input |
clsSmartDecimal |
N/A |
Value from m_RatePtOtSt |
| :RateRad |
Input |
clsSmartDecimal |
N/A |
Value from m_RateRad |
| :RateWcCtc |
Input |
clsSmartDecimal |
N/A |
Value from m_RateWcCtc |
| :RateAsc |
Input |
clsSmartDecimal |
N/A |
Value from m_RateAsc |
| :UpdateUser |
Input |
String |
30 |
Value from UpdateUser |
| :UpdateNum |
Input |
Decimal |
N/A |
Value from UpdateNum |
| :UpdateDate |
Input |
Date |
N/A |
Value from UpdateDate |
| :ProviderLocationSeqNum |
Input |
Decimal |
N/A |
Value from ProviderLocationSeqNum |
| :MCOPlanID |
Input |
String |
2 |
Value from MCOPlanID |
| :EffDate |
Input |
Date |
N/A |
Value from EffDate |
| :mcoProviderSeqNumber |
Input |
Decimal |
N/A |
Value from m_membershipSecNum |
Tables
| Table |
Access |
Columns used |
| MCO_PROVIDER |
INSERT |
See business-object criteria for key columns. |
Sample SQL
Insert into MCO_PROVIDER ( MCO_PLAN_ID, PROVIDER_LOCATION_SEQ_NUM, EFF_DATE, EXP_DATE, NEW_PATIENTS_FLAG, DIRECTORY_FLAG, ADMIN_FEE_RATE, ADMIN_FEE_FLAG, UPDATE_USER, UPDATE_NUM, UPDATE_DATE,MCO_PROVIDER_SEQ_NUM,RATE_PT_OT_ST,RATE_RAD,RATE_WC_CTC,RATE_ASC ) Values ( :MCOPlanID, :ProviderLocationSeqNum, :EffDate, :ExpDate, :NewPatientsFlag, :DirectoryFlag, :AdminFeeRate, :AdminFeeFlag, :UpdateUser, :UpdateNum, :UpdateDate,:mcoProviderSeqNumber,:RatePtOtSt, :RateRad,:RateWcCtc,:RateAsc)
Note: Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources
Business\SAIF.Business.Provider\clsProviderMCOMembership.vb