def create_beam_limiting_device_positions(cp_item, cp, options={})
      dp_seq = DICOM::Sequence.new('300A,011A', :parent => cp_item)
      # The ASYMX item ('backup jaws') doesn't exist on all models:
      if ['SYM', 'ASY'].include?(cp.parent.field_x_mode.upcase)
        dp_item_x = create_asym_item(cp, dp_seq, axis=:x, options)
      end
      # Always create one ASYMY item:
      dp_item_y = create_asym_item(cp, dp_seq, axis=:y, options)
      # MLCX:
      dp_item_mlcx = DICOM::Item.new(:parent => dp_seq)
      # RT Beam Limiting Device Type:
      DICOM::Element.new('300A,00B8', "MLCX", :parent => dp_item_mlcx)
      # Leaf/Jaw Positions:
      DICOM::Element.new('300A,011C', cp.dcm_mlc_positions(options[:scale]), :parent => dp_item_mlcx)
      dp_seq
    end
def create_beam_limiting_device_positions(cp_item, cp, options={})
      dp_seq = DICOM::Sequence.new('300A,011A', :parent => cp_item)
      # The ASYMX item ('backup jaws') doesn't exist on all models:
      if ['SYM', 'ASY'].include?(cp.parent.field_x_mode.upcase)
        dp_item_x = create_asym_item(cp, dp_seq, axis=:x, options)
      end
      # Always create one ASYMY item:
      dp_item_y = create_asym_item(cp, dp_seq, axis=:y, options)
      # MLCX:
      dp_item_mlcx = DICOM::Item.new(:parent => dp_seq)
      # RT Beam Limiting Device Type:
      DICOM::Element.new('300A,00B8', "MLCX", :parent => dp_item_mlcx)
      # Leaf/Jaw Positions:
      DICOM::Element.new('300A,011C', cp.dcm_mlc_positions(options[:scale]), :parent => dp_item_mlcx)
      dp_seq
    end
Creates a beam limiting device positions sequence in the given DICOM object.

 @param [DICOM::Item] cp_item the DICOM control point item in which to insert the sequence
 @param [ControlPoint] cp the RTP control point to fetch device parameters from
 @return [DICOM::Sequence] the constructed beam limiting device positions sequence