API browser of labValidator100 COM module

/images/arrow_right.png ILabValidator::RoleType property
Get and Set the role who provides the service.

Please note, that it is of uttermost importance to set a role at the beginning, because the rule space for all services of chapter D "General Services" as well as the "visible" service space depends on that role/place!

The following list defines the role/place parameters for the acceptable lab service providers:

Professional lab   enRoleLabTechnician@enPlaceLab
Hospital lab   enRoleHospital@enPlaceHospital
Physician in a practice   enRolePhysician@enPlacePractice
Pharmacist in a pharmacy   enRolePharmacist@any_place_except_hospital
Chiropractor in a practice   enRoleChiropractor@any_place_except_hospital
Midwife outside a hospital   enRoleMidwife@any_place_except_hospital

Please note, that enRolePhysician@enPlacePractice is used as default if nothing is defined!
/images/arrow_right.png C/C++ calling syntax
[get] HRESULT RoleType( RoleType *aRoleType);
[put] HRESULT RoleType( RoleType aRoleType);
/images/arrow_right.png Calling argument description
[out,retval] RoleType *aRoleType
[in] RoleType aRoleType
/images/arrow_right.png C/C++ return value
S_OK This value is returned if the function call was successful.
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.
/images/arrow_right.png Remarks
If SmartPointers are used than the function names and calls are rewritten by Microsoft into the form space