text:
<?xml version="1.0" encoding="UTF-8"?>

<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Resources as Profiles</title>
  <id>http://hl7.org/fhir/profile/types</id>
  <link href="http://hl7.org/implement/standards/fhir/profiles-types.xml" rel="self"/>
  <updated>2013-12-18T09:56:05.330+11:00</updated>
  <entry>
    <title>"period" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/period</id>
    <link href="http://hl7.org/implement/standards/fhir/period.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Period from FHIR Specification

        </text>
        <name value="Basic Profile for Period"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Period for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Period"/>
          <element>
            <path value="Period"/>
            <definition>
              <short value="Time range defined by start and end time"/>
              <formal value="A time period defined by a start and end time."/>
              <comments value="Not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). If a duration might be required, specify the type as Interval|Duration."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="1"/>
                <name value="Start <= End"/>
                <severity value="error"/>
                <human value="If present, start SHALL have a lower value than end"/>
                <xpath value="not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="DR"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Period.start"/>
            <definition>
              <short value="Starting time with inclusive boundary"/>
              <formal value="The start of the period. The boundary is inclusive."/>
              <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./low"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="DR.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Period.end"/>
            <definition>
              <short value="End time with inclusive boundary, if not ongoing"/>
              <formal value="The end of the period. If the high is missing, it means that the period is ongoing."/>
              <comments value="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./high"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="DR.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Period from FHIR Specification

  </entry>
  <entry>
    <title>"coding" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/coding</id>
    <link href="http://hl7.org/implement/standards/fhir/coding.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Coding from FHIR Specification

        </text>
        <name value="Basic Profile for Coding"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Coding for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Coding"/>
          <element>
            <path value="Coding"/>
            <definition>
              <short value="A reference to a code defined by a terminology system"/>
              <formal value="A reference to a code defined by a terminology system."/>
              <comments value="Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the v3 core principles for more information."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="1"/>
                <name value="Value set doesn't substitute for system"/>
                <severity value="error"/>
                <human value="If a valueSet is provided, a system URI SHALL also be provided."/>
                <xpath value="not (exists(f:valueSet) and exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CV"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CE/CNE/CWE subset one of the sets of component 1-3 or 4-6"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.system"/>
            <definition>
              <short value="Identity of the terminology system"/>
              <formal value="The identification of the code system that defines the meaning of the symbol in the code."/>
              <comments value="The identity is a uri. It may be an OID or a UUID, which SHALL be references to the HL7 OID registry, or a URI which either comes from HL7's list of FHIR defined special URIs or from some system defined elsewhere, in which case the URI should de-reference to establish the system unambiguously."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.3"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.version"/>
            <definition>
              <short value="Version of the system - if relevant"/>
              <formal value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when it is not, the version SHOULD be exchanged."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./codeSystemVersion"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.7"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.code"/>
            <definition>
              <short value="Symbol in syntax defined by the system"/>
              <formal value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.display"/>
            <definition>
              <short value="Representation defined by the system"/>
              <formal value="A representation of the meaning of the code in the system, following the rules laid out by the system."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CV.displayName"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.2 - but note this is not well followed"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.primary"/>
            <definition>
              <short value="If this code was chosen directly by the user"/>
              <formal value="Indicates that this code was chosen by a user directly - i.e. off a pick list of available codes."/>
              <comments value="Amongst a set of alternatives, a directly chosen coding is the most appropriate starting point for new translations."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CD.codingRationale"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="Sometimes implied by being first"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Coding.valueSet"/>
            <definition>
              <short value="Set this coding was chosen from"/>
              <formal value="The set of possible coded values this coding was chosen from or constrained by."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CD.valueSet / CD.valueSetVersion"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.16 - .19"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Coding from FHIR Specification

  </entry>
  <entry>
    <title>"range" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/range</id>
    <link href="http://hl7.org/implement/standards/fhir/range.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Range from FHIR Specification

        </text>
        <name value="Basic Profile for Range"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Range for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Range"/>
          <element>
            <path value="Range"/>
            <definition>
              <short value="Set of values bounded by low and high"/>
              <formal value="A set of ordered Quantities defined by a low and high limit."/>
              <comments value="The stated low and high value are assumed to have arbitrarily high precision when it comes to determining which values are in the range. i.e. 1.99 is not in the range 2 -> 3."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="No Range flag on Quantity"/>
                <severity value="error"/>
                <human value="Quantity values cannot have a comparator when used in a Range"/>
                <xpath value="not(exists(f:low/f:comparator) or exists(f:high/f:comparator))"/>
              </constraint>
              <constraint>
                <key value="2"/>
                <name value="Low < high"/>
                <severity value="error"/>
                <human value="If present, low SHALL have a lower value than high"/>
                <xpath value="not(exists(f:low/f:value/@value)) or not(exists(f:high/f:value/@value)) or (number(f:low/f:value/@value) <= number(f:high/f:value/@value))"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="IVL<QTY[not(type="TS")]> [lowClosed="true" and highClosed="true"]or URG<QTY[not(type="TS")]>"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="NR and also possibly SN (but see also quantity)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Range.low"/>
            <definition>
              <short value="Low limit"/>
              <formal value="The low limit. The boundary is inclusive."/>
              <comments value="If the low element is missing, the meaning is that the low boundary is not known."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./low"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="NR.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Range.high"/>
            <definition>
              <short value="High limit"/>
              <formal value="The high limit. The boundary is inclusive."/>
              <comments value="If the high element is missing, the meaning is that the high boundary is not known."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./high"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="NR.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Range from FHIR Specification

  </entry>
  <entry>
    <title>"quantity" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/quantity</id>
    <link href="http://hl7.org/implement/standards/fhir/quantity.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Basic Profile for Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
  <entry>
    <title>"attachment" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/attachment</id>
    <link href="http://hl7.org/implement/standards/fhir/attachment.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Attachment from FHIR Specification

        </text>
        <name value="Basic Profile for Attachment"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Attachment for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Attachment"/>
          <element>
            <path value="Attachment"/>
            <definition>
              <short value="Content in a format defined elsewhere"/>
              <formal value="For referring to data content defined in other formats."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="ED"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="ED/RP"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.contentType"/>
            <definition>
              <short value="Mime type of the content, with charset etc."/>
              <formal value="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="MimeType"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceUri value="http://www.rfc-editor.org/bcp/bcp13.txt"/>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="./mediaType, ./charset"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.language"/>
            <definition>
              <short value="Human language of the content (BCP-47)"/>
              <formal value="The human language of the content. The value can be any valid value according to BCP 47."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="Language"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceUri value="http://tools.ietf.org/html/bcp47"/>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="./language"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.data"/>
            <definition>
              <short value="Data inline, base64ed"/>
              <formal value="The actual data of the attachment - a sequence of bytes. In XML, represented using base64."/>
              <comments value="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./data"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="ED.5"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.url"/>
            <definition>
              <short value="Uri where the data can be found"/>
              <formal value="An alternative location where the data can be accessed."/>
              <comments value="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may be made to transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./reference/literal"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="RP.1+RP.2 - if they refer to a URL (see v2.6)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.size"/>
            <definition>
              <short value="Number of bytes of content (if url provided)"/>
              <formal value="The number of bytes of data that make up this attachment."/>
              <comments value="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A (needs data type R3 proposal)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.hash"/>
            <definition>
              <short value="Hash of the data (sha-1, base64ed )"/>
              <formal value="The calculated hash of the data using SHA-1. Represented using base64."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value=".integrityCheck[parent::ED/integrityCheckAlgorithm="SHA-1"]"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Attachment.title"/>
            <definition>
              <short value="Label to display in place of the data"/>
              <formal value="A label or set of text to display in place of the data."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./title/data"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Attachment from FHIR Specification

  </entry>
  <entry>
    <title>"ratio" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/ratio</id>
    <link href="http://hl7.org/implement/standards/fhir/ratio.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Ratio from FHIR Specification

        </text>
        <name value="Basic Profile for Ratio"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Ratio for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Ratio"/>
          <element>
            <path value="Ratio"/>
            <definition>
              <short value="A ratio of two Quantity values - a numerator and a denominator"/>
              <formal value="A ratio of two Quantity values - a numerator and a denominator."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="1"/>
                <name value="both numerator and denominator"/>
                <severity value="error"/>
                <human value="numerator and denominator SHALL both be present, or both be absent"/>
                <xpath value="count(f:numerator) = count(f:denominator)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="RTO"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Ratio.numerator"/>
            <definition>
              <short value="Numerator value"/>
              <formal value="The value of the numerator."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value=".numerator"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Ratio.denominator"/>
            <definition>
              <short value="Denominator value"/>
              <formal value="The value of the denominator."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value=".denominator"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Ratio from FHIR Specification

  </entry>
  <entry>
    <title>"sampleddata" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/sampleddata</id>
    <link href="http://hl7.org/implement/standards/fhir/sampleddata.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for SampledData from FHIR Specification

        </text>
        <name value="Basic Profile for SampledData"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for SampledData for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="SampledData"/>
          <element>
            <path value="SampledData"/>
            <definition>
              <short value="A series of measurements taken by a device"/>
              <formal value="A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data."/>
              <comments value="The data is not interpretable without at least origin, period, and dimensions, but these are optional to allow a separation between the template of measurement and the actual measurement, such as between DeviceCapabilities and DeviceLog."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="SLIST + GLIST"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="N/A (but see section 7.14 in v2.7)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.origin"/>
            <definition>
              <short value="Zero value and units"/>
              <formal value="The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="SLIST.origin"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.period"/>
            <definition>
              <short value="Number of milliseconds between samples"/>
              <formal value="The length of time between sampling times, measured in milliseconds."/>
              <comments value="This is usually a whole number."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="GLIST.increment"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.factor"/>
            <definition>
              <short value="Multiply data by this before adding to origin"/>
              <formal value="A correction factor that is applied to the sampled data points before they are added to the origin."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="SLIST.factor"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.lowerLimit"/>
            <definition>
              <short value="Lower limit of detection"/>
              <formal value="The lower limit of detection of the measured points. This is needed if any of the data points have the value "L" (lower than detection limit)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A (use SLIST.digits.nullFlavor)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.upperLimit"/>
            <definition>
              <short value="Upper limit of detection"/>
              <formal value="The upper limit of detection of the measured points. This is needed if any of the data points have the value "U" (higher than detection limit)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A (use SLIST.digits.nullFlavor)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.dimensions"/>
            <definition>
              <short value="Number of sample points at each time point"/>
              <formal value="The Number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once."/>
              <comments value="If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data)."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A (fixed to 1)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="SampledData.data"/>
            <definition>
              <short value="Decimal values with spaces, or "E" | "U" | "L""/>
              <formal value="A series of data points separated by a single space (character u20). The special values "E" (error), "L" (below detection limit) and "U" (above detection limit) can also be used."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="SLIST.digits"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for SampledData from FHIR Specification

  </entry>
  <entry>
    <title>"resourcereference" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/resourcereference</id>
    <link href="http://hl7.org/implement/standards/fhir/resourcereference.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for ResourceReference from FHIR Specification

        </text>
        <name value="Basic Profile for ResourceReference"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for ResourceReference for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <structure>
          <type value="ResourceReference"/>
          <element>
            <path value="ResourceReference"/>
            <definition>
              <short value="A reference from one resource to another"/>
              <formal value="A reference from one resource to another."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="1"/>
                <name value="Inline"/>
                <severity value="error"/>
                <human value="SHALL have a local reference if the resource is provided inline"/>
                <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::a:content/f:*/f:contained/f:*[@id=substring-after(current()/f:reference/@value, '#')]|/f:*/f:contained/f:*[@id=substring-after(current()/f:reference/@value, '#')])"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="ResourceReference.reference"/>
            <definition>
              <short value="Relative, internal or absolute URL reference"/>
              <formal value="A reference to a location at which the other resource is found. The reference may a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources."/>
              <comments value="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.

Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the url conforms to the structure "/[type]/@[id]" then it should be assumed that the reference is to a FHIR RESTful server."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="ResourceReference.display"/>
            <definition>
              <short value="Text alternative for the resource"/>
              <formal value="Plain text narrative that identifies the resource in addition to the resource reference."/>
              <comments value="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for ResourceReference from FHIR Specification

  </entry>
  <entry>
    <title>"codeableconcept" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/codeableconcept</id>
    <link href="http://hl7.org/implement/standards/fhir/codeableconcept.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for CodeableConcept from FHIR Specification

        </text>
        <name value="Basic Profile for CodeableConcept"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for CodeableConcept for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="CodeableConcept"/>
          <element>
            <path value="CodeableConcept"/>
            <definition>
              <short value="Concept - reference to a terminology or just  text"/>
              <formal value="A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."/>
              <comments value="Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="2"/>
                <name value="Coding.primary rule"/>
                <severity value="error"/>
                <human value="Only one coding in a set can be chosen directly by the user"/>
                <xpath value="count(f:coding[f:primary/@value='true'])<1"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CD"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CE/CNE/CWE"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="CodeableConcept.coding"/>
            <definition>
              <short value="Code defined by a terminology system"/>
              <formal value="A reference to a code defined by a terminology system."/>
              <comments value="Codes may defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the v3 core principles for more information.  Ordering of codings is undefined and SHALL not be used to infer meaning."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="union(., ./translation)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.1-8, C*E.10-22"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="CodeableConcept.text"/>
            <definition>
              <short value="Plain text representation of the concept"/>
              <formal value="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user or concept."/>
              <comments value="Very often the text is the same as a displayName of one of the codings."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./originalText[mediaType/code="text/plain"]/data"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="C*E.9. But note many systems use C*E.2 for this"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for CodeableConcept from FHIR Specification

  </entry>
  <entry>
    <title>"identifier" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/identifier</id>
    <link href="http://hl7.org/implement/standards/fhir/identifier.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Identifier from FHIR Specification

        </text>
        <name value="Basic Profile for Identifier"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Identifier for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <mapping>
          <identity value="servd"/>
          <uri value="http://www.omg.org/spec/ServD/1.0/"/>
          <name value="ServD"/>
        </mapping>
        <structure>
          <type value="Identifier"/>
          <element>
            <path value="Identifier"/>
            <definition>
              <short value="An identifier intended for computation"/>
              <formal value="A technical identifier - identifies some entity uniquely and unambiguously."/>
              <comments value="the Identifier class is a little looser than II because it allows URIs as well as registered OIDs or GUIDs."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX / EI (occasionally, more often EI maps to a resource id or a URL)"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="Identifier"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.use"/>
            <definition>
              <short value="usual | official | temp | secondary (If known)"/>
              <formal value="The use of this identifier."/>
              <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is not temporary unless it explicitly says that it is."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="IdentifierUse"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/identifier-use"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="N/A - this is sometimes implied by context"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX.5"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.label"/>
            <definition>
              <short value="Description of identifier"/>
              <formal value="A label for the identifier that can be displayed to a human so they can recognize the identifier."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A - this is sometimes implied by context"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.system"/>
            <definition>
              <short value="The namespace for the identifier"/>
              <formal value="Establishes the namespace in which set of possible id values is unique."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="II.root"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX.4 / EI-2-4"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./IdentifierType"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.value"/>
            <definition>
              <short value="The value that is unique"/>
              <formal value="The portion of the identifier typically displayed to the user and which is unique within the context of the system."/>
              <comments value="if the value is actually a full uri, then the system SHALL be urn:ietf:rfc:3986."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="II.extension or II.root if system indicates OID or GUID"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX.1 / EI.1"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./Value"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.period"/>
            <definition>
              <short value="Time period when id was valid for use"/>
              <formal value="Time period during which identifier was valid for use."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A - this is sometimes implied by context"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX.7 + CX.8"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./StartDate and ./EndDate"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Identifier.assigner"/>
            <definition>
              <short value="Organization that issued id (may be just text)"/>
              <formal value="Organization that issued/manages the identifier."/>
              <comments value="The reference may be just a text description of the assigner."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="II.assigningAuthorityName but note that this is an improper use by the definition of the field"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="CX.4 / (CX.4,CX.9,CX.10)"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./IdentifierIssuingAuthority"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Identifier from FHIR Specification

  </entry>
  <entry>
    <title>"extension" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/extension</id>
    <link href="http://hl7.org/implement/standards/fhir/extension.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Extension from FHIR Specification

        </text>
        <name value="Basic Profile for Extension"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Extension for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <structure>
          <type value="Extension"/>
          <element>
            <path value="Extension"/>
            <definition>
              <short value="Optional Extensions Element - found in all resources."/>
              <formal value="Optional Extensions Element - found in all resources."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Extension.url"/>
            <representation value="xmlAttr"/>
            <definition>
              <short value="identifies the meaning of the extension"/>
              <formal value="Source of the definition for the extension code - a logical name or a URL."/>
              <comments value="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition should be version specific.  This will ideally be the URI for the Resource Profile defining the extension, with the code for the extension after a #."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Extension.value[x]"/>
            <definition>
              <short value="Value of extension"/>
              <formal value="Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Extension from FHIR Specification

  </entry>
  <entry>
    <title>"narrative" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/narrative</id>
    <link href="http://hl7.org/implement/standards/fhir/narrative.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Narrative from FHIR Specification

        </text>
        <name value="Basic Profile for Narrative"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Narrative for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <structure>
          <type value="Narrative"/>
          <element>
            <path value="Narrative"/>
            <definition>
              <short value="A human-readable formatted text, including images"/>
              <formal value="A human-readable formatted text, including images."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Narrative.status"/>
            <definition>
              <short value="generated | extensions | additional"/>
              <formal value="The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="NarrativeStatus"/>
                <isExtensible value="true"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/narrative-status"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Narrative.div"/>
            <definition>
              <short value="Limited xhtml content"/>
              <formal value="The actual narrative content, a stripped down version of XHTML."/>
              <comments value="The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained stylesheets. The XHTML content may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <severity value="error"/>
                <human value="The narrative SHALL contain only the basic html formatting attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes"/>
                <xpath value="not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])"/>
              </constraint>
              <constraint>
                <key value="2"/>
                <severity value="error"/>
                <human value="The narrative SHALL have some non-whitespace content"/>
                <xpath value="descendant::text()[normalize-space(.)!=''] or descendant::html:img[@src]"/>
              </constraint>
              <constraint>
                <key value="1"/>
                <severity value="error"/>
                <human value="The narrative SHALL contain only the basic html formatting elements described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes"/>
                <xpath value="not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))])"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Narrative from FHIR Specification

  </entry>
  <entry>
    <title>"schedule" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/schedule</id>
    <link href="http://hl7.org/implement/standards/fhir/schedule.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Schedule from FHIR Specification

        </text>
        <name value="Basic Profile for Schedule"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Schedule for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Schedule"/>
          <element>
            <path value="Schedule"/>
            <definition>
              <short value="A schedule that specifies an event that may occur multiple times"/>
              <formal value="A schedule that specifies an event that may occur multiple times. Schedules are not used for recording when things did happen, but when they are expected or requested to occur."/>
              <comments value="A schedule can be either a list of events - intervals on which the event occurs, or a single event with repeating criteria or just repeating criteria with no actual event."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="1"/>
                <name value="Multiple or repeating events"/>
                <severity value="error"/>
                <human value="There can only be a repeat element if there is none or one event"/>
                <xpath value="not(exists(f:repeat)) or count(f:event) < 2"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="QSET<TS> (GTS)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.event"/>
            <definition>
              <short value="When the event occurs"/>
              <formal value="Identifies specific time periods when the event should occur."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="QLIST<TS> or PIVL.offset"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat"/>
            <definition>
              <short value="Only if there is none or one event"/>
              <formal value="Identifies a repeating pattern to the intended time periods."/>
              <comments value="If present, the Schedule.event indicates the time of the first occurrence."/>
              <min value="0"/>
              <max value="1"/>
              <constraint>
                <key value="3"/>
                <name value="End condition"/>
                <severity value="error"/>
                <human value="At most, only one of count and end can be present"/>
                <xpath value="not(exists(f:count) and exists(f:end))"/>
              </constraint>
              <constraint>
                <key value="2"/>
                <name value="Repeat cycle"/>
                <severity value="error"/>
                <human value="Either frequency or when SHALL be present, but not both"/>
                <xpath value="exists(f:frequency) != exists(f:when)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="Implies PIVL or EIVL"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.frequency"/>
            <definition>
              <short value="Event occurs frequency times per duration"/>
              <formal value="Indicates how often the event should occur."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PIVL.phase"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.when"/>
            <definition>
              <short value="HS | WAKE | AC | ACM | ACD | ACV | PC | PCM | PCD | PCV - common life events"/>
              <formal value="Identifies the occurrence of daily life that determine timing."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="EventTiming"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/event-timing"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="EIVL.event"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.duration"/>
            <definition>
              <short value="Repeating or event-related duration"/>
              <formal value="How long each repetition should last."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="4"/>
                <name value="Duration Positive"/>
                <severity value="error"/>
                <human value="duration SHALL be a positive value"/>
                <xpath value="@value > 0 or not(@value)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PIVL.phase / EIVL.offset"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.units"/>
            <definition>
              <short value="s | min | h | d | wk | mo | a - unit of time (UCUM)"/>
              <formal value="The units of time for the duration."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="UnitsOfTime"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/units-of-time"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="PIVL.phase.unit"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.count"/>
            <definition>
              <short value="Number of times to repeat"/>
              <formal value="A total count of the desired number of repetitions."/>
              <comments value="An end need not be specified."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PIVL.count"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Schedule.repeat.end"/>
            <definition>
              <short value="When to stop repeats"/>
              <formal value="When to stop repeats."/>
              <comments value="An end need not be specified."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="N/A"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Schedule from FHIR Specification

  </entry>
  <entry>
    <title>"contact" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/contact</id>
    <link href="http://hl7.org/implement/standards/fhir/contact.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Contact from FHIR Specification

        </text>
        <name value="Basic Profile for Contact"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Contact for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <mapping>
          <identity value="servd"/>
          <uri value="http://www.omg.org/spec/ServD/1.0/"/>
          <name value="ServD"/>
        </mapping>
        <structure>
          <type value="Contact"/>
          <element>
            <path value="Contact"/>
            <definition>
              <short value="Technology mediated contact details (phone, fax, email, etc)"/>
              <formal value="All kinds of technology mediated contact details for a person or organisation, including telephone, email, etc."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="2"/>
                <name value="System is required"/>
                <severity value="error"/>
                <human value="A system is required if a value is provided."/>
                <xpath value="not(exists(f:value)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="TEL"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XTN"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="ContactPoint"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Contact.system"/>
            <definition>
              <short value="phone | fax | email | url"/>
              <formal value="Telecommunications form for contact - what communications system is required to make use of the contact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <binding>
                <name value="ContactSystem"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/contact-system"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="./scheme"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XTN.3"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./ContactPointType"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Contact.value"/>
            <definition>
              <short value="The actual contact details"/>
              <formal value="The actual contact details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)."/>
              <comments value="additional out of band data such as extensions, or notes about use of the contact are sometimes included in the value."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./url"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XTN.1 (or XTN.12)"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./Value"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Contact.use"/>
            <definition>
              <short value="home | work | temp | old | mobile - purpose of this address"/>
              <formal value="Identifies the context for the address."/>
              <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old contact etc for a current/permanent one. Applications can assume that a contact is not temporary or old unless it explicitly says that it is."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="ContactUse"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/contact-use"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="unique(./use)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XTN.2 - but often indicated by field"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./ContactPointPurpose"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Contact.period"/>
            <definition>
              <short value="Time period when the contact was/is in use"/>
              <formal value="Time period when the contact was/is in use."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./useablePeriod[type="IVL<TS>"]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="N/A"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./StartDate and ./EndDate"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Contact from FHIR Specification

  </entry>
  <entry>
    <title>"address" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/address</id>
    <link href="http://hl7.org/implement/standards/fhir/address.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Address from FHIR Specification

        </text>
        <name value="Basic Profile for Address"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Address for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <mapping>
          <identity value="servd"/>
          <uri value="http://www.omg.org/spec/ServD/1.0/"/>
          <name value="ServD"/>
        </mapping>
        <mapping>
          <identity value="vcard"/>
          <uri value="http://w3.org/vcard"/>
          <name value="vCard"/>
        </mapping>
        <structure>
          <type value="Address"/>
          <element>
            <path value="Address"/>
            <definition>
              <short value="A postal address"/>
              <formal value="There is a variety of postal address formats defined around the world. This format defines a superset that is the basis for addresses all around the world."/>
              <comments value="Note: address is for postal addresses, not physical locations."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="Address"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.use"/>
            <definition>
              <short value="home | work | temp | old - purpose of this address"/>
              <formal value="The use of this address."/>
              <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old address etc for a current/permanent one. Applications can assume that an address is not temporary or old unless it explicitly says that it is."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="AddressUse"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/address-use"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="unique(./use)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.7"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./AddressPurpose"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.text"/>
            <definition>
              <short value="Text representation of the address"/>
              <formal value="A full text representation of the address."/>
              <comments value="Can provide both a text representation and parts."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./formatted"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.line"/>
            <definition>
              <short value="Street name, number, direction & P.O. Box etc"/>
              <formal value="This component contains the house number, apartment number, street name, street direction,
