Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

These are the kind of entities that would be there in an OpenSRP application. Currently according to drishti(previous version of OpenSRP) there were three fixed bindtypes :

eligible_couple, mother, child.

OpenSRP would allow adding any named bindtypes which are not same as name of drishti bindtypes. These can be added with bindtypes.json (found in the 'assets' folder in the app)

{

   "bindobjects":

[

   {

     "name": "person",

     "columns" : [ {"name": "age"}]

   },

   {

     "name": "mamoni_pregnant_woman",

     "columns" : [ {"name":"pregID"},{"name":"PW_AGE"}]

   },{

           "name": "household",

           "columns" : [ ]

         },

         {

           "name": "eligible_couple",

           "columns" : [ ]

         }

]

}

Above is what a sample bindtype.json would look like. The name would be the name we would like to give to the bindtypes. The columns is the list of columns, the bindtypes would have in the database. This is optional and can be kept empty if desired as shown in the example.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.