extensions/xnat/src/utils/IO/classes/AIMWriter.js
/**
   * _startImageAnnotationCollection - Build the metadata header for the AIM
   *                                   ImageAnnotationCollection.
   *
   * @returns {null}
   */
Build the metadata header for the AIM
ImageAnnotationCollection.

@returns {null}
Build the metadata header for the AIM ImageAnnotationCollection . @returns { null }
_startImageAnnotationCollection() {
    this.startDocument('1.0', 'UTF-8', false);
    this.startElement('ImageAnnotationCollection')
      .writeAttribute(
        'xmlns',
        'gme://caCORE.caCORE/4.4/edu.northwestern.radiology.AIM'
      )
      .writeAttribute(
        'xmlns:rdf',
        'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
      )
      .writeAttribute('xmlns:xsi', 'http://www.w3.org/2001/XMLSchema-instance')
      .writeAttribute('aimVersion', 'AIMv4_0')
      .writeAttribute(
        'xsi:schemaLocation',
        'gme://caCORE.caCORE/4.4/edu.northwestern.radiology.AIM AIM_v4_rv44_XML.xsd'
      );
    this._addProperty(
      'uniqueIdentifier',
      'root',
      this._imageAnnotationCollectionUUID
    );
    this._addDateTime();
    this._addProperty('description', 'value', this._name);
    this._addUser();
    this._addEquipment();
    this._addPerson();
    this.startElement('imageAnnotations');
  }
_startImageAnnotationCollection ( ) { this . startDocument ( '1.0' , 'UTF-8' , false ) ; this . startElement ( 'ImageAnnotationCollection' ) . writeAttribute ( 'xmlns' , 'gme://caCORE.caCORE/4.4/edu.northwestern.radiology.AIM' ) . writeAttribute ( 'xmlns:rdf' , 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' ) . writeAttribute ( 'xmlns:xsi' , 'http://www.w3.org/2001/XMLSchema-instance' ) . writeAttribute ( 'aimVersion' , 'AIMv4_0' ) . writeAttribute ( 'xsi:schemaLocation' , 'gme://caCORE.caCORE/4.4/edu.northwestern.radiology.AIM AIM_v4_rv44_XML.xsd' ) ; this . _addProperty ( 'uniqueIdentifier' , 'root' , this . _imageAnnotationCollectionUUID ) ; this . _addDateTime ( ) ; this . _addProperty ( 'description' , 'value' , this . _name ) ; this . _addUser ( ) ; this . _addEquipment ( ) ; this . _addPerson ( ) ; this . startElement ( 'imageAnnotations' ) ; }
_startImageAnnotationCollection - Build the metadata header for the AIM
                                   ImageAnnotationCollection.
_startImageAnnotationCollection - Build the metadata header for the AIM ImageAnnotationCollection .