Skip to main content

Geowidget configuration

Configurations used to configure map view. FHIR Core uses a mapbox generated UI to position households in a map depending on the location of the household.

info

There can be multiple instances of this configuration type in the application; each should have a unique id.

Sample JSON

{
"appId": "map",
"id": "householdRegistrationMap",
"configType": "geoWidget",
"profileId": "householdProfile",
"registrationQuestionnaire": {
"id": "82952-geowidget",
"title": "{{add.family}}",
"saveButtonText": "ADD FAMILY",
"setPractitionerDetails": true,
"setOrganizationDetails": true
}
}

Config properties

PropertyDescriptionRequiredDefault
appIdUnique identifier for the applicationYes
configTypeType of configurationYesgeoWidget
idA unique identifier for this multi-config typeYes
profileIdThe identifier for the profile to be opened when a point on the map (representing a household) is clickedYes
registrationQuestionnaireConfiguration for the register questionnaireYes