<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Observation" />
  <url value="http://StructureDefinition.hl7fhir.cn/Observation" />
  <name value="Observation" />
  <title value="临床观测" />
  <status value="draft" />
  <description value="对目标（患者、设备或其它对象）进行检测、观察后的观测结果。用于简单的观测，如设备测量、实验室细项结果、生命体征、身高、体重、吸烟状态等。检验报告类资源通过引用多个观测资源后才具有临床意义。" />
  <fhirVersion value="4.0.0" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </mapping>
  <mapping>
    <identity value="sct-concept" />
    <uri value="http://snomed.info/conceptdomain" />
    <name value="SNOMED CT Concept Domain Binding" />
  </mapping>
  <mapping>
    <identity value="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <mapping>
    <identity value="rim" />
    <uri value="http://hl7.org/v3" />
    <name value="RIM Mapping" />
  </mapping>
  <mapping>
    <identity value="w5" />
    <uri value="http://hl7.org/fhir/fivews" />
    <name value="FiveWs Pattern Mapping" />
  </mapping>
  <mapping>
    <identity value="sct-attr" />
    <uri value="http://snomed.org/attributebinding" />
    <name value="SNOMED CT Attribute Binding" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <snapshot>
    <element id="Observation">
      <path value="Observation" />
      <short value="观测结果" />
      <definition value="对目标（患者、设备或其它对象）进行检测、观察后的观测结果。" />
      <comment value="用于简单的观测，如设备测量、实验室细项结果、生命体征、身高、体重、吸烟状态等。检验报告类资源通过引用多个观测资源后才具有临床意义。" />
      <alias value="Vital Signs" />
      <alias value="Measurement" />
      <alias value="Results" />
      <alias value="Tests" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation" />
        <min value="0" />
        <max value="*" />
      </base>
      <constraint>
        <key value="dom-2" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL NOT contain nested Resources" />
        <expression value="contained.contained.empty()" />
        <xpath value="not(parent::f:contained and f:contained)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-4" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" />
        <expression value="contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-3" />
        <severity value="error" />
        <human value="If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" />
        <expression value="contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" />
        <xpath value="not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice">
          <valueBoolean value="true" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation">
          <valueMarkdown value="When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." />
        </extension>
        <key value="dom-6" />
        <severity value="warning" />
        <human value="A resource should have narrative for robust management" />
        <expression value="text.`div`.exists()" />
        <xpath value="exists(f:text/h:div)" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="dom-5" />
        <severity value="error" />
        <human value="If a resource is contained in another resource, it SHALL NOT have a security label" />
        <expression value="contained.meta.security.empty()" />
        <xpath value="not(exists(f:contained/*/f:meta/f:security))" />
        <source value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
      </constraint>
      <constraint>
        <key value="obs-7" />
        <severity value="error" />
        <human value="If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present" />
        <expression value="value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()" />
        <xpath value="not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <constraint>
        <key value="obs-6" />
        <severity value="error" />
        <human value="dataAbsentReason SHALL only be present if Observation.value[x] is not present" />
        <expression value="dataAbsentReason.empty() or value.empty()" />
        <xpath value="not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 363787002 |Observable entity|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="Observation.id">
      <path value="Observation.id" />
      <short value="Logical id of this artifact" />
      <definition value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." />
      <comment value="The only time that a resource does not have an id is when it is being submitted to the server using a create operation." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <isSummary value="true" />
    </element>
    <element id="Observation.meta">
      <path value="Observation.meta" />
      <short value="Metadata about the resource" />
      <definition value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.meta" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Meta" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.implicitRules">
      <path value="Observation.implicitRules" />
      <short value="A set of rules under which this content was created" />
      <definition value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." />
      <comment value="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.implicitRules" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="uri" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.language">
      <path value="Observation.language" />
      <short value="Language of the resource content" />
      <definition value="The base language in which the resource is written." />
      <comment value="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Resource.language" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet">
          <valueCanonical value="http://hl7.org/fhir/ValueSet/all-languages" />
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Language" />
        </extension>
        <strength value="preferred" />
        <description value="A human language." />
        <valueSet value="http://hl7.org/fhir/ValueSet/languages" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.text">
      <path value="Observation.text" />
      <short value="Text summary of the resource, for human interpretation" />
      <definition value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." />
      <comment value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later." />
      <alias value="narrative" />
      <alias value="html" />
      <alias value="xhtml" />
      <alias value="display" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="DomainResource.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Narrative" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act.text?" />
      </mapping>
    </element>
    <element id="Observation.contained">
      <path value="Observation.contained" />
      <short value="Contained, inline Resources" />
      <definition value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." />
      <comment value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." />
      <alias value="inline resources" />
      <alias value="anonymous resources" />
      <alias value="contained resources" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.contained" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Resource" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="Entity. Role, or Act" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.extension">
      <path value="Observation.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.modifierExtension">
      <path value="Observation.modifierExtension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Extensions that cannot be ignored" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="DomainResource.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.identifier">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
        <valueCode value="normative" />
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version">
        <valueCode value="4.0.0" />
      </extension>
      <path value="Observation.identifier" />
      <short value="业务标识符" />
      <definition value="标识符，唯一且明确地标识某个域中的实体。常用作业务标识符，在不同业务域中的唯一标识ID。在很多场景下可作为交叉索引使用。" />
      <comment value="业务ID不是资源服务器上的逻辑ID（非标识主键）" />
      <requirements value="用于区分观测资源的实例，同时便于利用业务ID引用观测内容" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.identifier" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Identifier" />
        <profile value="http://StructureDefinition.hl7fhir.cn/Identifier" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </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="rim" />
        <map value="II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]" />
      </mapping>
      <mapping>
        <identity value="servd" />
        <map value="Identifier" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.identifier" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.identifier" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX.21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="id" />
      </mapping>
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <short value="产生原由事件" />
      <definition value="为了满足此元素引用的事件（处方、医嘱、检验检查申请、照护计划等）才导致此观测资源的产生。例如，药品处方可能要求在发药之前对患者进行检验检查。" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="通过此元素可实现追溯与跟踪管理：一方面可以用于确认此观测事件是否已通过授权，另一方面还可以跟踪医嘱或申请单是否执行。" />
      <alias value="Fulfills" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.basedOn" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/CarePlan" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationRequest" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ServiceRequest" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/NutritionOrder" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImmunizationRecommendation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DeviceRequest" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.basedOn" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="ORC" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" />
      </mapping>
    </element>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <short value="父事件" />
      <definition value="包含此观测资源的一个更大的事件（如：治疗、用药记录、发药、免疫接种等），此观测资源仅作为其中的一个组成部分或步骤。" />
      <comment value="若要将观测资源与医疗就诊资源相关联，应使用“Observation.encounter”元素。&#xD;&#xA;两个观测资源之间的关联请参阅Observation.hasMember和Observation.derivedFrom元素。" />
      <alias value="Container" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.partOf" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationAdministration" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationDispense" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationStatement" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Procedure" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Immunization" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImagingStudy" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.partOf" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Varies by domain" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=FLFS].target" />
      </mapping>
    </element>
    <element id="Observation.status">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="default: final" />
      </extension>
      <path value="Observation.status" />
      <short value="状态" />
      <definition value="观测结果值的状态&#xD;&#xA;registered | preliminary | final | amended | corrected |  entered-in-error | unknown" />
      <comment value="此元素值的改变可能影响整个资源的意义。" />
      <requirements value="需要对单个观测结果的状态进行跟踪。有些观测结果可能在整体报告审核之前就已通过审核。" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Observation.status" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="code" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="当此状态码为“entered-in-error”时，表示当前资源无效。" />
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationStatus" />
        </extension>
        <strength value="required" />
        <description value="Codes providing the status of an observation." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-status|4.0.1" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.status" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.status" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 445584004 |Report by finality status|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-11" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="status  Amended &amp; Final are differentiated by whether it is the subject of a ControlAct event with a type of &quot;revise&quot;" />
      </mapping>
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <short value="类别" />
      <definition value="用来表示观观测分类的代码" />
      <comment value="除了建议的类别值域集之外，还可以从其它维度自定义分类方案，并且可以同时使用多个类别。分类的粒度粗细由值域集中的概念定义。" />
      <requirements value="用于对观测资源进行筛选检索和分类显示。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.category" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCategory" />
        </extension>
        <strength value="preferred" />
        <description value="Codes for high level observation categories." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-category" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.class" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=&quot;COMP].target[classCode=&quot;LIST&quot;, moodCode=&quot;EVN&quot;].code" />
      </mapping>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="观测代码（名称)" />
      <definition value="用编码表示观测到的内容。可以看作观测“项目名称”。" />
      <comment value="如果Observation.component不为空，则需要将component元素中所有的值（编码-值对）结合此元素一起综合考虑，才能正确理解观测结果的含义。" />
      <requirements value="精确的理解正在进行的是什么观测非常重要。" />
      <alias value="Name" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Observation.code" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCode" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying names of simple observations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.code" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 363787002 |Observable entity| OR &lt; 386053000 |Evaluation procedure|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="code" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="116680003 |Is a|" />
      </mapping>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="观测目标对象" />
      <definition value="观测目标对象是一名患者或一组患者、位置或设备，观测结果记录在此对象的病历或报告中。 如果实际参与直接测量的观测对象与此目标对象（或对象的样本、部位）不同，应使用“Observation.focus”元素指定观测的实际测量对象， 并通过“Observation.code”来精确的表达观测的实际内容。" />
      <comment value="除非由是某设备对某未知患者做的观测结果，否则此元素是必填项。 尽管如此，也必须在后期通过某种匹配技术将观测结果与患者关联，补充此元素并更新此观测结果。" />
      <requirements value="如果不知道观测对象是谁或什么，那么此观测就没有意义。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.subject" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Group" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Location" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.subject" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="PID-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=RTGT]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <short value="实际参与直接测量的观测对象" />
      <definition value="当观测对象实际关注的并不是病历中的患者时，用于表示与患者相关的实际参与直接测量的观测对象，比如配偶、父母、胎儿或捐赠者。例如，母亲病历中对胎儿的观测。 观测的关注点也可以是当前病症、干预效果、目标的饮食、目标的另一个观测或体内物质（如肿瘤或植入装置）。 另一个例子是使用观测资源来表示母亲是否接受过更换其孩子气管套管的培训，在此场景下孩子是病历中的病人，母亲则是观测资源实际参与直接测量的观测对象。" />
      <comment value="观测目标对象通常是一名患者或一组患者、位置或设备。 目标对象和实际参与直接测量的观测对象之间的区别不需要使用此元素单独表示，而是应该通过指定具体的观测代码（Observation.code）来区分。 如果需要引用观测使用的标本，应使用“Observation.specimen”元素。 如果想表示具体观测的身体部位，应使用“Observation.bodysite”元素。 如果需要用编码而不用资源来表示此元素，可以使用focusCode扩展（http://hl7.org/fhir/StructureDefinition/observation-focusCode）。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.focus" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Group" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Location" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=SBJ]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.subject" />
      </mapping>
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <short value="医疗就诊活动" />
      <definition value="在此医疗就诊活动（比如某次门诊、住院）期间产生的观测结果。" />
      <comment value="这通常是发生在此医疗就诊活动期间的观测事件。虽然某些事件可能在医疗就诊活动之前或在完成之后发生，但仍在其相关（例如入院前检查）" />
      <requirements value="对于某些观测项目来说，了解与其相关的具体医疗就诊活动很重要。" />
      <alias value="Context" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.encounter" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Encounter" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.context" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.context" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="PV1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <short value="发生时间" />
      <definition value="观测发生的真实时间或时段。这通常是治疗或标本采集的时间，但此时间数据的来源可能未知。" />
      <comment value="此元素至少应该提供一个日期，除非这是一个历史观测。 要记录不精确或“模糊”的时间（如，餐后血糖），请使用Timing数据类型，它用于测量与日常生活事件相关的时间。" />
      <requirements value="观测发生的真实时间对其相关性以及趋势判定都很重要。" />
      <alias value="Occurrence" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.effective[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Timing" />
      </type>
      <type>
        <code value="instant" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.occurrence[x]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.done[x]" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-14, and/or OBX-19 after v2.4  (depends on who observation made)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="effectiveTime" />
      </mapping>
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <short value="正式发布时间" />
      <definition value="观测结果的发布日期和时间，通常是在审核和确认之后才发布。" />
      <comment value="对于不需要审核和确认的观测，此元素的值可能与资源本身的“Meta.lastUpdated”时间相同。 有些观测则需要在其更新时进行审核和确认，这时此元素的时间可能早于资源本身的“Meta.lastUpdated”时间， 因为当更新的不是重要的临床信息时，不需要重新审核和发布，此时更新资源并不会更新此元素的值。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.issued" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="instant" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.recorded" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=AUT].time" />
      </mapping>
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <short value="执行者" />
      <definition value="对观测值的准备性负责的人" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository." />
      <requirements value="可增加观测结果的可信度，同时明确了后续问题的责任人。" />
      <alias value="责任人" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.performer" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Practitioner" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/PractitionerRole" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Organization" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/CareTeam" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/RelatedPerson" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="workflow" />
        <map value="Event.performer.actor" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.actor" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX.15 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=PRF]" />
      </mapping>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <short value="实际的观测结果值" />
      <definition value="若观测结果是一个简单值，则可以通过此元素来表示观测产生的结果信息。" />
      <comment value="一个观测值可以是：1）此元素的单个值， 2）此单个值和observation.component元素中一组相关或明细指标的值，或者 3）仅使用observation.component元素中一组相关或明细指标的值。 如果此元素值不为空，则其数据类型应通过Observation.code确定。 如果此元素有固定的编码，或者由Observation.code定义了编码值，则对值的文本描述应该使用一个只有text元素的CodeableConcept数据类型来表示，而不用字符串类型。" />
      <requirements value="观测资源都应该有值，除非有错误产生，或者它代表着一组观测。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-7" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 441742003 |Evaluation finding|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX.2, OBX.5, OBX.6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="363714003 |Interprets|" />
      </mapping>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <short value="无结果值或出错的原因" />
      <definition value="如果Observation.value[x]缺少值，通过此元素说明缺失的原因。或者在检测过程中出现异常也可以用此元素来说明出错原因。" />
      <comment value="在FHIR中，观测资源的空值（Null）或异常值有两种表示方法：一种方法是使用值域集，简单地将它们作为其中的概念来表示异常。 例如，血清检测的观测资源值可以是“检测”、“未检测”、“不确定”或“样本不合格”。 另一种方法是使用value元素记录实际观测结果，同时使用dataAbsentReason元素记录异常值。 例如，当检测未完成时，可以将“error”编码赋值给dataAbsentReason元素。 注意，只有当有观测值时才能报告。例如，只有细胞计数值当大于0时才能报告。 所以在实际用例中需要使用以上两种方法之一对观测的空值或异常值进行解释。" />
      <requirements value="大部分在检测中出现的观测结果异常值都有必要处理。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.dataAbsentReason" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-6" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationValueAbsentReason" />
        </extension>
        <strength value="extensible" />
        <description value="Codes specifying why the result (`Observation.value[x]`) is missing." />
        <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value.nullFlavor" />
      </mapping>
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <short value="结果解释" />
      <definition value="对观测值的分类评估。例如，高、低、正常。" />
      <comment value="以前作为实验室结果的“异常标志”来使用，现在使用范围得到了扩展（扩展范围与其绑定的值域集中编码的含义相对应）。 此元素在报告中呈现方式通常是显示在观测结果值旁边的代码或符号，以表示结果的含义或正常状态。" />
      <requirements value="为了充分理解观测结果的重要性，有必要对某些结果（特别是数值性结果或危急值）进行解释。" />
      <alias value="Abnormal Flag" />
      <alias value="异常标志" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.interpretation" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationInterpretation" />
        </extension>
        <strength value="extensible" />
        <description value="Codes identifying interpretations of observations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="363713009 |Has interpretation|" />
      </mapping>
    </element>
    <element id="Observation.note">
      <path value="Observation.note" />
      <short value="备注" />
      <definition value="对观测或结果的备注或评论。" />
      <comment value="可能包括对观测结果的一般性陈述，或关于重大、意外或不可靠结果值的陈述，或与Observation.interpretation的相关信息。" />
      <requirements value="提供自由文本附加信息很有必要。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.note" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Annotation" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Act" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="subjectOf.observationEvent[code=&quot;annotation&quot;].value" />
      </mapping>
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <short value="观测部位" />
      <definition value="在患者身体上进行观测的部位（即目标位置）。" />
      <comment value="仅当Observation.code的概念中没有包含位置信息时才使用此元素。在有些系统中，可以用此元素来表示相关的观测，而不是作为此观测所包含的一部分。 在某些场景下可能需要使用单独的身体结构资源（BodyStructure），比如用于标识和跟踪不同的身体部位。 这种情况应该用一扩展元素来解决，参见BodyStructure引用扩展（http://hl7.org/fhir/extension-bodysite.html）。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.bodySite" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="BodySite" />
        </extension>
        <strength value="example" />
        <description value="Codes describing anatomical locations. May include laterality." />
        <valueSet value="http://hl7.org/fhir/ValueSet/body-site" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 123037004 |Body structure|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-20" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="targetSiteCode" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="718497002 |Inherent location|" />
      </mapping>
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <short value="实验方法" />
      <definition value="用于明确执行观测时所使用的方法和机制。" />
      <comment value="仅当Observation.code的编码值的概念中没有暗含观测方法时才使用此元素。" />
      <requirements value="在某些情况下，不同的观测（检验/实验）方法会产生不同的观测结果，所以仅当观测方法相同时所产生的结果才具有可比性，同理只有在明确了观测方法后才能确定结果值的意义。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.method" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationMethod" />
        </extension>
        <strength value="example" />
        <description value="Methods for simple observations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-methods" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-17" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="methodCode" />
      </mapping>
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <short value="观测使用的标本" />
      <definition value="执行观测时所使用的样本或标本。" />
      <comment value="仅当Observation.code的编码值的概念中没有暗含观测所使用的标本时才使用此元素。 虽然观测针是对目标（患者等）进行的，但在很多情况下需要通过标本作为载体才能完成具体的观测。 注意，观测资源中包含的标本信息并不一定会很精确。 另外，观测资源可用于对标本进行精确追踪时的场景（例如诊断报告）。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.specimen" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Specimen" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 123038009 |Specimen|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SPM segment" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=SPC].specimen" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="704319004 |Inherent in|" />
      </mapping>
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <short value="测量仪器" />
      <definition value="用来产生观测数据的仪器设备。" />
      <comment value="注意，这里的设备不是指用于传输结果的相关设备，例如网关。与网络的相关设备应使用处出资源（Provenance）来记录。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.device" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DeviceMetric" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 49062001 |Device|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-17 / PRT -10" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="participation[typeCode=DEV]" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="424226004 |Using device|" />
      </mapping>
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <short value="参考范围" />
      <definition value="观测结果的正常范围或推荐的参考范围，通此元素提供的范围值和实际结果值的比较，可以从量级上解释观测结果的意义。 若此元素有多个范围值，这些值之间是“或者”关系。 换句话说，可以使用两个“referenceRange”元素来表示两个范围的并集。" />
      <comment value="多数观测值只有一个通用参考范围。 系统可能会根据对患者的相关信息（如年龄、性别、体重和其他信息）来提供更个性化的参考范围，但这可能是不可能或不适当的。 当提供多个参考范围时，应该通过“适用人群”（Observation.referenceRange.appliesTo）和”适用年龄段“（Observation.referenceRange.age） 来区分它们。" />
      <requirements value="清楚哪些观测值是属于“正常”的，对评估观测结果的临床意义性很有帮助。不同的临床场景也需要使用不同的“参考范围”。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.referenceRange" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="obs-3" />
        <severity value="error" />
        <human value="Must have at least a low or a high or text" />
        <expression value="low.exists() or high.exists() or text.exists()" />
        <xpath value="(exists(f:low) or exists(f:high)or exists(f:text))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Observation" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.id">
      <path value="Observation.referenceRange.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.extension">
      <path value="Observation.referenceRange.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.modifierExtension">
      <path value="Observation.referenceRange.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.low">
      <path value="Observation.referenceRange.low" />
      <short value="下限值" />
      <definition value="参考范围下限的值。参考范围边界的下限包含该值（例如，参考范围&gt;=5 - &lt;=9）。如果下限值无临床意义，则可能不填（例如，参考范围&lt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <alias value="最低值" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.low" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-3" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:IVL_PQ.low" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.high">
      <path value="Observation.referenceRange.high" />
      <short value="上限值" />
      <definition value="参考范围上限的值。参考范围边界的上限包含该值，例如，参考范围为：（&gt;=5 - &lt;=9），此时上限值为9。如果上限值无临床意义，则可能不填（例如，参考范围&gt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <alias value="最高值" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.high" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-3" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:IVL_PQ.high" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.type">
      <path value="Observation.referenceRange.type" />
      <short value="范围的类型" />
      <definition value="用编码来表示参考范围的分类意义。例如，正常范围或治疗范围。" />
      <comment value="当提供多个参考范围时，应该为此元素赋值，以区分不同范围的意义。" />
      <requirements value="为正解的理解范围的意义，需要说明参考范围的类型，如：正常范围、推荐范围，治疗范围等等。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.type" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <meaningWhenMissing value="默认情况下，缺失此元素意味着：“正常范围”，" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationRangeMeaning" />
        </extension>
        <strength value="preferred" />
        <description value="Code for the meaning of a reference range." />
        <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-10" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.appliesTo">
      <path value="Observation.referenceRange.appliesTo" />
      <short value="适用人群" />
      <definition value="用编码来表示此参考范围的适用目标人群。例如，正常人群、特定性别或种族对此参考范围适用。 若提供多个“appliesTo”元素提供值，则这些编码值之间是“并且”关系，即多个目标群体取交集。 例如，一个代表“女人”的编码加上一个代表“非裔美国人”的编码，意味着目标人群为“非裔美国女性”。" />
      <comment value="如果有多个参考范围，则应该提供此元素。" />
      <requirements value="为正确理解参考范围的意义，需要能够识别目标人群。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.referenceRange.appliesTo" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <meaningWhenMissing value="如果没有提供此元素，则默认为“正常群体”。" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationRangeType" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying the population the reference range applies to." />
        <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-10" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.age">
      <path value="Observation.referenceRange.age" />
      <short value="适用年龄段" />
      <definition value="此参考范围适用的年龄段，包括新生儿年龄（例如足月的周数）。" />
      <comment value="年龄段应该是大于0并且小于观测目标的最大可能年龄" />
      <requirements value="有些分析对年龄很敏感。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.age" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Range" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="rng-2" />
        <severity value="error" />
        <human value="If present, low SHALL have a lower value than high" />
        <expression value="low.empty() or high.empty() or (low &lt;= 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) &lt;= number(f:high/f:value/@value))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Range" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR and also possibly SN (but see also quantity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="IVL&lt;QTY[not(type=&quot;TS&quot;)]&gt; [lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;]or URG&lt;QTY[not(type=&quot;TS&quot;)]&gt;" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.age.id">
      <path value="Observation.referenceRange.age.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.age.extension">
      <path value="Observation.referenceRange.age.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.age.low">
      <path value="Observation.referenceRange.age.low" />
      <short value="最小年龄" />
      <definition value="最小年龄不应小于0，并大于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.low" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./low" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.age.high">
      <path value="Observation.referenceRange.age.high" />
      <short value="最大年龄" />
      <definition value="年龄小于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.high" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./high" />
      </mapping>
    </element>
    <element id="Observation.referenceRange.text">
      <path value="Observation.referenceRange.text" />
      <short value="文本描述" />
      <definition value="当定量的参考范围不适合时，用文本描述的观测参考范围。例如，参考值是“负数”或“正常值列表”。" />
      <comment value="注意，FHIR中的字符串大小不能超过1MB。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:ST" />
      </mapping>
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <short value="组成员" />
      <definition value="当此观测是作为一组观测(（例如电池、一组检验、一组生命体征测量）)中的一个时，用此元素来引用该组中的其它组成员。" />
      <comment value="使用此元素时，引用的观测资源通常都会有值，并且可能还会有一组相关资源。&#xD;&#xA;注意，系统可能会将“答卷资源”（QuestionnaireResponse）的结果计算为用观测值来表示的最终分数。&#xD;&#xA;组合使用观测的更多信息请参见 http://hl7.org/fhir/observation.html#obsgrouping" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.hasMember" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Observation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/QuestionnaireResponse" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MolecularSequence" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Relationships established by OBX-4 usage" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship" />
      </mapping>
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <short value="作为依据的相关测量" />
      <definition value="基于哪个资源得出此观测结果。例如，基于超声图像的胎儿大小测量。" />
      <comment value="此元素中列出的资源可以是临床观测，也可以是其他测量，此观测的值来源于这些测量中。最常见的情况此元素会引用另一个观测资源。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.derivedFrom" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Observation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DocumentReference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImagingStudy" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Media" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/QuestionnaireResponse" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MolecularSequence" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ref-1" />
        <severity value="error" />
        <human value="SHALL have a contained resource if a local reference is provided" />
        <expression value="reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))" />
        <xpath value="not(starts-with(f:reference/@value, '#')) or exists(ancestor::*[self::f:entry or self::f:parameter]/f:resource/f:*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')]|/*/f:contained/f:*[f:id/@value=substring-after(current()/f:reference/@value, '#')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Reference" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="The target of a resource reference is a RIM entry point (Act, Role, or Entity)" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="Relationships established by OBX-4 usage" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".targetObservation" />
      </mapping>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <short value="明细项目" />
      <definition value="有些观测是由多个明细观测项构成的。这些明细观测共享相同属性,但有各自不同的“编码-值”对。 例如：血压测量的明细观测分为收缩压和舒张压。" />
      <comment value="关于观测资源的组成和组合使用，可参见 http://hl7.org/fhir/observation.html#notes" />
      <requirements value="明细观测作为主观测资源的一部分（不可分开使用）共享主观测资源中的属性， 但主观测值的参考范围是不共享使用的，每个明细观测的参考范围可以独立设置。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.component" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="containment by OBX-4?" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outBoundRelationship[typeCode=COMP]" />
      </mapping>
    </element>
    <element id="Observation.component.id">
      <path value="Observation.component.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.component.extension">
      <path value="Observation.component.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.component.modifierExtension">
      <path value="Observation.component.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.component.code">
      <path value="Observation.component.code" />
      <short value="观测明细项目代码" />
      <definition value="以编码的形式描述观测到的内容。有时这被称为“观测代码”。" />
      <comment value="如果Observation.component不为空，则需要将component元素中所有的值（编码-值对）结合此元素一起综合考虑，才能正确理解主观测结果的含义。" />
      <requirements value="精确的理解正在进行的是什么观测非常重要。" />
      <min value="1" />
      <max value="1" />
      <base>
        <path value="Observation.component.code" />
        <min value="1" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationCode" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying names of simple observations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-codes" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="FiveWs.what[x]" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 363787002 |Observable entity| OR &#xD;&lt; 386053000 |Evaluation procedure|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="code" />
      </mapping>
    </element>
    <element id="Observation.component.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="实际的明细结果值" />
      <definition value="若观测结果是一个简单值，则可以通过此元素来表示观测产生的结果信息。" />
      <comment value="当观测资源存在一组observation.component元素时，它可能同时具有一个结果值（例如Apgar评分）和明细观测项（Apgar评分中的每一个评分项）。 如果此元素值不为空，则其数据类型应通过Observation.code确定。 如果此元素有固定的编码，或者由Observation.code定义了编码值，则对值的文本描述应该使用一个只有text元素的CodeableConcept数据类型来表示，而不用字符串类型。" />
      <requirements value="除非有错误产生，否则都应该有值" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.component.value[x]" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
      </type>
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="integer" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="Ratio" />
      </type>
      <type>
        <code value="SampledData" />
      </type>
      <type>
        <code value="time" />
      </type>
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="363714003 |Interprets| &lt; 441742003 |Evaluation finding|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX.2, OBX.5, OBX.6" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="363714003 |Interprets|" />
      </mapping>
    </element>
    <element id="Observation.component.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <short value="无结果值或出错的原因" />
      <definition value="如果Observation.value[x]缺少值，通过此元素说明缺失的原因。或者在检测过程中出现异常也可以用此元素来说明出错原因。" />
      <comment value="在FHIR中，观测资源的空值（Null）或异常值有两种表示方法：一种方法是使用值域集，简单地将它们作为其中的概念来表示异常。 例如，血清检测的观测资源值可以是“检测”、“未检测”、“不确定”或“样本不合格”。 另一种方法是使用value元素记录实际观测结果，同时使用dataAbsentReason元素记录异常值。 例如，当检测未完成时，可以将“error”编码赋值给dataAbsentReason元素。 注意，只有当有观测值时才能报告。例如，只有细胞计数值当大于0时才能报告。 所以在实际用例中需要使用以上两种方法之一对观测的空值或异常值进行解释。" />
      <requirements value="大部分在检测中出现的观测结果异常值都有必要处理。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.component.dataAbsentReason" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-6" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationValueAbsentReason" />
        </extension>
        <strength value="extensible" />
        <description value="Codes specifying why the result (`Observation.value[x]`) is missing." />
        <valueSet value="http://hl7.org/fhir/ValueSet/data-absent-reason" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="N/A" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value.nullFlavor" />
      </mapping>
    </element>
    <element id="Observation.component.interpretation">
      <path value="Observation.component.interpretation" />
      <short value="结果解释" />
      <definition value="对明细观测值的分类评估。例如，高、低、正常。" />
      <comment value="以前作为实验室结果的“异常标志”来使用，现在使用范围得到了扩展（扩展范围与其绑定的值域集中编码的含义相对应）。 此元素在报告中呈现方式通常是显示在观测结果值旁边的代码或符号，以表示结果的含义或正常状态。" />
      <requirements value="为了充分理解观测结果的重要性，有必要对某些结果（特别是数值性结果或危急值）进行解释。" />
      <alias value="Abnormal Flag" />
      <alias value="异常标志" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.component.interpretation" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationInterpretation" />
        </extension>
        <strength value="extensible" />
        <description value="Codes identifying interpretations of observations." />
        <valueSet value="http://hl7.org/fhir/ValueSet/observation-interpretation" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-8" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
      <mapping>
        <identity value="sct-attr" />
        <map value="363713009 |Has interpretation|" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange">
      <path value="Observation.component.referenceRange" />
      <short value="参考范围" />
      <definition value="观测结果的正常范围或推荐的参考范围，通此元素提供的范围值和实际结果值的比较，可以从量级上解释观测结果的意义。 若此元素有多个范围值，这些值之间是“或者”关系。 换句话说，可以使用两个“referenceRange”元素来表示两个范围的并集。" />
      <comment value="多数观测值只有一个通用参考范围。 系统可能会根据对患者的相关信息（如年龄、性别、体重和其他信息）来提供更个性化的参考范围，但这可能是不可能或不适当的。 当提供多个参考范围时，应该通过“适用人群”（Observation.referenceRange.appliesTo）和”适用年龄段“（Observation.referenceRange.age） 来区分它们。" />
      <requirements value="清楚哪些观测值是属于“正常”的，对评估观测结果的临床意义性很有帮助。不同的临床场景也需要使用不同的“参考范围”。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.component.referenceRange" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="BackboneElement" />
      </type>
      <mapping>
        <identity value="v2" />
        <map value="OBX.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.id">
      <path value="Observation.component.referenceRange.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.extension">
      <path value="Observation.component.referenceRange.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.modifierExtension">
      <path value="Observation.component.referenceRange.modifierExtension" />
      <short value="Extensions that cannot be ignored even if unrecognized" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <requirements value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension)." />
      <alias value="extensions" />
      <alias value="user content" />
      <alias value="modifiers" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="BackboneElement.modifierExtension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <isModifier value="true" />
      <isModifierReason value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.low">
      <path value="Observation.component.referenceRange.low" />
      <short value="下限值" />
      <definition value="参考范围下限的值。参考范围边界的下限包含该值（例如，参考范围&gt;=5 - &lt;=9）。如果下限值无临床意义，则可能不填（例如，参考范围&lt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.low" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-3" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:IVL_PQ.low" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.high">
      <path value="Observation.component.referenceRange.high" />
      <short value="上限值" />
      <definition value="参考范围上限的值。参考范围边界的上限包含该值，例如，参考范围为：（&gt;=5 - &lt;=9），此时上限值为9。如果上限值无临床意义，则可能不填（例如，参考范围&gt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.high" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <condition value="obs-3" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:IVL_PQ.high" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.type">
      <path value="Observation.component.referenceRange.type" />
      <short value="范围的类型" />
      <definition value="用编码来表示参考范围的分类意义。例如，正常范围或治疗范围。" />
      <comment value="当提供多个参考范围时，应该为此元素赋值，以区分不同范围的意义。" />
      <requirements value="为正解的理解范围的意义，需要说明参考范围的类型，如：正常范围、推荐范围，治疗范围等等。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.type" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <meaningWhenMissing value="默认情况下，缺失此元素意味着：“正常范围”，" />
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationRangeMeaning" />
        </extension>
        <strength value="preferred" />
        <description value="Code for the meaning of a reference range." />
        <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-meaning" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-10" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.appliesTo">
      <path value="Observation.component.referenceRange.appliesTo" />
      <short value="适用人群" />
      <definition value="用编码来表示此参考范围的适用目标人群。例如，正常人群、特定性别或种族对此参考范围适用。 若提供多个“appliesTo”元素提供值，则这些编码值之间是“并且”关系，即多个目标群体取交集。 例如，一个代表“女人”的编码加上一个代表“非裔美国人”的编码，意味着目标人群为“非裔美国女性”。" />
      <comment value="如果有多个参考范围，则应该提供此元素。" />
      <requirements value="为正确理解参考范围的意义，需要能够识别目标人群。" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Observation.referenceRange.appliesTo" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="CodeableConcept" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="ObservationRangeType" />
        </extension>
        <strength value="example" />
        <description value="Codes identifying the population the reference range applies to." />
        <valueSet value="http://hl7.org/fhir/ValueSet/referencerange-appliesto" />
      </binding>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="CE/CNE/CWE" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CD" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:CodeableConcept rdfs:subClassOf dt:CD" />
      </mapping>
      <mapping>
        <identity value="sct-concept" />
        <map value="&lt; 260245000 |Findings values| OR  &#xD;&lt; 365860008 |General clinical state finding| &#xD;OR &#xD;&lt; 250171008 |Clinical history or observation findings| OR  &#xD;&lt; 415229000 |Racial group| OR &#xD;&lt; 365400002 |Finding of puberty stage| OR&#xD;&lt; 443938003 |Procedure carried out on subject|" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-10" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="interpretationCode" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.age">
      <path value="Observation.component.referenceRange.age" />
      <short value="适用年龄段" />
      <definition value="此参考范围适用的年龄段，包括新生儿年龄（例如足月的周数）。" />
      <comment value="年龄段应该是大于0并且小于观测目标的最大可能年龄" />
      <requirements value="有些分析对年龄很敏感。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.age" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Range" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="rng-2" />
        <severity value="error" />
        <human value="If present, low SHALL have a lower value than high" />
        <expression value="low.empty() or high.empty() or (low &lt;= 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) &lt;= number(f:high/f:value/@value))" />
        <source value="http://hl7.org/fhir/StructureDefinition/Range" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR and also possibly SN (but see also quantity)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="IVL&lt;QTY[not(type=&quot;TS&quot;)]&gt; [lowClosed=&quot;true&quot; and highClosed=&quot;true&quot;]or URG&lt;QTY[not(type=&quot;TS&quot;)]&gt;" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=&quot;age&quot;].value" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.age.id">
      <path value="Observation.component.referenceRange.age.id" />
      <representation value="xmlAttr" />
      <short value="Unique id for inter-element referencing" />
      <definition value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Element.id" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string" />
        </extension>
        <code value="http://hl7.org/fhirpath/System.String" />
      </type>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.age.extension">
      <path value="Observation.component.referenceRange.age.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <description value="Extensions are always sliced by (at least) url" />
        <rules value="open" />
      </slicing>
      <short value="Additional content defined by implementations" />
      <definition value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." />
      <comment value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." />
      <alias value="extensions" />
      <alias value="user content" />
      <min value="0" />
      <max value="*" />
      <base>
        <path value="Element.extension" />
        <min value="0" />
        <max value="*" />
      </base>
      <type>
        <code value="Extension" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="ext-1" />
        <severity value="error" />
        <human value="Must have either extensions or value[x], not both" />
        <expression value="extension.exists() != value.exists()" />
        <xpath value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" />
        <source value="http://hl7.org/fhir/StructureDefinition/Extension" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="N/A" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.age.low">
      <path value="Observation.component.referenceRange.age.low" />
      <short value="最小年龄" />
      <definition value="最小年龄不应小于0，大于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。简单数量不能使用“值比较器”（comparetor）来对来实际值与声明的计量值之间的大小。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.low" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./low" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.age.high">
      <path value="Observation.component.referenceRange.age.high" />
      <short value="最大年龄" />
      <definition value="年龄小于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。简单数量不能使用“值比较器”（comparetor）来对来实际值与声明的计量值之间的大小。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Range.high" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <constraint>
        <key value="qty-3" />
        <severity value="error" />
        <human value="If a code for the unit is present, the system SHALL also be present" />
        <expression value="code.empty() or system.exists()" />
        <xpath value="not(exists(f:code)) or exists(f:system)" />
        <source value="http://hl7.org/fhir/StructureDefinition/Quantity" />
      </constraint>
      <constraint>
        <key value="sqty-1" />
        <severity value="error" />
        <human value="The comparator is not used on a SimpleQuantity" />
        <expression value="comparator.empty()" />
        <xpath value="not(exists(f:comparator))" />
        <source value="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" />
      </constraint>
      <isModifier value="false" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="SN (see also Range) or CQ" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="PQ, IVL&lt;PQ&gt;, MO, CO, depending on the values" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="NR.2" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./high" />
      </mapping>
    </element>
    <element id="Observation.component.referenceRange.text">
      <path value="Observation.component.referenceRange.text" />
      <short value="文本描述" />
      <definition value="当定量的参考范围不适合时，用文本描述的观测参考范围。例如，参考值是“负数”或“正常值列表”。" />
      <comment value="注意，FHIR中的字符串大小不能超过1MB。" />
      <min value="0" />
      <max value="1" />
      <base>
        <path value="Observation.referenceRange.text" />
        <min value="0" />
        <max value="1" />
      </base>
      <type>
        <code value="string" />
      </type>
      <condition value="ele-1" />
      <constraint>
        <key value="ele-1" />
        <severity value="error" />
        <human value="All FHIR elements must have a @value or children" />
        <expression value="hasValue() or (children().count() &gt; id.count())" />
        <xpath value="@value|f:*|h:div" />
        <source value="http://hl7.org/fhir/StructureDefinition/Element" />
      </constraint>
      <mapping>
        <identity value="rim" />
        <map value="n/a" />
      </mapping>
      <mapping>
        <identity value="v2" />
        <map value="OBX-7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="value:ST" />
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="观测结果" />
      <definition value="对目标（患者、设备或其它对象）进行检测、观察后的观测结果。" />
      <comment value="用于简单的观测，如设备测量、实验室细项结果、生命体征、身高、体重、吸烟状态等。检验报告类资源通过引用多个观测资源后才具有临床意义。" />
    </element>
    <element id="Observation.identifier">
      <path value="Observation.identifier" />
      <requirements value="用于区分观测资源的实例，同时便于利用业务ID引用观测内容" />
      <type>
        <code value="Identifier" />
        <profile value="http://StructureDefinition.hl7fhir.cn/Identifier" />
      </type>
    </element>
    <element id="Observation.basedOn">
      <path value="Observation.basedOn" />
      <short value="产生原由事件" />
      <definition value="为了满足此元素引用的事件（处方、医嘱、检验检查申请、照护计划等）才导致此观测资源的产生。例如，药品处方可能要求在发药之前对患者进行检验检查。" />
      <requirements value="通过此元素可实现追溯与跟踪管理：一方面可以用于确认此观测事件是否已通过授权，另一方面还可以跟踪医嘱或申请单是否执行。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/CarePlan" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationRequest" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ServiceRequest" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/NutritionOrder" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImmunizationRecommendation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DeviceRequest" />
      </type>
    </element>
    <element id="Observation.partOf">
      <path value="Observation.partOf" />
      <short value="父事件" />
      <definition value="包含此观测资源的一个更大的事件（如：治疗、用药记录、发药、免疫接种等），此观测资源仅作为其中的一个组成部分或步骤。" />
      <comment value="若要将观测资源与医疗就诊资源相关联，应使用“Observation.encounter”元素。&#xD;&#xA;两个观测资源之间的关联请参阅Observation.hasMember和Observation.derivedFrom元素。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationAdministration" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationDispense" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MedicationStatement" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Procedure" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Immunization" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImagingStudy" />
      </type>
    </element>
    <element id="Observation.status">
      <path value="Observation.status" />
      <short value="状态" />
      <definition value="观测结果值的状态&#xD;&#xA;registered | preliminary | final | amended | corrected |  entered-in-error | unknown" />
      <comment value="此元素值的改变可能影响整个资源的意义。" />
      <requirements value="需要对单个观测结果的状态进行跟踪。有些观测结果可能在整体报告审核之前就已通过审核。" />
      <isModifierReason value="当此状态码为“entered-in-error”时，表示当前资源无效。" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <short value="类别" />
      <definition value="用来表示观观测分类的代码" />
      <comment value="除了建议的类别值域集之外，还可以从其它维度自定义分类方案，并且可以同时使用多个类别。分类的粒度粗细由值域集中的概念定义。" />
      <requirements value="用于对观测资源进行筛选检索和分类显示。" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <short value="观测代码（名称)" />
      <definition value="用编码表示观测到的内容。可以看作观测“项目名称”。" />
      <comment value="如果Observation.component不为空，则需要将component元素中所有的值（编码-值对）结合此元素一起综合考虑，才能正确理解观测结果的含义。" />
      <requirements value="精确的理解正在进行的是什么观测非常重要。" />
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <short value="观测目标对象" />
      <definition value="观测目标对象是一名患者或一组患者、位置或设备，观测结果记录在此对象的病历或报告中。 如果实际参与直接测量的观测对象与此目标对象（或对象的样本、部位）不同，应使用“Observation.focus”元素指定观测的实际测量对象， 并通过“Observation.code”来精确的表达观测的实际内容。" />
      <comment value="除非由是某设备对某未知患者做的观测结果，否则此元素是必填项。 尽管如此，也必须在后期通过某种匹配技术将观测结果与患者关联，补充此元素并更新此观测结果。" />
      <requirements value="如果不知道观测对象是谁或什么，那么此观测就没有意义。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Group" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Location" />
      </type>
    </element>
    <element id="Observation.focus">
      <path value="Observation.focus" />
      <short value="实际参与直接测量的观测对象" />
      <definition value="当观测对象实际关注的并不是病历中的患者时，用于表示与患者相关的实际参与直接测量的观测对象，比如配偶、父母、胎儿或捐赠者。例如，母亲病历中对胎儿的观测。 观测的关注点也可以是当前病症、干预效果、目标的饮食、目标的另一个观测或体内物质（如肿瘤或植入装置）。 另一个例子是使用观测资源来表示母亲是否接受过更换其孩子气管套管的培训，在此场景下孩子是病历中的病人，母亲则是观测资源实际参与直接测量的观测对象。" />
      <comment value="观测目标对象通常是一名患者或一组患者、位置或设备。 目标对象和实际参与直接测量的观测对象之间的区别不需要使用此元素单独表示，而是应该通过指定具体的观测代码（Observation.code）来区分。 如果需要引用观测使用的标本，应使用“Observation.specimen”元素。 如果想表示具体观测的身体部位，应使用“Observation.bodysite”元素。 如果需要用编码而不用资源来表示此元素，可以使用focusCode扩展（http://hl7.org/fhir/StructureDefinition/observation-focusCode）。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Group" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Location" />
      </type>
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <short value="医疗就诊活动" />
      <definition value="在此医疗就诊活动（比如某次门诊、住院）期间产生的观测结果。" />
      <comment value="这通常是发生在此医疗就诊活动期间的观测事件。虽然某些事件可能在医疗就诊活动之前或在完成之后发生，但仍在其相关（例如入院前检查）" />
      <requirements value="对于某些观测项目来说，了解与其相关的具体医疗就诊活动很重要。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Encounter" />
      </type>
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <short value="发生时间" />
      <definition value="观测发生的真实时间或时段。这通常是治疗或标本采集的时间，但此时间数据的来源可能未知。" />
      <comment value="此元素至少应该提供一个日期，除非这是一个历史观测。 要记录不精确或“模糊”的时间（如，餐后血糖），请使用Timing数据类型，它用于测量与日常生活事件相关的时间。" />
      <requirements value="观测发生的真实时间对其相关性以及趋势判定都很重要。" />
    </element>
    <element id="Observation.issued">
      <path value="Observation.issued" />
      <short value="正式发布时间" />
      <definition value="观测结果的发布日期和时间，通常是在审核和确认之后才发布。" />
      <comment value="对于不需要审核和确认的观测，此元素的值可能与资源本身的“Meta.lastUpdated”时间相同。 有些观测则需要在其更新时进行审核和确认，这时此元素的时间可能早于资源本身的“Meta.lastUpdated”时间， 因为当更新的不是重要的临床信息时，不需要重新审核和发布，此时更新资源并不会更新此元素的值。" />
    </element>
    <element id="Observation.performer">
      <path value="Observation.performer" />
      <short value="执行者" />
      <definition value="对观测值的准备性负责的人" />
      <requirements value="可增加观测结果的可信度，同时明确了后续问题的责任人。" />
      <alias value="责任人" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Practitioner" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/PractitionerRole" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Organization" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/CareTeam" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Patient" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/RelatedPerson" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <short value="实际的观测结果值" />
      <definition value="若观测结果是一个简单值，则可以通过此元素来表示观测产生的结果信息。" />
      <comment value="一个观测值可以是：1）此元素的单个值， 2）此单个值和observation.component元素中一组相关或明细指标的值，或者 3）仅使用observation.component元素中一组相关或明细指标的值。 如果此元素值不为空，则其数据类型应通过Observation.code确定。 如果此元素有固定的编码，或者由Observation.code定义了编码值，则对值的文本描述应该使用一个只有text元素的CodeableConcept数据类型来表示，而不用字符串类型。" />
      <requirements value="观测资源都应该有值，除非有错误产生，或者它代表着一组观测。" />
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <short value="无结果值或出错的原因" />
      <definition value="如果Observation.value[x]缺少值，通过此元素说明缺失的原因。或者在检测过程中出现异常也可以用此元素来说明出错原因。" />
      <comment value="在FHIR中，观测资源的空值（Null）或异常值有两种表示方法：一种方法是使用值域集，简单地将它们作为其中的概念来表示异常。 例如，血清检测的观测资源值可以是“检测”、“未检测”、“不确定”或“样本不合格”。 另一种方法是使用value元素记录实际观测结果，同时使用dataAbsentReason元素记录异常值。 例如，当检测未完成时，可以将“error”编码赋值给dataAbsentReason元素。 注意，只有当有观测值时才能报告。例如，只有细胞计数值当大于0时才能报告。 所以在实际用例中需要使用以上两种方法之一对观测的空值或异常值进行解释。" />
      <requirements value="大部分在检测中出现的观测结果异常值都有必要处理。" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <short value="结果解释" />
      <definition value="对观测值的分类评估。例如，高、低、正常。" />
      <comment value="以前作为实验室结果的“异常标志”来使用，现在使用范围得到了扩展（扩展范围与其绑定的值域集中编码的含义相对应）。 此元素在报告中呈现方式通常是显示在观测结果值旁边的代码或符号，以表示结果的含义或正常状态。" />
      <requirements value="为了充分理解观测结果的重要性，有必要对某些结果（特别是数值性结果或危急值）进行解释。" />
      <alias value="异常标志" />
    </element>
    <element id="Observation.note">
      <path value="Observation.note" />
      <short value="备注" />
      <definition value="对观测或结果的备注或评论。" />
      <comment value="可能包括对观测结果的一般性陈述，或关于重大、意外或不可靠结果值的陈述，或与Observation.interpretation的相关信息。" />
      <requirements value="提供自由文本附加信息很有必要。" />
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <short value="观测部位" />
      <definition value="在患者身体上进行观测的部位（即目标位置）。" />
      <comment value="仅当Observation.code的概念中没有包含位置信息时才使用此元素。在有些系统中，可以用此元素来表示相关的观测，而不是作为此观测所包含的一部分。 在某些场景下可能需要使用单独的身体结构资源（BodyStructure），比如用于标识和跟踪不同的身体部位。 这种情况应该用一扩展元素来解决，参见BodyStructure引用扩展（http://hl7.org/fhir/extension-bodysite.html）。" />
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <short value="实验方法" />
      <definition value="用于明确执行观测时所使用的方法和机制。" />
      <comment value="仅当Observation.code的编码值的概念中没有暗含观测方法时才使用此元素。" />
      <requirements value="在某些情况下，不同的观测（检验/实验）方法会产生不同的观测结果，所以仅当观测方法相同时所产生的结果才具有可比性，同理只有在明确了观测方法后才能确定结果值的意义。" />
    </element>
    <element id="Observation.specimen">
      <path value="Observation.specimen" />
      <short value="观测使用的标本" />
      <definition value="执行观测时所使用的样本或标本。" />
      <comment value="仅当Observation.code的编码值的概念中没有暗含观测所使用的标本时才使用此元素。 虽然观测针是对目标（患者等）进行的，但在很多情况下需要通过标本作为载体才能完成具体的观测。 注意，观测资源中包含的标本信息并不一定会很精确。 另外，观测资源可用于对标本进行精确追踪时的场景（例如诊断报告）。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Specimen" />
      </type>
    </element>
    <element id="Observation.device">
      <path value="Observation.device" />
      <short value="测量仪器" />
      <definition value="用来产生观测数据的仪器设备。" />
      <comment value="注意，这里的设备不是指用于传输结果的相关设备，例如网关。与网络的相关设备应使用处出资源（Provenance）来记录。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Device" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DeviceMetric" />
      </type>
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <short value="参考范围" />
      <definition value="观测结果的正常范围或推荐的参考范围，通此元素提供的范围值和实际结果值的比较，可以从量级上解释观测结果的意义。 若此元素有多个范围值，这些值之间是“或者”关系。 换句话说，可以使用两个“referenceRange”元素来表示两个范围的并集。" />
      <comment value="多数观测值只有一个通用参考范围。 系统可能会根据对患者的相关信息（如年龄、性别、体重和其他信息）来提供更个性化的参考范围，但这可能是不可能或不适当的。 当提供多个参考范围时，应该通过“适用人群”（Observation.referenceRange.appliesTo）和”适用年龄段“（Observation.referenceRange.age） 来区分它们。" />
      <requirements value="清楚哪些观测值是属于“正常”的，对评估观测结果的临床意义性很有帮助。不同的临床场景也需要使用不同的“参考范围”。" />
    </element>
    <element id="Observation.referenceRange.low">
      <path value="Observation.referenceRange.low" />
      <short value="下限值" />
      <definition value="参考范围下限的值。参考范围边界的下限包含该值（例如，参考范围&gt;=5 - &lt;=9）。如果下限值无临床意义，则可能不填（例如，参考范围&lt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <alias value="最低值" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.referenceRange.high">
      <path value="Observation.referenceRange.high" />
      <short value="上限值" />
      <definition value="参考范围上限的值。参考范围边界的上限包含该值，例如，参考范围为：（&gt;=5 - &lt;=9），此时上限值为9。如果上限值无临床意义，则可能不填（例如，参考范围&gt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <alias value="最高值" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.referenceRange.type">
      <path value="Observation.referenceRange.type" />
      <short value="范围的类型" />
      <definition value="用编码来表示参考范围的分类意义。例如，正常范围或治疗范围。" />
      <comment value="当提供多个参考范围时，应该为此元素赋值，以区分不同范围的意义。" />
      <requirements value="为正解的理解范围的意义，需要说明参考范围的类型，如：正常范围、推荐范围，治疗范围等等。" />
      <meaningWhenMissing value="默认情况下，缺失此元素意味着：“正常范围”，" />
    </element>
    <element id="Observation.referenceRange.appliesTo">
      <path value="Observation.referenceRange.appliesTo" />
      <short value="适用人群" />
      <definition value="用编码来表示此参考范围的适用目标人群。例如，正常人群、特定性别或种族对此参考范围适用。 若提供多个“appliesTo”元素提供值，则这些编码值之间是“并且”关系，即多个目标群体取交集。 例如，一个代表“女人”的编码加上一个代表“非裔美国人”的编码，意味着目标人群为“非裔美国女性”。" />
      <comment value="如果有多个参考范围，则应该提供此元素。" />
      <requirements value="为正确理解参考范围的意义，需要能够识别目标人群。" />
      <meaningWhenMissing value="如果没有提供此元素，则默认为“正常群体”。" />
    </element>
    <element id="Observation.referenceRange.age">
      <path value="Observation.referenceRange.age" />
      <short value="适用年龄段" />
      <definition value="此参考范围适用的年龄段，包括新生儿年龄（例如足月的周数）。" />
      <comment value="年龄段应该是大于0并且小于观测目标的最大可能年龄" />
      <requirements value="有些分析对年龄很敏感。" />
    </element>
    <element id="Observation.referenceRange.age.low">
      <path value="Observation.referenceRange.age.low" />
      <short value="最小年龄" />
      <definition value="最小年龄不应小于0，并大于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.referenceRange.age.high">
      <path value="Observation.referenceRange.age.high" />
      <short value="最大年龄" />
      <definition value="年龄小于等于此值" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.referenceRange.text">
      <path value="Observation.referenceRange.text" />
      <short value="文本描述" />
      <definition value="当定量的参考范围不适合时，用文本描述的观测参考范围。例如，参考值是“负数”或“正常值列表”。" />
      <comment value="注意，FHIR中的字符串大小不能超过1MB。" />
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <short value="组成员" />
      <definition value="当此观测是作为一组观测(（例如电池、一组检验、一组生命体征测量）)中的一个时，用此元素来引用该组中的其它组成员。" />
      <comment value="使用此元素时，引用的观测资源通常都会有值，并且可能还会有一组相关资源。&#xD;&#xA;注意，系统可能会将“答卷资源”（QuestionnaireResponse）的结果计算为用观测值来表示的最终分数。&#xD;&#xA;组合使用观测的更多信息请参见 http://hl7.org/fhir/observation.html#obsgrouping" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Observation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/QuestionnaireResponse" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MolecularSequence" />
      </type>
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <short value="作为依据的相关测量" />
      <definition value="基于哪个资源得出此观测结果。例如，基于超声图像的胎儿大小测量。" />
      <comment value="此元素中列出的资源可以是临床观测，也可以是其他测量，此观测的值来源于这些测量中。最常见的情况此元素会引用另一个观测资源。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Observation" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/DocumentReference" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/ImagingStudy" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/Media" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/QuestionnaireResponse" />
        <targetProfile value="http://StructureDefinition.hl7fhir.cn/MolecularSequence" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <short value="明细项目" />
      <definition value="有些观测是由多个明细观测项构成的。这些明细观测共享相同属性,但有各自不同的“编码-值”对。 例如：血压测量的明细观测分为收缩压和舒张压。" />
      <comment value="关于观测资源的组成和组合使用，可参见 http://hl7.org/fhir/observation.html#notes" />
      <requirements value="明细观测作为主观测资源的一部分（不可分开使用）共享主观测资源中的属性， 但主观测值的参考范围是不共享使用的，每个明细观测的参考范围可以独立设置。" />
    </element>
    <element id="Observation.component.code">
      <path value="Observation.component.code" />
      <short value="观测明细项目代码" />
      <definition value="以编码的形式描述观测到的内容。有时这被称为“观测代码”。" />
      <comment value="如果Observation.component不为空，则需要将component元素中所有的值（编码-值对）结合此元素一起综合考虑，才能正确理解主观测结果的含义。" />
      <requirements value="精确的理解正在进行的是什么观测非常重要。" />
    </element>
    <element id="Observation.component.value[x]">
      <path value="Observation.component.value[x]" />
      <short value="实际的明细结果值" />
      <definition value="若观测结果是一个简单值，则可以通过此元素来表示观测产生的结果信息。" />
      <comment value="当观测资源存在一组observation.component元素时，它可能同时具有一个结果值（例如Apgar评分）和明细观测项（Apgar评分中的每一个评分项）。 如果此元素值不为空，则其数据类型应通过Observation.code确定。 如果此元素有固定的编码，或者由Observation.code定义了编码值，则对值的文本描述应该使用一个只有text元素的CodeableConcept数据类型来表示，而不用字符串类型。" />
      <requirements value="除非有错误产生，否则都应该有值" />
    </element>
    <element id="Observation.component.dataAbsentReason">
      <path value="Observation.component.dataAbsentReason" />
      <short value="无结果值或出错的原因" />
      <definition value="如果Observation.value[x]缺少值，通过此元素说明缺失的原因。或者在检测过程中出现异常也可以用此元素来说明出错原因。" />
      <comment value="在FHIR中，观测资源的空值（Null）或异常值有两种表示方法：一种方法是使用值域集，简单地将它们作为其中的概念来表示异常。 例如，血清检测的观测资源值可以是“检测”、“未检测”、“不确定”或“样本不合格”。 另一种方法是使用value元素记录实际观测结果，同时使用dataAbsentReason元素记录异常值。 例如，当检测未完成时，可以将“error”编码赋值给dataAbsentReason元素。 注意，只有当有观测值时才能报告。例如，只有细胞计数值当大于0时才能报告。 所以在实际用例中需要使用以上两种方法之一对观测的空值或异常值进行解释。" />
      <requirements value="大部分在检测中出现的观测结果异常值都有必要处理。" />
    </element>
    <element id="Observation.component.interpretation">
      <path value="Observation.component.interpretation" />
      <short value="结果解释" />
      <definition value="对明细观测值的分类评估。例如，高、低、正常。" />
      <comment value="以前作为实验室结果的“异常标志”来使用，现在使用范围得到了扩展（扩展范围与其绑定的值域集中编码的含义相对应）。 此元素在报告中呈现方式通常是显示在观测结果值旁边的代码或符号，以表示结果的含义或正常状态。" />
      <requirements value="为了充分理解观测结果的重要性，有必要对某些结果（特别是数值性结果或危急值）进行解释。" />
      <alias value="异常标志" />
    </element>
    <element id="Observation.component.referenceRange">
      <path value="Observation.component.referenceRange" />
      <short value="参考范围" />
      <definition value="观测结果的正常范围或推荐的参考范围，通此元素提供的范围值和实际结果值的比较，可以从量级上解释观测结果的意义。 若此元素有多个范围值，这些值之间是“或者”关系。 换句话说，可以使用两个“referenceRange”元素来表示两个范围的并集。" />
      <comment value="多数观测值只有一个通用参考范围。 系统可能会根据对患者的相关信息（如年龄、性别、体重和其他信息）来提供更个性化的参考范围，但这可能是不可能或不适当的。 当提供多个参考范围时，应该通过“适用人群”（Observation.referenceRange.appliesTo）和”适用年龄段“（Observation.referenceRange.age） 来区分它们。" />
      <requirements value="清楚哪些观测值是属于“正常”的，对评估观测结果的临床意义性很有帮助。不同的临床场景也需要使用不同的“参考范围”。" />
    </element>
    <element id="Observation.component.referenceRange.low">
      <path value="Observation.component.referenceRange.low" />
      <short value="下限值" />
      <definition value="参考范围下限的值。参考范围边界的下限包含该值（例如，参考范围&gt;=5 - &lt;=9）。如果下限值无临床意义，则可能不填（例如，参考范围&lt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.component.referenceRange.high">
      <path value="Observation.component.referenceRange.high" />
      <short value="上限值" />
      <definition value="参考范围上限的值。参考范围边界的上限包含该值，例如，参考范围为：（&gt;=5 - &lt;=9），此时上限值为9。如果上限值无临床意义，则可能不填（例如，参考范围&gt;=2.3）。" />
      <comment value="需要通过具体的场景来确定数量的类型和单位。" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.component.referenceRange.type">
      <path value="Observation.component.referenceRange.type" />
      <short value="范围的类型" />
      <definition value="用编码来表示参考范围的分类意义。例如，正常范围或治疗范围。" />
      <comment value="当提供多个参考范围时，应该为此元素赋值，以区分不同范围的意义。" />
      <requirements value="为正解的理解范围的意义，需要说明参考范围的类型，如：正常范围、推荐范围，治疗范围等等。" />
      <meaningWhenMissing value="默认情况下，缺失此元素意味着：“正常范围”，" />
    </element>
    <element id="Observation.component.referenceRange.appliesTo">
      <path value="Observation.component.referenceRange.appliesTo" />
      <short value="适用人群" />
      <definition value="用编码来表示此参考范围的适用目标人群。例如，正常人群、特定性别或种族对此参考范围适用。 若提供多个“appliesTo”元素提供值，则这些编码值之间是“并且”关系，即多个目标群体取交集。 例如，一个代表“女人”的编码加上一个代表“非裔美国人”的编码，意味着目标人群为“非裔美国女性”。" />
      <comment value="如果有多个参考范围，则应该提供此元素。" />
      <requirements value="为正确理解参考范围的意义，需要能够识别目标人群。" />
    </element>
    <element id="Observation.component.referenceRange.age">
      <path value="Observation.component.referenceRange.age" />
      <short value="适用年龄段" />
      <definition value="此参考范围适用的年龄段，包括新生儿年龄（例如足月的周数）。" />
      <comment value="年龄段应该是大于0并且小于观测目标的最大可能年龄" />
      <requirements value="有些分析对年龄很敏感。" />
    </element>
    <element id="Observation.component.referenceRange.age.low">
      <path value="Observation.component.referenceRange.age.low" />
      <short value="最小年龄" />
      <definition value="最小年龄不应小于0，大于等于此值" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.component.referenceRange.age.high">
      <path value="Observation.component.referenceRange.age.high" />
      <short value="最大年龄" />
      <definition value="年龄小于等于此值" />
      <type>
        <code value="Quantity" />
        <profile value="http://StructureDefinition.hl7fhir.cn/SimpleQuantity" />
      </type>
    </element>
    <element id="Observation.component.referenceRange.text">
      <path value="Observation.component.referenceRange.text" />
      <short value="文本描述" />
      <definition value="当定量的参考范围不适合时，用文本描述的观测参考范围。例如，参考值是“负数”或“正常值列表”。" />
      <comment value="注意，FHIR中的字符串大小不能超过1MB。" />
    </element>
  </differential>
</StructureDefinition>