P.O. Box number, delivery hints, and similar address information."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD.part[parttype = AL]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)"/>
              </mapping>
              <mapping>
                <identity value="vcard"/>
                <map value="street address"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./StreetAddress (newline delimitted)"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.city"/>
            <definition>
              <short value="Name of city, town etc."/>
              <formal value="The name of the city, town, village or other community or delivery center."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD.part[parttype = CTY]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.3"/>
              </mapping>
              <mapping>
                <identity value="vcard"/>
                <map value="locality"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./Jurisdiction"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.state"/>
            <definition>
              <short value="Sub-unit of country (abreviations ok)"/>
              <formal value="Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD.part[parttype = STA]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.4"/>
              </mapping>
              <mapping>
                <identity value="vcard"/>
                <map value="region"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./Region"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.zip"/>
            <definition>
              <short value="Postal code for area"/>
              <formal value="A postal code designating a region defined by the postal service."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD.part[parttype = ZIP]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.5"/>
              </mapping>
              <mapping>
                <identity value="vcard"/>
                <map value="postal code"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./PostalIdentificationCode"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.country"/>
            <definition>
              <short value="Country (can be ISO 3166 3 letter code)"/>
              <formal value="Country. ISO 3166 3 letter codes can be used in place of a full country name."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="AD.part[parttype = CNT]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.6"/>
              </mapping>
              <mapping>
                <identity value="vcard"/>
                <map value="country name"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./Country"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Address.period"/>
            <definition>
              <short value="Time period when address was/is in use"/>
              <formal value="Time period when address was/is in use."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./usablePeriod[type="IVL<TS>"]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XAD.12 / XAD.13 + XAD.14"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./StartDate and ./EndDate"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Address from FHIR Specification

  </entry>
  <entry>
    <title>"humanname" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/humanname</id>
    <link href="http://hl7.org/implement/standards/fhir/humanname.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for HumanName from FHIR Specification

        </text>
        <name value="Basic Profile for HumanName"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for HumanName for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <mapping>
          <identity value="servd"/>
          <uri value="http://www.omg.org/spec/ServD/1.0/"/>
          <name value="ServD"/>
        </mapping>
        <structure>
          <type value="HumanName"/>
          <element>
            <path value="HumanName"/>
            <definition>
              <short value="Name of a human - parts and usage"/>
              <formal value="A human's name with the ability to identify parts and usage."/>
              <comments value="Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts may or may not be imbued with some implicit meaning; various cultures associate different importance with the name parts, and the degree to which systems must care about name parts around the world varies widely."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="EN (actually, PN)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="ProviderName"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.use"/>
            <definition>
              <short value="usual | official | temp | nickname | anonymous | old | maiden"/>
              <formal value="Identifies the purpose for this name."/>
              <comments value="This is labeled as "Is Modifier" because applications should not mistake a temporary or old name etc for a current/permanent one. Applications can assume that a name is not temporary or old unless it explicitly says that it is."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="NameUse"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/name-use"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="unique(./use)"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN.7, but often indicated by which field contains the name"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./NamePurpose"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.text"/>
            <definition>
              <short value="Text representation of the full name"/>
              <formal value="A full text representation of the name."/>
              <comments value="Can provide both a text representation and structured parts."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./formatted"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="implied by XPN.11"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.family"/>
            <definition>
              <short value="Family name (often called 'Surname')"/>
              <formal value="Family name, this is the name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father."/>
              <comments value="For family name, hyphenated names such as "Smith-Jones" are a single name, but names with spaces such as "Smith Jones" are broken into multiple parts."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./part[partType = FAM]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN.1"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./FamilyName"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.given"/>
            <definition>
              <short value="Given names (not always 'first'). Includes middle names"/>
              <formal value="Given name. NOTE: Not to be called "first name" since given names do not always come first."/>
              <comments value="If only initials are recorded, they may be used in place of the full name."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./part[partType = GIV]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN.2 + XPN.3"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./GivenNames"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.prefix"/>
            <definition>
              <short value="Parts that come before the name"/>
              <formal value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that comes at the start of the name."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./part[partType = PFX]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN.5"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./TitleCode"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.suffix"/>
            <definition>
              <short value="Parts that come after the name"/>
              <formal value="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that comes at the end of the name."/>
              <min value="0"/>
              <max value="*"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./part[partType = SFX]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN/4"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="HumanName.period"/>
            <definition>
              <short value="Time period when name was/is in use"/>
              <formal value="Indicates the period of time when this name was valid for the named person."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="./usablePeriod[type="IVL<TS>"]"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="XPN.13 + XPN.14"/>
              </mapping>
              <mapping>
                <identity value="servd"/>
                <map value="./StartDate and ./EndDate"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for HumanName from FHIR Specification

  </entry>
  <entry>
    <title>"age" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/age</id>
    <link href="http://hl7.org/implement/standards/fhir/age.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Profile for Age on Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Age on Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <name value="Age"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
  <entry>
    <title>"count" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/count</id>
    <link href="http://hl7.org/implement/standards/fhir/count.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Profile for Count on Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Count on Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <name value="Count"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
  <entry>
    <title>"money" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/money</id>
    <link href="http://hl7.org/implement/standards/fhir/money.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Profile for Money on Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Money on Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <name value="Money"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
  <entry>
    <title>"distance" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/distance</id>
    <link href="http://hl7.org/implement/standards/fhir/distance.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Profile for Distance on Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Distance on Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <name value="Distance"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
  <entry>
    <title>"duration" as a profile (to help derivation)</title>
    <id>http://hl7.org/fhir/profile/duration</id>
    <link href="http://hl7.org/implement/standards/fhir/duration.profile.xml" rel="self"/>
    <updated>2013-12-18T09:55:33.799+11:00</updated>
    <author>
      <name>HL7, Inc (FHIR Project)</name>
      <uri>http://hl7.org/fhir</uri>
    </author>
    <published>2013-12-18T09:55:33.799+11:00</published>
    <content type="text/xml">
      <Profile xmlns="http://hl7.org/fhir">
        <text>
          <status value="generated"/>

