Condition

Return to types list

Type Properties

Properties
PropertyValue
id7ea7a1f9-880b-4bd4-b593-f5660f20eda8
nameCondition
uncreatablefalse
immutablefalse
singletonfalse
transformsform, mtt, stt
allow-readonlytrue

Type Details

condition  Defines a single health or medical issue/problem.
NameTypeIsRequiredDescription
namet:codable-valueNoThe name or description of the condition. Codes for the condition may be found in zero or more of the Microsoft Health vocabularies.
onset-dated:approx-date-timeNoThe date of onset or the first diagnosis.
statust:codable-valueNoThe description of the status. For example, 'acute' or 'chronic'.
stop-dated:approx-date-timeNoThe date the condition resolved (or for multiple acute episodes, the last date the condition resolved).
stop-reasonstringNoA statement of how the condition was resolved.

Schema

Open schema as a file

Verify XML against this schema

<?xml version="1.0" encoding="utf-16"?>
<schema xmlns:d="urn:com.microsoft.wc.dates" xmlns:c="urn:com.microsoft.wc.thing.condition" xmlns:t="urn:com.microsoft.wc.thing.types" targetNamespace="urn:com.microsoft.wc.thing.condition" xmlns="http://www.w3.org/2001/XMLSchema">
  <import schemaLocation="base.xsd" namespace="urn:com.microsoft.wc.thing.types" />
  <import schemaLocation="dates.xsd" namespace="urn:com.microsoft.wc.dates" />
  <annotation>
    <documentation>
      <type-id xmlns="http://www.w3.org/2001/XMLSchema">7ea7a1f9-880b-4bd4-b593-f5660f20eda8</type-id>
      <type-name xmlns="http://www.w3.org/2001/XMLSchema">Condition</type-name>
      <wrapper-class-name xmlns="http://www.w3.org/2001/XMLSchema">Condition</wrapper-class-name>
      <wrapper-class-fwlink xmlns="http://www.w3.org/2001/XMLSchema">136080</wrapper-class-fwlink>
      <sample-xml-fwlink xmlns="http://www.w3.org/2001/XMLSchema">136081</sample-xml-fwlink>
      <data-type-guide-fwlink xmlns="http://www.w3.org/2001/XMLSchema">136079</data-type-guide-fwlink>
      <summary xmlns="http://www.w3.org/2001/XMLSchema">
                Defines a single health or medical issue/problem.
            </summary>
      <remarks xmlns="http://www.w3.org/2001/XMLSchema">
                CCR qualifiers and other notes should go in the
                common/note section of the thing.
            </remarks>
    </documentation>
  </annotation>
  <element name="condition">
    <complexType>
      <annotation>
        <documentation>
          <summary xmlns="http://www.w3.org/2001/XMLSchema">
                        Defines a single health or medical issue/problem.
                    </summary>
          <remarks xmlns="http://www.w3.org/2001/XMLSchema">
                        CCR qualifiers and other notes should go in the
                        common/note section of the thing.
                    </remarks>
        </documentation>
      </annotation>
      <sequence>
        <element minOccurs="1" maxOccurs="1" name="name" type="t:codable-value">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The name or description of the condition.
                            </summary>
              <remarks xmlns="http://www.w3.org/2001/XMLSchema">
                                Codes for the condition may be found in zero or
                                more of the Microsoft Health vocabularies.
                            </remarks>
            </documentation>
          </annotation>
        </element>
        <element minOccurs="0" maxOccurs="1" name="onset-date" type="d:approx-date-time">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The date of onset or the first diagnosis.
                            </summary>
            </documentation>
          </annotation>
        </element>
        <element minOccurs="0" maxOccurs="1" name="status" type="t:codable-value">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The description of the status.
                            </summary>
              <remarks xmlns="http://www.w3.org/2001/XMLSchema">
                                For example, 'acute' or 'chronic'.
                            </remarks>
              <preferred-vocabulary xmlns="http://www.w3.org/2001/XMLSchema">condition-occurence</preferred-vocabulary>
            </documentation>
          </annotation>
        </element>
        <element minOccurs="0" maxOccurs="1" name="stop-date" type="d:approx-date-time">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                The date the condition resolved (or for
                                multiple acute episodes, the last date the
                                condition resolved).
                            </summary>
            </documentation>
          </annotation>
        </element>
        <element minOccurs="0" maxOccurs="1" name="stop-reason" type="string">
          <annotation>
            <documentation>
              <summary xmlns="http://www.w3.org/2001/XMLSchema">
                                A statement of how the condition was resolved.
                            </summary>
            </documentation>
          </annotation>
        </element>
      </sequence>
    </complexType>
  </element>
</schema>


Columns

Columns describe this type in the STT and MTT transformations.

Columns
TagLabelTypeWidth
nameNameString100
statusStatusString100
onset-dateOnset DateString100
stop-dateStop DateString100
stop-reasonStop ReasonString100
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-appnameAppString100
wc-issignedSignedBoolean50
wc-isdownversionedDown VersionedBoolean50
wc-isupversionedUp VersionedBoolean50
wc-stateItem StateString50