<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Observation_PhysicalExam" />
  <version value="1.0.0" />
  <name value="JP_Observation_PhysicalExam" />
  <title value="JP_Observation_PhysicalExam" />
  <status value="active" />
  <publisher value="FHIR® Japanese implementation research working group in Japan Association of Medical Informatics (JAMI)" />
  <description value="このプロファイルはObservationリソースに対して、身体所見のデータを送受信するための制約と拡張を定めたものである。" />
  <copyright value="FHIR® Japanese implementation research working group in Japan Association of Medical Informatics (JAMI)" />
  <fhirVersion value="4.0.1" />
  <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://jpfhir.jp/fhir/core/StructureDefinition/JP_Observation_Common" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation">
      <path value="Observation" />
      <short value="身体所見に関する測定や簡単な観察事実（assertion）" />
      <definition value="身体所見に関する測定や簡単な観察事実" />
      <comment value="身体所見に関するObservation（検査測定や観察事実）の制約プロフィール" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <comment value="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;基底仕様のカテゴリ「exam」固定とする" />
      <min value="1" />
      <max value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.hl7.org/CodeSystem/observation-category" />
          <code value="exam" />
          <display value="Exam" />
        </coding>
      </fixedCodeableConcept>
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <comment value="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;所見の有無を表すコード（固定値）" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://jpfhir.jp/fhir/Common/CodeSystem/observation-physicalExam" />
          <code value="physical-findings" />
          <display value="Physical Findings" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="required" />
        <valueSet value="http://jpfhir.jp/fhir/Common/ValueSet/observation-physicalExam" />
      </binding>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <comment value="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;患者" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.encounter">
      <path value="Observation.encounter" />
      <comment value="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;診察" />
      <min value="1" />
    </element>
    <element id="Observation.effective[x]">
      <path value="Observation.effective[x]" />
      <comment value="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;effectiveDateTime：医療者が確認した日時&lt;br&gt;&#xD;&#xA;effectivePeriod：医療者が確認した期間" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Period" />
      </type>
    </element>
    <element id="Observation.value[x]">
      <path value="Observation.value[x]" />
      <comment value="An observation may have; 1)  a single value here, 2)  both a value and a set of related or component values,  or 3)  only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code.  A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.  For additional guidance, see the [Notes section](observation.html#notes) below.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;コードに限定する" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <description value="Codes specifying either Yes or No used in fields containing binary answers generally user-specified." />
        <valueSet value="http://terminology.hl7.org/ValueSet/v2-0136" />
      </binding>
    </element>
    <element id="Observation.bodySite">
      <path value="Observation.bodySite" />
      <comment value="Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   &#xA;&#xA;If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;外保連の手術基幹コード（STEM7）の操作対象部位を基にバリューセットを定義する&lt;br&gt;&#xD;&#xA;左右の区別は拡張で表現する&lt;br&gt;&#xD;&#xA;具体的なコードについてはSWG6と連携して決定する必要がある（TBD）" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://jpfhir.jp/fhir/Common/ValueSet/observation-bodySite" />
      </binding>
    </element>
    <element id="Observation.bodySite.extension">
      <path value="Observation.bodySite.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <min value="0" />
    </element>
    <element id="Observation.bodySite.extension:JPCoreBodySitePositionExtension">
      <path value="Observation.bodySite.extension" />
      <sliceName value="JPCoreBodySitePositionExtension" />
      <comment value="左右の区別を表現する際に使用する" />
      <min value="0" />
      <type>
        <code value="Extension" />
        <profile value="http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Observation_BodySite_BodySitePosition" />
      </type>
    </element>
    <element id="Observation.method">
      <path value="Observation.method" />
      <comment value="Only used if not implicit in code for Observation.code.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;症状・所見マスターの「診察方法」を基にバリューセットを定義する&lt;br&gt;&#xD;&#xA;具体的なコードについてはSWG6と連携して決定する必要がある（TBD）" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://jpfhir.jp/fhir/Common/ValueSet/observation-method" />
      </binding>
    </element>
    <element id="Observation.hasMember">
      <path value="Observation.hasMember" />
      <comment value="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;関連する参照リソースにJP_Observation_PhysicalExamを追加" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Observation_PhysicalExam" />
      </type>
    </element>
    <element id="Observation.derivedFrom">
      <path value="Observation.derivedFrom" />
      <comment value="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;導出元の参照リソースにJP_Observation_PhysicalExamを追加" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Media" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Observation" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Observation_PhysicalExam" />
      </type>
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <comment value="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;具体的な所見を記載する" />
    </element>
    <element id="Observation.component.code">
      <path value="Observation.component.code" />
      <comment value="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.&#xD;&#xA;&#xD;&#xA;【JP仕様】&lt;br&gt;&#xD;&#xA;具体的な所見を表すコード（固定値）" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://jpfhir.jp/fhir/Common/CodeSystem/observation-physicalExam" />
          <code value="detailed-physical-findings" />
          <display value="Detailed Physical Findings" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="required" />
        <valueSet value="http://jpfhir.jp/fhir/Common/ValueSet/observation-physicalExam" />
      </binding>
    </element>
    <element id="Observation.component.value[x]">
      <path value="Observation.component.value[x]" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <type>
        <code value="string" />
      </type>
    </element>
  </differential>
</StructureDefinition>