Type definition for Quantity from FHIR Specification

        </text>
        <name value="Profile for Duration on Quantity"/>
        <publisher value="FHIR Specification"/>
        <description value="Basic Profile for Duration on Quantity for validation support"/>
        <status value="draft"/>
        <date value="2013-12-18"/>
        <mapping>
          <identity value="rim"/>
          <uri value="http://hl7.org/v3"/>
          <name value="RIM"/>
        </mapping>
        <mapping>
          <identity value="v2"/>
          <uri value="http://hl7.org/v2"/>
          <name value="HL7 v2"/>
        </mapping>
        <structure>
          <type value="Quantity"/>
          <name value="Duration"/>
          <element>
            <path value="Quantity"/>
            <definition>
              <short value="A measured or measurable amount"/>
              <formal value="A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies."/>
              <comments value="The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for status."/>
              <min value="1"/>
              <max value="1"/>
              <type>

              </type>
              <constraint>
                <key value="3"/>
                <name value="SHALL have a system"/>
                <severity value="error"/>
                <human value="If a code for the units is present, the system SHALL also be present"/>
                <xpath value="not(exists(f:code)) or exists(f:system)"/>
              </constraint>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ, IVL<PQ>, MO, CO, depending on the values"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN (see also Range) or CQ"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.value"/>
            <definition>
              <short value="Numerical value (with implicit precision)"/>
              <formal value="The value of the measured amount. The value includes an implicit precision in the presentation of the value."/>
              <comments value="The implicit precision should always be honored. Currency has its own rules for handling precision."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.2  / CQ - N/A"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.comparator"/>
            <definition>
              <short value="< | <= | >= | > - how to understand the value"/>
              <formal value="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues. E.g. if the comparator is "<" , then the real value is < stated value."/>
              <comments value="This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no impact."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="true"/>
              <binding>
                <name value="QuantityCompararator"/>
                <isExtensible value="false"/>
                <conformance value="required"/>
                <referenceResource>
                  <reference value="http://hl7.org/fhir/vs/quantity-comparator"/>
                </referenceResource>
              </binding>
              <mapping>
                <identity value="rim"/>
                <map value="IVL properties"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="SN.1  / CQ.1"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.units"/>
            <definition>
              <short value="Unit representation"/>
              <formal value="A human-readable form of the units."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.unit"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.system"/>
            <definition>
              <short value="System that defines coded unit form"/>
              <formal value="The identification of the system that provides the coded form of the unit."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="CO.codeSystem, PQ.translation.codeSystem"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
          <element>
            <path value="Quantity.code"/>
            <definition>
              <short value="Coded form of the unit"/>
              <formal value="A computer processable form of the units in some unit representation system."/>
              <comments value="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.

The context of use may additionally require a code from a particular system (Unless the Quantity element has a dataAbsentReason flag)."/>
              <min value="0"/>
              <max value="1"/>
              <type>

              </type>
              <isModifier value="false"/>
              <mapping>
                <identity value="rim"/>
                <map value="PQ.code, MO.currency, PQ.translation.code"/>
              </mapping>
              <mapping>
                <identity value="v2"/>
                <map value="(see OBX.6 etc) / CQ.2"/>
              </mapping>
            </definition>
          </element>
        </structure>
      </Profile>
    </content>

Type definition for Quantity from FHIR Specification

  </entry>
</feed>