FHIRListBinding

.r4. FHIRListBinding

List binding implementation for the FHIRModel

Constructor

new FHIRListBinding(oModel, sPath, oContextopt, aSortersopt, aFiltersopt, mParametersopt)

Constructor for a new FHIRListBinding

Version:
  • 2.4.0
Since:
  • 1.0.0
Author:
  • SAP SE
Source:
Parameters:
Name Type Attributes Description
oModel sap.fhir.model.r4.FHIRModel

The FHIRModel

sPath string

The binding path in the model

oContext sap.fhir.model.r4.Context <optional>

The parent context which is required as base for a relative path

aSorters sap.ui.model.Sorter | Array.<sap.ui.model.Sorter> <optional>

The dynamic sorters to be used initially (can be either a sorter or an array of sorters)

aFilters sap.ui.model.Filter | Array.<sap.ui.model.Filter> <optional>

The dynamic application filters to be used initially (can be either a filter or an array of filters)

mParameters object <optional>

The map which contains additional parameters for the binding

Name Type Attributes Default Description
groupId string <optional>

The group id

operationMode sap.fhir.model.r4.OperationMode <optional>

The operation mode, how to handle operations like filtering and sorting

valueSetLookupInStructureDefinition string <optional>
true

If the list binding should trigger an automatic call of the structuredefinition to get the valueset behind the property

request string <optional>

The parameters which will be passed with the request as url parameters, Note: any additional url parameters can be mentioned as new key/value pairs

Name Type Attributes Description
_include string <optional>

The _include parameter, e.g. in a list which is bind to '/Patient' it's possible to include 'Coverage:payor'

_revinclude string <optional>

The _revinclude parameter, e.g. in a list which is bind to '/Practitioner' it's possible to reverse include 'PractitionerRole:practitioner'

url string <optional>

The url parameter, adds the given url as a search parameter to the request

Extends

  • sap.ui.model.ListBinding

Methods

filter(aFiltersopt, sFilterType)

Filters the actual list binding depending on the given aFilters

Since:
  • 1.0.0
Source:
Parameters:
Name Type Attributes Description
aFilters Array.<sap.ui.model.Filter> <optional>

The filters defined for the list binding

sFilterType sap.ui.model.FilterType

Type of the filter which should be adjusted, if it is not given, the standard behaviour applies

getFilters() → {Array.<sap.ui.model.Filter>}

Determines the actual filters of the list binding

Since:
  • 1.0.0
Source:
Returns:
Type:
Array.<sap.ui.model.Filter>

The array containing the actual filters

getLength() → {number}

Determines the number of entities contained by the actual list binding

Since:
  • 1.0.0
Source:
Returns:
Type:
number

The number of entities contained by the current list binding

getSorters() → {Array.<sap.ui.model.Sorter>}

Determines the actual sorters of the list binding

Since:
  • 1.0.0
Source:
Returns:
Type:
Array.<sap.ui.model.Sorter>

The array containing the actual sorters

refresh(sChangeReason)

Refreshes the list binding

Since:
  • 1.0.0
Source:
Parameters:
Name Type Description
sChangeReason sap.ui.model.ChangeReason

The reason for refreshing the binding

sort(aSorters, bRefresh)

Sorts the actual list binding based on the given aSorters

Since:
  • 1.0.0
Source:
Parameters:
Name Type Description
aSorters Array.<sap.ui.model.Sorter>

The sorters defined for the list binding

bRefresh boolean

If the binding should directly send a call or wait for the filters, for p13ndialog

Type Definitions

Parameter

Properties:
Name Type Attributes Description
urlParameters object <optional>

The parameters that will be passed as query strings

Since:
  • 1.0.0
Source:
Type:
  • object