{% if report_description.measurement is defined and report_description.measurement is not none %}
<{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:{{ report_description.measurement.name }} xmlns:scale="http://docs.oasis-open.org/ns/emix/2011/06/siscale" xmlns:power="http://docs.oasis-open.org/ns/emix/2011/06/power" >
<{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemDescription>{{ report_description.measurement.description }}{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemDescription>
<{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemUnits>{{ report_description.measurement.unit }}{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:itemUnits>
{{ report_description.measurement.scale }}
{% if report_description.measurement.power_attributes %}
{{ report_description.measurement.power_attributes.hertz }}
{{ report_description.measurement.power_attributes.voltage }}
{{ report_description.measurement.power_attributes.ac|booleanformat }}
{% endif %}
{% if report_description.measurement.name == 'customUnit' %}oadr{% else %}power{% endif %}:{{ report_description.measurement.name }}>
{% endif %}