Subscription and Opt-Out

 

Sample json document:

{

 "mha":"1”, 

 "swt":"1”,

 "dmsisdn":"+27837887673”,

 "cmsisdn":"+27837887673”,

 "id":"0012231234567^^^ZAF^NI”, 

 "type":"1”, 

 "lang":"eng”, 

 "encdate":”20140406140112”,

 “faccode":”123456”, 

 “dob”:”19900101”,

 “optoutreason”:”1”

}

 

mha:   please add a row if your mobile health application (organisation) does not exist in the table below

1Preakelt Foundation
2cell-life

 

swt:    please add a row if yoursoft ware type id does not exist in the table below

1VUMI USSD
2VUMI SMS
3(cell-life software name)

 

dmsisdn:          device cellphone number

cmsisdn:           client cellphone number

id:                     patient identifier (in the same format as specified in registration encounter)

type:                 Message type    1: public subscription, 2: chw identification, 3: clinic registration, 4: opt-out

lang:                 3 character iso language code

encdate:           encounter date with second granularity

faccode:           6 digit facility code to be included wherever it is available

dob:   date of birth with day granularity (Please note DOB field is added in this specification)

optoutreason:  OPTIONAL This field is optional and only valid for opt-out messages (type = 4)