Skip to main content

Table 2 Data optimization and classification in structured data and unstructured data

From: Design of a human-centric de-identification framework for utilizing various clinical research data

Structured data Unstructured data
//S0. Data Optimization
OptimizeID(inputdata){
    Auth = Authentication(irbapproval, projectid)
    if(Auth == CORRECT){//equal?
      ChkResult = CheckValidation(inputdata)
    if(ChkResult == ERROR)
      exit
    else
      ClassifyID(ChkResult)
    }
    exit
}
//U0. File Optimization
SelectOptiFILE(){
    Auth = Authentication(irbapproval, projectid)
    if(Auth == CORRECT){//equal?
      SelectedFile = FileSelection(inputfile)
      ChkFile = CheckValidation(SelectedFile)
    if(ChkFile == ERROR)
      exit
    else
      ClassifyFILE(ChkFile)
    }
    exit
}
//S1. Data Classification
ClassifyID(ChkResult) {
    classifiedID[DID|QID|SA] = locator(ChkResult)
    if (classifiedID == DID)
      goto S2
    else if (classifiedID == QID){
      if (classifiedID == SA) {
        {checkSA = 1}
        goto S3
}
    else//NSA
      goto S2
}
//U1. File Classification
ClassifyFILE(ChkFile) {
    ClfFile[C|U] = CheckChangeable(ChkFile)
      if(ClfFile == C)//Changeable File
        goto U2
      else
        goto U2//Unchangeable File
}