Skip to main content

Patient Management Catalog Events

List of Catalogs

CatalogDescription
HCW CatalogCatalog representing values for Healthcare Worker.
Patient CatalogCatalog representing values for Patient.


"Required Catalog Fields"

Some catalog fields can be marked as optional below but may be required for your app. Please refer to your integration notes to verify which fields are required for your use-case.

HCW Catalog

Below are the Healthcare Worker (HCW) Catalog values.

Format

ParamUsabilityFormatDescription
nameOPTIONALSTRINGName of the hcw, provided by the partner.
roleOPTIONALSTRINGRole assigned to the hcw.
site_id_listOPTIONALARRAY (STRING)Id for the sites assigned to the hcw
supervisor_id_listOPTIONALARRAY (STRING)Ids of the hcw supervisors attached to the hce profile.

Usage

     val hcwCatalogModel = HcwCatalogModel(
name = "John Doe",
role = "Provider",
siteIdList = listOf("item1", "item1")
)

CFPatientMgmtEvent.logCatalog(
patientMgmtCatalogType = PatientMgmtCatalogSubject.UserHcw,
Common.testUserId,
catalogModel = hcwCatalogModel
)


Patient Catalog

Below are the Patient Catalog values.

Format

ParamUsabilityFormatDescription
countryOPTIONALSTRINGCountry in which the patient is at.
region_stateOPTIONALSTRINGRegion or State in which the patient is at.
cityOPTIONALSTRINGCity in which the patient is at.
professionOPTIONALSTRINGProfession in which the patient is at.
education_levelOPTIONALSTRINGEducation_level of the patient.
site_id_listOPTIONALARRAY (STRING)Sites list that are visited by the patient.
insurance_idOPTIONALSTRINGInsurance Id of the patient.
insurance_typeOPTIONALSTRINGInsurance Type of the patient.
insurance_statusOPTIONALBOOLEANIf the insurance is active for the patient.
landmarkOPTIONALSTRINGAny landmark nearby patient.
phone_number_categoryOPTIONALSTRINGPhone number category of the patient.
program_idOPTIONALSTRINGId for the program the patient is enrolled in.
family_idOPTIONALSTRINGId for the family the patient is enrolled in.
hw_id_listOPTIONALARRAY (STRING)Hcw Id list assigned to the patient.
buddy_id_listOPTIONALARRAY (STRING)Id for the buddies (other patients on the program) the patient is enrolled in.
transport_modeOPTIONALSTRINGTransport mode used by the patient.
marital_statusOPTIONALSTRINGMarital Status of the patient.
employment_statusOPTIONALSTRINGEmployment Status of the patient.
nationalityOPTIONALSTRINGNationality of the patient.
has_whatsappOPTIONALBOOLEANIf the Patient has provided their whatsapp number in the program.
has_emailOPTIONALBOOLEANIf the Patient has provided their email in the program.

Usage

     val patientCatalog = PatientCatalogModel(
country = CountryCode.Spain.toString(),
regionState = "Barcelona",
city = "Barcelona",
profession = "HCW",
educationLevel = EducationalLevel.Bachelors.toString(),
siteIdList = listOf("item1", "item1"),
insuranceId = null,
insuranceType = null,
insuranceStatus = null,
landmark = "Some landmark",
phoneNumberCategory = null,
programId = "some Program Id"
)

CFPatientMgmtEvent.logCatalog(
patientMgmtCatalogType = PatientMgmtCatalogSubject.Patient,
"samplePatientId",
catalogModel = patientCatalog
)