optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Actsreg, actscas, actscom now only have insertive acts in them #1892

Closed kelvinburke closed 1 year ago

kelvinburke commented 1 year ago

Finished version of https://github.com/optimamodel/optima/pull/1891

Adds a migration so that results using previous parsets are not changed - only changed a small amount by the PMTCT changes if you are using 2.12.0 or later. Only uses the new directional partnerships if you recreate the parset from the data - pars['actsreg'].insertiveonly is the attribute which determines whether the old or new behaviour.

Directionality in the Partnerships matrices is now observed. If both directions are put in the matrix then the ratio of the two directions in the matrix gives the ratio of the insertive acts.

Plus relhivbirth only applies to diagnosed mothers with HIV, not all PLHIV, and not those diagnosed by ANC