Skip to main content
Version: Next

master_data_module


masterData : {

common: {
kvnr_no : 12344
config : {
}
},

clarimedis <plugin_id> : {
accessible: ['plugin2', 'plugin-id'],
"insur_name : 12122

},
plugin_2 <plugin_id> : {
accessible: ['clarimedis', 'plugin-id'],
"insur_namekvnr : 12122

},

accestoken : {
accessible: ['network']
"acesstoken : " awsdeadadadawsd"

}


}



user_master_data :
{
selected_aok: aok_plus ,
onboarded: true ,
loggedIn: false,
kvnr_no: null,
health_history: [
{1. },
{2. }
{3. }
]
appointments: [
video_consult: {
date: 12-03-2023: 5:30 PM
doctor: Arjun
speciality:
deeplink: navida://videoconsult/appointments/<appointment0-id>
}
]
consents: []
favouties: []

}

application_master_data : {
envConfig: {},
aokConfig: {},
pluginConfig ,

}

userMasterData:
{

}

plugin_config :
{
plugin_id: {
.
.
.
.
.

}
}


oc_master_Data_provider.get(clarimedis, access, accesstoken) -> ""

lazy loading of plugin , if the section data is not available . And the getter and setter should be refined to be more type casted . PLugin should not do any typecasting or exception handling fot the get and set.