<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="jp-familymemberhistory" />
  <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_FamilyMemberHistory" />
  <version value="1.1.1" />
  <name value="JP_FamilyMemberHistory" />
  <title value="JP Core FamilyMemberHistory Profile" />
  <status value="active" />
  <date value="2022-10-24" />
  <description value="このプロファイルはFamilyMemberHistoryリソースに対して、データを送受信するための共通の制約と拡張を定めたものである。" />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="workflow" />
    <uri value="http://hl7.org/fhir/workflow" />
    <name value="Workflow Pattern" />
  </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>
  <kind value="resource" />
  <abstract value="false" />
  <type value="FamilyMemberHistory" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" />
  <derivation value="constraint" />
  <differential>
    <element id="FamilyMemberHistory">
      <path value="FamilyMemberHistory" />
      <short value="Information about patient's relatives, relevant for patient. 患者の家族に関する情報のうち、患者に関連する情報（家族歴）" />
      <definition value="Significant health conditions for a person related to the patient relevant in the context of care for the patient.&#xD;&#xA;&#xD;&#xA;患者の診療に関連する、患者家族の疾患に関する情報。" />
    </element>
    <element id="FamilyMemberHistory.text">
      <path value="FamilyMemberHistory.text" />
      <short value="Text summary of the resource, for human interpretation. このリソースを人間が解釈するためのテキスト要約" />
    </element>
    <element id="FamilyMemberHistory.status">
      <path value="FamilyMemberHistory.status" />
      <short value="partial | completed | entered-in-error | health-unknown この家族歴の記録ステータス（部分的 | 完全 | 記録エラー | 健康状態不明）" />
      <definition value="A code specifying the status of the record of the family history of a specific family member.&#xD;&#xA;&#xD;&#xA;家族歴の記録のステータス。記録が部分的なものか完全なものかなど。" />
    </element>
    <element id="FamilyMemberHistory.dataAbsentReason">
      <path value="FamilyMemberHistory.dataAbsentReason" />
      <short value="subject-unknown | withheld | unable-to-obtain | deferred この家族歴が記録されない理由(対象家族を知らない | 情報の提供を拒否 | 聞き出すことができない | 後日情報を提供できる)" />
      <definition value="Describes why the family member's history is not available.&#xD;&#xA;&#xD;&#xA;1)subject-unknown:患者が対象の家族のことを知らない（例:患者は養子のため実親を知らない）&#xD;&#xA;&#xD;&#xA;2)withheld:患者が家族歴の共有を拒否&#xD;&#xA;&#xD;&#xA;3)unable-to-obtain:患者から聞き取れない（例：患者が意識不明）&#xD;&#xA;&#xD;&#xA;4)deferred:患者は今は知らないが、後日共有するつもりである" />
    </element>
    <element id="FamilyMemberHistory.patient">
      <path value="FamilyMemberHistory.patient" />
      <short value="Patient history is about. この家族歴を有する患者" />
      <definition value="The person who this history concerns.&#xD;&#xA;&#xD;&#xA;この家族歴を有する患者。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient" />
      </type>
    </element>
    <element id="FamilyMemberHistory.date">
      <path value="FamilyMemberHistory.date" />
      <short value="When history was recorded or last updated. この家族歴の最終更新日" />
      <definition value="The date (and possibly time) when the family member history was recorded or last updated.&#xD;&#xA;&#xD;&#xA;この家族歴の最終更新日。" />
    </element>
    <element id="FamilyMemberHistory.name">
      <path value="FamilyMemberHistory.name" />
      <short value="The family member described. この家族の名前" />
      <definition value="This will either be a name or a description; e.g. &quot;Aunt Susan&quot;, &quot;my cousin with the red hair&quot;.&#xD;&#xA;&#xD;&#xA;対象の家族の呼び名。例えば「スーザンおばさん」「赤毛のいとこ」。" />
    </element>
    <element id="FamilyMemberHistory.relationship">
      <path value="FamilyMemberHistory.relationship" />
      <short value="Relationship to the subject. この家族の患者との関係（父、母、兄弟など）" />
      <definition value="The type of relationship this person has to the patient (father, mother, brother etc.). &#xD;&#xA;&#xD;&#xA;この家族が患者とどのような関係か（父、母、兄弟など）" />
    </element>
    <element id="FamilyMemberHistory.sex">
      <path value="FamilyMemberHistory.sex" />
      <short value="male | female | other | unknown 性別（男性 | 女性 | その他 | 不明）" />
      <definition value="The birth sex of the family member.&#xD;&#xA;&#xD;&#xA;この家族の出生時の性別。" />
      <binding>
        <extension url="http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName">
          <valueString value="Sex" />
        </extension>
        <strength value="extensible" />
        <description value="Codes describing the sex assigned at birth as documented on the birth registration.&#xD;&#xA;&#xD;&#xA;出生届に記載される出生時に割り当てられた性別。" />
        <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender" />
      </binding>
    </element>
    <element id="FamilyMemberHistory.born[x]">
      <path value="FamilyMemberHistory.born[x]" />
      <short value="(approximate) date of birth. この家族のおよその生年月日" />
      <definition value="The actual or approximate date of birth of the relative.&#xD;&#xA;&#xD;&#xA;家族の実際もしくはおおよその生年月日。" />
    </element>
    <element id="FamilyMemberHistory.age[x]">
      <path value="FamilyMemberHistory.age[x]" />
      <short value="(approximate) age. この家族のおよその年齢" />
      <definition value="The age of the relative at the time the family member history is recorded.&#xD;&#xA;&#xD;&#xA;家族歴が記録された時点でのこの家族の年齢。" />
      <requirements value="While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians.&#xD;&#xA;&#xD;&#xA;年齢は生年月日から計算できるが、臨床医にとっては年齢を直接記録する方が自然な場合もある。" />
    </element>
    <element id="FamilyMemberHistory.estimatedAge">
      <path value="FamilyMemberHistory.estimatedAge" />
      <short value="Age is estimated? この家族の年齢は推定か？" />
      <definition value="If true, indicates that the age value specified is an estimated value.&#xD;&#xA;&#xD;&#xA;Trueである場合この年齢は推定値である。" />
    </element>
    <element id="FamilyMemberHistory.deceased[x]">
      <path value="FamilyMemberHistory.deceased[x]" />
      <short value="Dead? How old/when? この家族は亡くなっているか、そうであれば何歳もしくはいつ亡くなったか" />
      <definition value="Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.&#xD;&#xA;&#xD;&#xA;死亡したかどうかのフラグ/家族の死亡時の実年齢/おおよその年齢。" />
    </element>
    <element id="FamilyMemberHistory.reasonCode">
      <path value="FamilyMemberHistory.reasonCode" />
      <short value="Why was family member history performed? なぜ家族歴が聴取されたか（契機となった患者の疾患）" />
      <definition value="Describes why the family member history occurred in coded or textual form.&#xD;&#xA;&#xD;&#xA;家族歴を聴取する契機となった患者の疾患をコードもしくはテキストで記述（CodeableConcept)" />
    </element>
    <element id="FamilyMemberHistory.reasonReference">
      <path value="FamilyMemberHistory.reasonReference" />
      <short value="Why was family member history performed? なぜ家族歴が聴取されたか（契機となったFHIRリソース）" />
      <definition value="Indicates a JP_Condition, JP_Observation, JP_AllergyIntolerance, or JP_QuestionnaireResponse JP_Observation_Common, or JP_DiagnosticReport_Common that justifies this family member history event.&#xD;&#xA;&#xD;&#xA;この家族歴が聴取されたきっかけとなったFHIRリソースへの参照。" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/DocumentReference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_AllergyIntolerance" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Condition" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Observation_Common" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_DiagnosticReport_Common" />
      </type>
    </element>
    <element id="FamilyMemberHistory.note">
      <path value="FamilyMemberHistory.note" />
      <short value="General note about related person. この家族に関するメモ" />
      <definition value="This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.&#xD;&#xA;&#xD;&#xA;この家族に関するメモ。" />
    </element>
    <element id="FamilyMemberHistory.condition">
      <path value="FamilyMemberHistory.condition" />
      <short value="Condition that the related person had. この家族が有する疾患" />
      <definition value="The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.&#xD;&#xA;&#xD;&#xA;この家族が持っていた疾患。" />
    </element>
    <element id="FamilyMemberHistory.condition.code">
      <path value="FamilyMemberHistory.condition.code" />
      <short value="Condition suffered by relation. この家族の疾患" />
      <definition value="The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.&#xD;&#xA;&#xD;&#xA;この疾患について知られている程度や作成システムの能力に応じて、コード化された状態（MIや糖尿病など）、または「がん」のようなあまり特定されない文字列になる可能性がある。" />
    </element>
    <element id="FamilyMemberHistory.condition.outcome">
      <path value="FamilyMemberHistory.condition.outcome" />
      <short value="deceased | permanent disability | etc. この疾患のアウトカム（死亡 | 後遺障害 | その他）" />
      <definition value="Indicates what happened following the condition. If the condition resulted in death, deceased date is captured on the relation.&#xD;&#xA;&#xD;&#xA;その状態の後に何が起こったかを示す。その結果、死亡した場合は、死亡した日付が関連に記録される。" />
    </element>
    <element id="FamilyMemberHistory.condition.contributedToDeath">
      <path value="FamilyMemberHistory.condition.contributedToDeath" />
      <short value="Whether the condition contributed to the cause of death. この疾患が死亡の原因となったかどうか" />
      <definition value="This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.&#xD;&#xA;&#xD;&#xA;この疾患が家族の死亡に寄与したかどうかのフラグ。入力されていない場合は、不明である。" />
    </element>
    <element id="FamilyMemberHistory.condition.onset[x]">
      <path value="FamilyMemberHistory.condition.onset[x]" />
      <short value="When condition first manifested. この疾患のオンセット" />
      <definition value="Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.&#xD;&#xA;&#xD;&#xA;発症年齢、おおよその年齢範囲、記述文字列のいずれかを記録する。複数回発生する疾患については、最初に知られている発生を記述する。" />
    </element>
    <element id="FamilyMemberHistory.condition.note">
      <path value="FamilyMemberHistory.condition.note" />
      <short value="Extra information about condition. この疾患についての追加の情報メモ" />
      <definition value="An area where general notes can be placed about this specific condition.&#xD;&#xA;&#xD;&#xA;この疾患についての一般的なメモ。" />
    </element>
  </differential>
</StructureDefinition>