Versions Compared

Key

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

...

  1. By storing the statements directly in the code attribute of the AnalysisOutputProgrammingCode class, 
  2. By referencing a programming code document in the documentRef attribute of the AnalysisOutputProgrammingCode class (refer to the DocumentReference section for more information about programming code document references), or
  3. For analyses only, by implied reference to template programming code associated with the analysis method specified in the methodId attribute of the Analysis class (refer to the AnalysisProgrammingCodeTemplate section for more information about template programming code).

Provision of programming code for analyses or outputs is not required; sponsors may choose to include programming code to support their regulatory or operational requirements. In general, when programming code is provided, it will be provided either for analyses or for outputs. When programming code is provided for outputs, or for analyses whose analysis method does not have associated template programming statements are provided code (i.e., template programming code is not specified in the codeTemplate attribute of the instance of the AnalysisMethod class referenced in the methodId attribute of the analysis), programming statements should be provided either directly or via a programming code document reference (option 1 or 2), the . When programming statements are provided directly or via a document reference:

  • The context attribute is used to specify the name and version of the computer language used for the programming statements.
  • Output- or analysis-specific programming code parameter values may also be specified in the parameters attribute of the AnalysisOutputProgrammingCode class.

If the analysis method for an analysis has associated template programming code (i.e., template programming code is specified in the codeTemplate attribute of the instance of the AnalysisMethod class referenced in the methodId attribute of the analysis), sponsors may choose to implement the template programming code in different ways. The template programming code may be used to generate executable, analysis-specific programming code statements which are then stored as part of the definition of the analysis (using the code or documentRef attribute of the AnalysisOutputProgrammingCode class; option 1 or 2 above). Alternatively, if the template programming code is already executable or generation of executable programming statements is implemented at runtime, the template programming code may be implemented by reference only (option 3). If template programming code is implemented by reference only, neither of the code or documentRef attributes of the AnalysisOutputProgrammingCode class is used: the programmingCode attribute of the analysis is either not used, or it is used only to specify analysis-specific parameter values in the parameters attribute of the AnalysisOutputProgrammingCode class.

Provision of programming code and the implementation of any template programming code should be applied consistently with any given reporting event.

Pagenav