<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="jp-allergyintolerance" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Clinical.Summary" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="patient" />
  </extension>
  <url value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_AllergyIntolerance" />
  <version value="1.1.1" />
  <name value="JP_AllergyIntolerance" />
  <title value="JP Core AllergyIntolerance Profile" />
  <status value="active" />
  <date value="2022-10-24" />
  <description value="このプロファイルはAllergyIntoleranceリソースに対して、患者のアレルギー不耐症に関するデータを送受信するための制約と拡張を定めるものである。" />
  <fhirVersion value="4.0.1" />
  <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="v2" />
    <uri value="http://hl7.org/v2" />
    <name value="HL7 v2 Mapping" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="AllergyIntolerance" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" />
  <derivation value="constraint" />
  <differential>
    <element id="AllergyIntolerance">
      <path value="AllergyIntolerance" />
      <short value="Allergy or Intolerance (generally: Risk of adverse reaction to a substance). アレルギー不耐症 (特定の物質への暴露で生じた有害反応)" />
      <definition value="Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.&#xD;&#xA;&#xD;&#xA;このリソースは患者のアレルギー不耐症を表現する。具体的には、特定の物質または物質群への暴露によって生じる有害反応の傾向や、潜在的なリスクを表現する。" />
    </element>
    <element id="AllergyIntolerance.text">
      <path value="AllergyIntolerance.text" />
      <short value="Text summary of the resource, for human interpretation. このリソースを人間が解釈するためのテキスト要約" />
    </element>
    <element id="AllergyIntolerance.clinicalStatus">
      <path value="AllergyIntolerance.clinicalStatus" />
      <short value="active | inactive | resolved (アクティブ | 非アクティブ | 解決済み)" />
      <definition value="The clinical status of the allergy or intolerance.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症のステータス。" />
    </element>
    <element id="AllergyIntolerance.verificationStatus">
      <path value="AllergyIntolerance.verificationStatus" />
      <short value="unconfirmed | confirmed | refuted | entered-in-error (未確認 | 確認済み | 否定された | 入力エラー)" />
      <definition value="Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).&#xD;&#xA;&#xD;&#xA;特定された物質（医薬品を含む）が有害反応を誘発する確実性の度合い。" />
    </element>
    <element id="AllergyIntolerance.type">
      <path value="AllergyIntolerance.type" />
      <short value="allergy | intolerance - Underlying mechanism (if known) （アレルギー | 不耐症）" />
      <definition value="Identification of the underlying physiological mechanism for the reaction risk.&#xD;&#xA;&#xD;&#xA;有害反応を誘発する生理的なメカニズムが特定できる場合にアレルギーか不耐性かを区別する。" />
    </element>
    <element id="AllergyIntolerance.category">
      <path value="AllergyIntolerance.category" />
      <short value="food | medication | environment | biologic (食品 | 薬品 | 環境 | 生体)" />
      <definition value="Category of the identified substance.&#xD;&#xA;&#xD;&#xA;同定された物質のカテゴリー。" />
    </element>
    <element id="AllergyIntolerance.criticality">
      <path value="AllergyIntolerance.criticality" />
      <short value="low | high | unable-to-assess (低い | 高い | 評価できない)" />
      <definition value="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.&#xD;&#xA;&#xD;&#xA;同定された物質が誘発する有害反応の臨床的な重要度。" />
    </element>
    <element id="AllergyIntolerance.code">
      <path value="AllergyIntolerance.code" />
      <short value="Code that identifies the allergy or intolerance. このアレルギー不耐症の識別コード" />
      <definition value="Code for an allergy or intolerance statement (either a positive or a negated/excluded statement). This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., &quot;Latex&quot;), an allergy or intolerance condition (e.g., &quot;Latex allergy&quot;), or a negated/excluded code for a specific substance or class (e.g., &quot;No latex allergy&quot;) or a general or categorical negated statement (e.g., &quot;No known allergy&quot;, &quot;No known drug allergies&quot;). Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'. If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance. &#xD;&#xA;&#xD;&#xA;アレルギー不耐症を識別するためのコード（肯定または否定・除外の両者を含む）。このコードは、アレルゲンとなる物資（例:Latex）、状態としてのアレルギー不耐性（例:Latex allergy）、特定の物質やクラスに対する否定・除外コード（例: No latex allergy）、物質やクラス全般に対する否定・除外コード（例: No known allergy, No known drug allergies）などが考えられる。&#xD;&#xA;&#xD;&#xA;注: 特定の有害反応を誘発する物質は、原因として特定された物質と異なっていてもよいが、整合がとれていなければならない。たとえば、より具体的な物質（ブランド薬など）や、特定された物質を含む複合製品の場合がある。&#xD;&#xA;AllergyIntolerance.codeのみを処理し、AllergyIntolerance.reaction.substanceを無視しても、臨床的に安全でなければならない。&#xD;&#xA;受信システムがAllergyIntolerance.reaction.substanceがAllergyIntolerance.codeのセマンティックスコープ内に（前者が後者の意味的な下位概念にあること）を確認できない場合、受信システムはAllergyIntolerance.reaction.substanceを無視する必要がある。" />
      <comment value="このプロファイルを利用するにあたっては注意事項も参照のこと。https://jami-fhir-jp-wg.github.io/jp-core-v1xpages/jpcore-r4/develop/StructureDefinition-jp-allergyintolerance.html#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85" />
      <binding>
        <strength value="example" />
        <valueSet value="http://jpfhir.jp/fhir/core/ValueSet/JP_AllergyIntolerance_VS" />
      </binding>
    </element>
    <element id="AllergyIntolerance.patient">
      <path value="AllergyIntolerance.patient" />
      <short value="Who the sensitivity is for. このアレルギー不耐症を有する患者" />
      <definition value="The patient who has the allergy or intolerance.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症を有する患者。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient" />
      </type>
    </element>
    <element id="AllergyIntolerance.encounter">
      <path value="AllergyIntolerance.encounter" />
      <short value="Encounter when the allergy or intolerance was asserted. このアレルギー不耐症が判明した受療の状況（外来、入院、救急、在宅など）" />
      <definition value="The encounter when the allergy or intolerance was asserted.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症が判明した受療の状況（外来、入院、救急、在宅など）" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Encounter" />
      </type>
    </element>
    <element id="AllergyIntolerance.onset[x]">
      <path value="AllergyIntolerance.onset[x]" />
      <short value="When allergy or intolerance was identified. このアレルギー不耐症のオンセット" />
      <definition value="Estimated or actual date, date-time, or age when allergy or intolerance was identified.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症が同定された事実もしくは推定された時期（日付、日時、年齢）。" />
    </element>
    <element id="AllergyIntolerance.recordedDate">
      <path value="AllergyIntolerance.recordedDate" />
      <short value="Date first version of the resource instance was recorded. このアレルギー不耐症が初めて記録された日時" />
      <definition value="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date. このアレルギー不耐症の記録がシステムで作成された日時を表し、多くの場合、システムが生成した日付である。" />
    </element>
    <element id="AllergyIntolerance.recorder">
      <path value="AllergyIntolerance.recorder" />
      <short value="Who recorded the sensitivity. 誰がこのアレルギー不耐症を記録したか" />
      <definition value="Individual who recorded the record and takes responsibility for its content.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症を記録しその内容に責任を持つ個人。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Practitioner" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_PractitionerRole" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
      </type>
    </element>
    <element id="AllergyIntolerance.asserter">
      <path value="AllergyIntolerance.asserter" />
      <short value="Source of the information about the allergy. このアレルギー不耐症の情報源" />
      <definition value="The source of the information about the allergy that is recorded.&#xD;&#xA;&#xD;&#xA;このアレルギー不耐症に関する情報の発生源または取得元。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Practitioner" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_PractitionerRole" />
      </type>
    </element>
    <element id="AllergyIntolerance.lastOccurrence">
      <path value="AllergyIntolerance.lastOccurrence" />
      <short value="Date(/time) of last known occurrence of a reaction. このアレルギー不耐症が最も直近に発生した日時" />
      <definition value="Represents the date and/or time of the last known occurrence of a reaction event.&#xD;&#xA;&#xD;&#xA;最も直近に発生した日時を表す。" />
    </element>
    <element id="AllergyIntolerance.note">
      <path value="AllergyIntolerance.note" />
      <short value="Additional text not captured in other fields. 他のフィールド要素では記述できない追加テキスト" />
      <definition value="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.&#xD;&#xA;&#xD;&#xA;他のフィールド要素では表現できない、このアレルギー不耐症に関する追加的な記述。" />
    </element>
    <element id="AllergyIntolerance.reaction">
      <path value="AllergyIntolerance.reaction" />
      <short value="Adverse Reaction Events linked to exposure to substance. このアレルゲンへの暴露に関連する有害反応" />
      <definition value="Details about each adverse reaction event linked to exposure to the identified substance.&#xD;&#xA;&#xD;&#xA;同定された物質への暴露に関連する個々の有害反応に関する詳細情報。" />
    </element>
    <element id="AllergyIntolerance.reaction.substance">
      <path value="AllergyIntolerance.reaction.substance" />
      <short value="Specific substance or pharmaceutical product considered to be responsible for event. 有害反応の原因と考えられる特定の物質または医薬品" />
      <definition value="Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.&#xD;&#xA;&#xD;&#xA;有害反応の原因と考えられる物質（または医薬品）。&#xD;&#xA;&#xD;&#xA;注：特定の有害反応を誘発する物質は、原因として特定された物質と異なっていてもよいが、整合がとれていなければならない。たとえば、より具体的な物質（ブランド薬など）や、特定された物質を含む複合製品の場合がある。&#xD;&#xA;AllergyIntolerance.codeのみを処理し、AllergyIntolerance.reaction.substanceを無視しても、臨床的に安全でなければならない。&#xD;&#xA;受信システムがAllergyIntolerance.reaction.substanceがAllergyIntolerance.codeのセマンティックスコープ内に（前者が後者の意味的な下位概念にあること）を確認できない場合、受信システムはAllergyIntolerance.reaction.substanceを無視する必要がある。" />
    </element>
    <element id="AllergyIntolerance.reaction.manifestation">
      <path value="AllergyIntolerance.reaction.manifestation" />
      <short value="Clinical symptoms/signs associated with the Event. この有害反応に関連する症状や兆候" />
      <definition value="Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.&#xD;&#xA;&#xD;&#xA;この有害反応に関連する症状や兆候。" />
    </element>
    <element id="AllergyIntolerance.reaction.description">
      <path value="AllergyIntolerance.reaction.description" />
      <short value="Description of the event as a whole. この有害反応に関する全般的な記述" />
      <definition value="Text description about the reaction as a whole, including details of the manifestation if required.&#xD;&#xA;&#xD;&#xA;必要であれば症状兆候の詳細も含めた、有害反応全体に関するテキストによる記述。" />
    </element>
    <element id="AllergyIntolerance.reaction.onset">
      <path value="AllergyIntolerance.reaction.onset" />
      <short value="Date(/time) when manifestations showed. この有害反応がみられた日時" />
      <definition value="Record of the date and/or time of the onset of the Reaction.&#xD;&#xA;&#xD;&#xA;この有害反応の開始の日付もしくは日時の記録。" />
    </element>
    <element id="AllergyIntolerance.reaction.severity">
      <path value="AllergyIntolerance.reaction.severity" />
      <short value="mild | moderate | severe (of event as a whole) （軽度 | 中度 | 重度）" />
      <definition value="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.&#xD;&#xA;&#xD;&#xA;有害反応の重症度の全体としての臨床的な評価で、潜在的には複数の異なる症状兆候を考慮して決める。" />
    </element>
    <element id="AllergyIntolerance.reaction.exposureRoute">
      <path value="AllergyIntolerance.reaction.exposureRoute" />
      <short value="How the subject was exposed to the substance. 患者がこの物質にどのように暴露したか" />
      <definition value="Identification of the route by which the subject was exposed to the substance.&#xD;&#xA;&#xD;&#xA;患者がどのような経路でこの物質に暴露したかの同定。" />
    </element>
    <element id="AllergyIntolerance.reaction.note">
      <path value="AllergyIntolerance.reaction.note" />
      <short value="Text about event not captured in other fields. 他のフィールド要素では記述できない追加テキスト" />
      <definition value="Additional text about the adverse reaction event not captured in other fields.&#xD;&#xA;&#xD;&#xA;他のフィールド要素では記述できない、有害反応に関する追加テキスト。" />
    </element>
  </differential>
</StructureDefinition>