Skip to main content

Table 2 Sample table showing data processing rules for message and error reports

From: One country's journey to interoperability: Tanzania's experience developing and implementing a national health information exchange

Data element Required/optional Format Translation rules Error condition Indicator for support staff
Message Type R Alpha Must contain SVCREC If not SVCREC, reject record Audit report for submitted batch files are available
Org Name R Alphanum Must be registered organization in HIM (tier 2) If blank or invalid, reject record Audit report for submitted batch files are available
Local Org ID R Num Must be registered organization in HIM (tier 2) If blank or invalid, reject record See above
Dept Name R Alphanum Must be registered organization in HIM (tier 3) If invalid, reject record See above
Dept ID R Num Must be registered organization in HIM (tier 3) If invalid, reject record See above
Pat ID R Alphanum Patient ID must be alphanum format If blank, reject record See above
Gender R Alpha Required. All records must contain gender. Translate as required to match internal gender format If blank or invalid format, reject record See above
DOB R yyyymmdd Required If provided and invalid date format, reject record See above
Med svcs code R Alphanum N/A If field blank, reject record See above
ICD code O Alphanum N/A N/A See above
Service date C yyyymmdd Either visit date (for outpatients) or service date (for inpatients) must be provided If service date is blank, reject the record See above