Diabetes Insulin Injection Use

Return to types list

Type Properties

Properties
PropertyValue
id184166be-8adb-4d9c-8162-c403040e31ad
nameDiabetes Insulin Injection Use
uncreatablefalse
immutablefalse
singletonfalse
transformsform, mtt, stt, rss

Type Details

diabetes-insulin-injection-use  A single use of an insulin-injection.
NameTypeIsRequiredDescription
whend:date-timeYesThe date and time when the insulin-injection was used.
typet:codable-valueYesThe type of the insulin used. For example, 'Analoga' or 'Normal'
amountt:insulin-injection-valueYesThe amount of insulin injected. The typical range is 0.1-50IE. An IE unit is 1/100ml.
device-idstringNoThe unique id or serial number for the insulin package. If available, this value can be used to correlate results.

Schema

Open schema as a file

Verify XML against this schema

<schema xmlns:iu="urn:com.microsoft.wc.thing.insulin-injection-use" xmlns:t="urn:com.microsoft.wc.thing.types" xmlns:d="urn:com.microsoft.wc.dates" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:com.microsoft.wc.thing.insulin-injection-use">
  <import namespace="urn:com.microsoft.wc.thing.types" schemaLocation="base.xsd" />
  <import namespace="urn:com.microsoft.wc.dates" schemaLocation="dates.xsd" />
  <annotation>
    <documentation>
      <type-id>184166BE-8ADB-4D9C-8162-C403040E31AD</type-id>
      <type-name>Diabetes Insulin Injection Usage</type-name>
      <wrapper-class-name>InsulinInjectionUse</wrapper-class-name>
      <wrapper-class-fwlink>136098</wrapper-class-fwlink>
      <sample-xml-fwlink>136099</sample-xml-fwlink>
      <data-type-guide-fwlink>136097</data-type-guide-fwlink>
      <summary>A single use of an insulin-injection.</summary>
      <remarks>Note, this may wrap more than one "dose" if multipleinjections per use are prescribed.</remarks>
      <effective-date-element>when</effective-date-element>
    </documentation>
  </annotation>
  <element name="diabetes-insulin-injection-use">
    <complexType>
      <annotation>
        <documentation>
          <summary>A single use of an insulin-injection.</summary>
          <remarks>Note, this may wrap more than one "dose" if multipleinjections per use are prescribed.</remarks>
        </documentation>
      </annotation>
      <sequence>
        <element name="when" type="d:date-time">
          <annotation>
            <documentation>
              <summary>The date and time when the insulin-injection was used.</summary>
            </documentation>
          </annotation>
        </element>
        <element name="type" type="t:codable-value">
          <annotation>
            <documentation>
              <summary>The type of the insulin used.</summary>
              <remarks>For example, 'Analoga' or 'Normal'</remarks>
              <preferred-vocabulary>insulin-types</preferred-vocabulary>
            </documentation>
          </annotation>
        </element>
        <element name="amount" type="t:insulin-injection-value">
          <annotation>
            <documentation>
              <summary>The amount of insulin injected.</summary>
              <remarks>The typical range is 0.1-50IE. An IE unit is 1/100ml.</remarks>
            </documentation>
          </annotation>
        </element>
        <element name="device-id" type="string" minOccurs="0">
          <annotation>
            <documentation>
              <summary>The unique id or serial number for the insulin package.</summary>
              <remarks>If available, this value can be used to correlate results.</remarks>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
typeTypeString100
amountAmountString100
device-idDevice IDString100
wc-idIDString50
wc-versionVersion StampString50
wc-noteNoteString100
wc-tagsTagsString100
wc-dateEffective DateDateTime50
wc-typeType NameString50
wc-typeidType IDString50
wc-sourceSourceString100
wc-brandsBrandsString100
wc-relatedthingsRelated ItemsString100
wc-ispersonalIs PersonalBoolean40
wc-audit-personnameChanged byString100
wc-audit-dateDateDateTime100
wc-audit-actionActionString100
wc-audit-appnameProgramString100
wc-issignedSignedBoolean50
wc-isdownversionedDown VersionedBoolean50
wc-isupversionedUp VersionedBoolean50
wc-stateItem StateString50