Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Breakdown Result Output Types Config

As of SHRINE 1.22.8, it is required to specify the names of result types corresponding to breakdown queries. Their names must match the names of result output types defined in the i2b2 database of every node on your SHRINE network.  For example, on a network comprised of nodes backed by i2b2 demo VMs, add this section to shrine.conf (this section should be under the main shrine {} block):

 

...


Code Block
languagebash
themerdark
shrine {

...


  ...

...

  
  breakdownResultOutputTypes {

...


  
  breakdownResultOutputTypes {
    PATIENT_AGE_COUNT_XML

...

      description = "Age patient breakdown"
    }
       

...

 {
      description = "Age patient breakdown"
    }
       
    PATIENT_RACE_COUNT_XML

...

      description = "Race patient breakdown"
    }
  

...

 {
      description = "Race patient breakdown"
    }
  
    PATIENT_VITALSTATUS_COUNT_XML

...

      description = "Vital Status patient breakdown"
    }
  

...

 {
      description = "Vital Status patient breakdown"
    }
  
    PATIENT_GENDER_COUNT_XML

...

      description = "Gender patient breakdown"
    }
  }
  
  ...
}
 {
      description = "Gender patient breakdown"
    }
  }
  
  ...
}



 

 

the JSON format for this section is:


Code Block
languagebash
themerdark
 
breakdownResultOutputTypes {
  

  <breakdown-result-output-type-
name A> {    description = <string
name A> {
    description = <string human-readable-
description A>
  }
  
description A>
  }
  ...
  

  <breakdown-result-output-type-name B>
{      description = <string
 {
      description = <string human-readable-description B>
  }
}
 

  }
}


note that breakdownResultOutputTypes can contain 0 or more child elements.