for the mapping relationship between service data flow and QCI/bearer, it should/might be defined by upper layer(e.g. application layer) in the UE.
But in most cases, dedicate bearer establishment is triggered by network. It is described in 3GPP 23.401
5.4 Session Management, QoS and interaction with PCC functionality