Allergy
Return to types list
Type Properties
Properties
| Property | Value |
| id | 52bf9104-2c5e-4f1f-a66d-552ebcc53df7 |
| name | Allergy |
| uncreatable | false |
| immutable | false |
| singleton | false |
| transforms | form, mtt, stt |
|
Type Details
|
|
|
|
allergy Information related to an allergy.
| Name | Type | IsRequired | Description |
| name | t:codable-value | Yes | The name of the allergy. |
| reaction | t:codable-value | No | A description of a typical reaction to the
allergen. |
| first-observed | d:approx-date-time | No | The approximate date and time when the allergy
was first observed. |
| allergen-type | t:codable-value | No | The allergen type provides a general category of
the source of the allergic reaction. Examples include medication (penicillin,
sulfonamides, etc.), food (peanuts, shell fish,
wheat, etc.), animal (bee stings, canine,
feline, etc.), plants (ragweed, birch, etc.),
environmental (smoke, smog, dust, etc.). |
| allergen-code | t:codable-value | No | The clinical allergen code. |
| treatment-provider | t:person | No | Information about the treatment provider for
this allergy. |
| treatment | t:codable-value | No | The possible treatment description for this allergy. |
| is-negated | boolean | No | True if the allergic reation is negated with treatment. |
|
Schema
Open schema as a file
Verify XML against this schema
<schema xmlns:allergy="urn:com.microsoft.wc.thing.allergy" 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.allergy">
<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>52bf9104-2c5e-4f1f-a66d-552ebcc53df7</type-id>
<type-name>Allergy</type-name>
<wrapper-class-name>Allergy</wrapper-class-name>
<wrapper-class-fwlink>136035</wrapper-class-fwlink>
<sample-xml-fwlink>136036</sample-xml-fwlink>
<data-type-guide-fwlink>136034</data-type-guide-fwlink>
<summary>Information related to an allergy.</summary>
<remarks>This thing type describes an allergy a person has. Theallergic-episode type defines an occurrence of thatepisode resulting in symptoms.</remarks>
<effective-date-element>first-observed</effective-date-element>
</documentation>
</annotation>
<element name="allergy">
<complexType>
<annotation>
<documentation>
<summary>Information related to an allergy.</summary>
<remarks>This thing type describes an allergy a person has. Theallergic-episode type defines an occurrence of that episode resulting in symptoms.</remarks>
</documentation>
</annotation>
<sequence>
<element name="name" type="t:codable-value">
<annotation>
<documentation>
<summary>The name of the allergy.</summary>
</documentation>
</annotation>
</element>
<element name="reaction" type="t:codable-value" minOccurs="0">
<annotation>
<documentation>
<summary>A description of a typical reaction to theallergen.</summary>
<preferred-vocabulary>icd9cm</preferred-vocabulary>
</documentation>
</annotation>
</element>
<element name="first-observed" type="d:approx-date-time" minOccurs="0">
<annotation>
<documentation>
<summary>The approximate date and time when the allergywas first observed.</summary>
</documentation>
</annotation>
</element>
<element name="allergen-type" type="t:codable-value" minOccurs="0">
<annotation>
<documentation>
<summary>The allergen type provides a general category of the source of the allergic reaction.</summary>
<remarks>Examples include medication (penicillin, sulfonamides, etc.), food (peanuts, shell fish,wheat, etc.), animal (bee stings, canine, feline, etc.), plants (ragweed, birch, etc.), environmental (smoke, smog, dust, etc.).</remarks>
<preferred-vocabulary>allergen-type</preferred-vocabulary>
</documentation>
</annotation>
</element>
<element name="allergen-code" type="t:codable-value" minOccurs="0">
<annotation>
<documentation>
<summary>The clinical allergen code.</summary>
<preferred-vocabulary>icd9cm</preferred-vocabulary>
</documentation>
</annotation>
</element>
<element name="treatment-provider" type="t:person" minOccurs="0">
<annotation>
<documentation>
<summary>Information about the treatment provider for this allergy.</summary>
</documentation>
</annotation>
</element>
<element name="treatment" type="t:codable-value" minOccurs="0">
<annotation>
<documentation>
<summary>The possible treatment description for this allergy.</summary>
</documentation>
</annotation>
</element>
<element name="is-negated" type="boolean" minOccurs="0">
<annotation>
<documentation>
<summary>True if the allergic reation is negated with treatment.</summary>
</documentation>
</annotation>
</element>
</sequence>
</complexType>
</element>
</schema>
Columns
Columns describe this type in the STT and MTT transformations.
Columns
| Tag | Label | Type | Width |
| what | Name | String | 100 |
| reaction | Reaction | String | 100 |
| first | First Observed | String | 100 |
| allergen-type | Allergen type | String | 100 |
| allergen-code | Allergen code | String | 100 |
| treatment-provider | Treatment provider | String | 100 |
| treatment | Treatment | String | 100 |
| is-negated | Is negated | String | 100 |
| wc-id | ID | String | 50 |
| wc-version | Version Stamp | String | 50 |
| wc-note | Note | String | 100 |
| wc-tags | Tags | String | 100 |
| wc-date | Effective Date | DateTime | 50 |
| wc-type | Type Name | String | 50 |
| wc-typeid | Type ID | String | 50 |
| wc-source | Source | String | 100 |
| wc-brands | Brands | String | 100 |
| wc-relatedthings | Related Items | String | 100 |
| wc-ispersonal | Is Personal | Boolean | 40 |
| wc-audit-personname | Changed by | String | 100 |
| wc-audit-date | Date | DateTime | 100 |
| wc-audit-action | Action | String | 100 |
| wc-audit-appname | Program | String | 100 |
| wc-issigned | Signed | Boolean | 50 |
| wc-isdownversioned | Down Versioned | Boolean | 50 |
| wc-isupversioned | Up Versioned | Boolean | 50 |
| wc-state | Item State | String | 50 |
|