The additional parameters for loading and sorting lookup items.
Lookup Kind | Parameter Name | Possible Values | Description |
edkdCustomLookup edkdCustomLookupAdditional | Sort Mode | 'Default', 'None', 'ByCode', 'ByDescription', 'ByID' | The conditions for lookup sorting |
edkdLookupProvider | Categories | 'Organisation', 'Provider', 'POS', 'User', 'Resource', 'Patient', 'ExtProvider', 'ExtPOS' | The condition is used for limitation of PPPU loading by the category |
edkdLookupProvider | BusinessUnit | 'Current' | The condition is used for limitation of PPPU loading - only those related to the selected Business Unit |
edkdLookupDiseaseCode | Reason | 'DiseaseCode', 'AdverseReaction', 'EncounterCause', 'EncounterProperties', 'ACCRead', 'CaseAlert', 'ProcedureCode' | This condition is used for lookup limitation by the specified reason |
edkdLookupDiseaseCode | Termset | The name of the termset | This condition is used for lookup limitation by the specified termset. When this parameter is defined, the parameter 'Area' will be set to 'Termset' automatically |
edkdLookupDiseaseCode | Area | 'DiseaseCodes', 'Termsets', 'Formulary', 'All', 'ProcedureCodes' | The search area for the specified lookup |
edkdLookupExtProvider | TYPE | The code of the child concept for the concept IH191 (IH Termset) | The concept code of the external provider type |
edkdLookupExtProvider | SPECIALTY | The code of the child concept for the specified concept for external provider type (the second level of child concepts for the concept IH191 (IH Termset)) | The concept code of the external provider speciality |
edkdLookupExtProvider | USETYPEANDSPECIALTYBYDEFAULT | 'T' or 'TRUE' | Allows to use external provider type and speciality in search dialog |
edkdLookupExtProvider | ONLYACTIVE | 'T' or 'TRUE' | Allows to select only active external providers |
edkdLookupShortCode | ID of the Short Code Category | The integer value from TSShortCodeCategory | The integer identifier of the short code category |
edkdLookupShortCode | Name or Translated Name of the Short Code Category | The name of the short code category that can be found in Maintain/Short Codes/Type List | The string name of the short code category |
edkdLookupService | Category | The code of the short code from the category 'Service Category' (bscServiceCategory) | The code of the short code |
edkdLookupReferral | PatientID | 'Current' | This condition indicates that the current patient will be used for search |
edkdLookupReferral | PatientID | Integer value of the patient Id | The Id of the patient which will be used for search |
edkdLookupReferral | CaseID | 'Current' | This condition indicates that the current patient case will be used for search |
edkdLookupReferral | CaseID | The integer value of the patient case Id | The Id of the patient case which will be used for search |
edkdLookupReferral | ReferralType | 'Out', 'In', 'Int' | The type of the referral |
edkdLookupReferral | ReferralStatus | 'Unknown', 'Open', 'Closed' | The status of the referral |
edkdLookupReferral | IncludeProviderIDInDescription | 'T' or 'TRUE' | Allows to include provider identifier in the visible referral description |
object.LookupStrParams
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISEdit interface |
string
Initialize the edit control by the custom lookup array and LookupStrParams.
Sub Main()
Dim aEdit
Dim aFilter
Dim aProviders, aProvider
Dim aLookupArray
Set aEdit = Form.Controls_("edtInform")
set aFilter = Profile.CreateProvidersFilter
aFilter.Category = 2 'pcProvider
set aProviders = Profile.LoadProvidersByFilter(aFilter)
ReDim aLookupArray(aProviders.Count, 2)
for i = 0 to aProviders.Count - 1
set aProvider = aProviders.Item(i)
aLookupArray(i, 0) = aProvider.Id
aLookupArray(i, 1) = aProvider.FullName
next 'i
aEdit.LookupArray = aLookupArray
aEdit.LookupStrParams = "SortMode=ById"
End Sub
In Profile Client v8 on User Interface LookupStrParams can be found in
.