<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="jp-organization" />
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-category">
    <valueString value="Base.Entities" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category">
    <valueCode value="business" />
  </extension>
  <url value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Organization" />
  <version value="1.1.1" />
  <name value="JP_Organization" />
  <title value="JP Core Organization Profile" />
  <status value="active" />
  <date value="2022-10-24" />
  <description value="このプロファイルはOrganizationリソースに対して、組織情報のデータを送受信するための基礎となる制約と拡張を定めたものである。" />
  <fhirVersion value="4.0.1" />
  <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="servd" />
    <uri value="http://www.omg.org/spec/ServD/1.0/" />
    <name value="ServD" />
  </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="Organization" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Organization" />
  <derivation value="constraint" />
  <differential>
    <element id="Organization">
      <path value="Organization" />
      <short value="A grouping of people or organizations with a common purpose/共通の目的を持った人や組織の集まり【詳細参照】" />
      <definition value="A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action.  Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.&#xD;&#xA;&#xD;&#xA;集団行動の何らかの形での達成を目的として結成された、正式または非公式に認められた人々または組織のグループ。企業、機関、企業、部門、コミュニティグループ、医療実践グループ、支払者/保険者などが含まれる。" />
    </element>
    <element id="Organization.extension">
      <path value="Organization.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Organization.extension:prefectureNo">
      <path value="Organization.extension" />
      <sliceName value="prefectureNo" />
      <short value="都道府県番号２桁を表現するExtension" />
      <comment value="都道府県番号２桁。Identifier型の拡張を使用する。  &#xA;valueには都道府県番号2桁の値を格納し、systemには都道府県番号を表すOID「1.2.392.100495.20.3.21」を指定する。" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Organization_PrefectureNo" />
      </type>
    </element>
    <element id="Organization.extension:organizationCategory">
      <path value="Organization.extension" />
      <sliceName value="organizationCategory" />
      <short value="点数表コード１桁（医科１、非保険検診施設２、歯科３、調剤４、訪問看護ステーション６）を表現するExtension【詳細参照】" />
      <comment value="点数表コード１桁（医科１、非保険検診施設２、歯科３、調剤４、訪問看護ステーション６）。systemには点数表番号を表すOID「1.2.392.100495.20.3.22」を指定する。" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Organization_InsuranceOrganizationCategory" />
      </type>
    </element>
    <element id="Organization.extension:organizationNo">
      <path value="Organization.extension" />
      <sliceName value="organizationNo" />
      <short value="医療機関コード（７桁）を表現するExtension【詳細参照】" />
      <comment value="医療機関コード（７桁）。Identifier型の拡張「InsuranceOrganizationNo」を使用する。  &#xA;systemには医療機関コードを表すOID「1.2.392.100495.20.3.23」を指定する。&#xA;valueには下記の値を格納する。  &#xA;- 保険医療機関・保険薬局 : `医療機関コード（７桁）`&#xA;- 非保険の特定健診・特定保健指導機関 : `機関コード（７桁）`&#xA;&#xA;医療機関コードの詳しい説明は、[こちらのリンク](StructureDefinition-jp-organization.html#医療機関コード１０桁)を参照すること。  &#xA;なお上記に該当しない施設は、本拡張は使用しない。" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Organization_InsuranceOrganizationNo" />
      </type>
    </element>
    <element id="Organization.identifier">
      <path value="Organization.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="system" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <short value="Identifies this organization  across multiple systems/複数のシステムでこの組織を識別【詳細参照】" />
      <definition value="Identifier for the organization that is used to identify the organization across multiple disparate systems.&#xD;&#xA;&#xD;&#xA;複数の異種システムにまたがって組織を識別するための識別子" />
      <comment value="福祉医療関連施設と保険者組織はSlicingについてはJP Coreにて定義を行なっているため、定義に従いデータを格納すること。それ以外の組織については、利用する際には必要に応じて識別子を定義を行なうこと。" />
      <requirements value="Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.&#xD;&#xA;&#xD;&#xA;組織は様々な ID で知られている。いくつかの機関では複数のIDを保持しており、ほとんどの機関では、組織に関する他の組織との交換のためにIDを収集している。" />
    </element>
    <element id="Organization.identifier.assigner">
      <path value="Organization.identifier.assigner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Organization" />
      </type>
    </element>
    <element id="Organization.identifier:medicalInstitutionCode">
      <path value="Organization.identifier" />
      <sliceName value="medicalInstitutionCode" />
      <short value="施設が福祉医療関連機関である場合に利用する識別子【詳細参照】" />
      <definition value="福祉医療施設を区別するため医療機関コード（１０桁）を格納するためのIdentifier/Slicing定義。" />
      <comment value="systemはFixed Valueの```http://jpfhir.jp/fhir/Common/IdSystem/insurance-medical-institution-no```を使用する。　&#xA;value : ```医療機関コード（１０桁）```を使用する。 &#xA;医療機関コード（１０桁）の詳細は[こちらのリンク](StructureDefinition-jp-organization.html#医療機関コード１０桁)を参照すること。" />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Organization.identifier:medicalInstitutionCode.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="http://jpfhir.jp/fhir/core/IdSystem/insurance-medical-institution-no" />
    </element>
    <element id="Organization.identifier:insurerNumber">
      <path value="Organization.identifier" />
      <sliceName value="insurerNumber" />
      <comment value="健康保険組合などの保険者の保険者番号を表現する際のIdentifier表現に使用する&#xD;&#xA;system要素には保険者番号を示すOID&quot;urn:oid:1.2.392.100495.20.3.61&quot;を指定する。" />
      <min value="0" />
      <max value="*" />
    </element>
    <element id="Organization.identifier:insurerNumber.system">
      <path value="Organization.identifier.system" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.392.100495.20.3.61" />
    </element>
    <element id="Organization.active">
      <path value="Organization.active" />
      <short value="Whether the organization's record is still in active use / 組織の記録がまだ有効に使われているかどうか【詳細参照】" />
      <definition value="Whether the organization's record is still in active use.&#xD;&#xA;&#xD;&#xA;組織の記録がまだ現役であるかどうか。" />
      <comment value="This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.&#xA;&#xA;This element is labeled as a modifier because it may be used to mark that the resource was created in error.&#xD;&#xA;&#xD;&#xA;このアクティブフラグは、組織を一時的に閉鎖したり、工事中であることを示すために使用されることを意図していない。代わりに、組織内の場所(複数可)は、中断されたステータスを持っている必要がある。一時停止の理由の詳細が必要な場合は、この要素の拡張子を使用する必要がある。&#xD;&#xA;&#xD;&#xA;この要素は、リソースがエラーで作成されたことをマークするために使用される可能性があるため、修飾子としてラベル付けされている。" />
      <requirements value="Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.&#xD;&#xA;&#xD;&#xA;レコードが使用されなくなったことを示すためのフラグが必要で、一般的にUIではユーザのために非表示にする必要がある。" />
    </element>
    <element id="Organization.type">
      <path value="Organization.type" />
      <short value="Kind of organization / 組織の種類【詳細参照】" />
      <definition value="The kind(s) of organization that this is.&#xD;&#xA;&#xD;&#xA;その種類の組織。" />
      <comment value="Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes&#xA;&#xA;When considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.&#xA;&#xA;We expect that some jurisdictions will profile this optionality to be a single cardinality.&#xD;&#xA;&#xD;&#xA;組織は、企業、病棟、セクション、臨床チーム、政府部門などにすることができる。多くのアプリケーションでは、コードは、特定の組織を識別するために使用されている（と言う、病棟）別の同じタイプのものとは対照的に - これらは識別子ではなく、コードである。&#xD;&#xA;&#xD;&#xA;複数のタイプが適切かどうかを検討する際には、異なるタイプが組織の異なるサブ領域に存在する可能性が高いため、子どもの組織の方がより適切な使用法であるかどうかを評価する必要がある。これは、宗教、学術、医療センターのように、タイプの価値観が直交する場合に使用される可能性が高い。&#xD;&#xA;&#xD;&#xA;いくつかの法域では、このオプション性を単一のカーディナリティとしてプロファイルすると予想される。" />
      <requirements value="Need to be able to track the kind of organization that this is - different organization types have different uses.&#xD;&#xA;&#xD;&#xA;これがある組織の種類を追跡することができる必要がある - 異なる組織の種類は、異なる用途を持っている。" />
    </element>
    <element id="Organization.name">
      <path value="Organization.name" />
      <short value="Name used for the organization / 組織に使用されている名称【詳細参照】" />
      <definition value="A name associated with the organization.&#xD;&#xA;&#xD;&#xA;組織に関連付けられた名前。" />
      <comment value="If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.&#xD;&#xA;&#xD;&#xA;組織名が変更された場合は、旧名称をエイリアス欄に入れて検索で見つけられるようにすることを検討すべきである。" />
      <requirements value="Need to use the name as the label of the organization.&#xD;&#xA;&#xD;&#xA;組織のラベルとして名前を使用する必要がある。" />
    </element>
    <element id="Organization.alias">
      <path value="Organization.alias" />
      <short value="A list of alternate names that the organization is known as, or was known as in the past / 組織が知られている、または過去に知られていた別名のリスト【詳細参照】" />
      <definition value="A list of alternate names that the organization is known as, or was known as in the past.&#xD;&#xA;&#xD;&#xA;組織がその名で知られている、または過去にその名で知られていた代替名のリスト。" />
      <comment value="There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.&#xD;&#xA;&#xD;&#xA;これは、名前がいつ使用されたかを追跡することを目的としたものではなく、古い名前でも組織を特定できるように検索を支援することを目的としているため、別名や歴史的な名前に関連付けられた日付はない。" />
      <requirements value="Over time locations and organizations go through many changes and can be known by different names.&#xA;&#xA;For searching knowing previous names that the organization was known by can be very useful.&#xD;&#xA;&#xD;&#xA;時間の経過とともに、場所や組織はさまざまな変化を経て、さまざまな名前で知ることができる。&#xD;&#xA;&#xD;&#xA;組織が知っている前の名前を知るための検索には、非常に便利なことができる。" />
    </element>
    <element id="Organization.telecom">
      <path value="Organization.telecom" />
      <short value="A contact detail for the organization / 組織の連絡先詳細【詳細参照】" />
      <definition value="A contact detail for the organization.&#xD;&#xA;&#xD;&#xA;組織の連絡先詳細" />
      <comment value="The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.&#xD;&#xA;&#xD;&#xA;使用コード「home」は使用しないこと。これらの連絡先は、組織に雇用されている人や組織を代表する人の連絡先ではなく、組織自体の公式な連絡先であることに注意すること。" />
      <requirements value="Human contact for the organization.&#xD;&#xA;&#xD;&#xA;組織のヒューマンコンタクト。" />
    </element>
    <element id="Organization.address">
      <path value="Organization.address" />
      <short value="An address for the organization / 組織の住所【詳細参照】" />
      <definition value="An address for the organization.&#xD;&#xA;&#xD;&#xA;組織の住所" />
      <comment value="Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.&#xD;&#xA;&#xD;&#xA;組織は、用途や適用期間が異なる複数の住所を持っている場合がある。使用コード「home」は使用しないこと。" />
      <requirements value="May need to keep track of the organization's addresses for contacting, billing or reporting requirements.&#xD;&#xA;&#xD;&#xA;連絡、請求、または報告のために、組織のアドレスを追跡する必要がある場合がある。" />
    </element>
    <element id="Organization.partOf">
      <path value="Organization.partOf" />
      <short value="The organization of which this organization forms a part【詳細参照】" />
      <definition value="The organization of which this organization forms a part.&#xD;&#xA;この組織が一部を構成する組織" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (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.&#xD;&#xA;参照は、実際のFHIRリソースへの参照である必要があり、内容に辿り着ける（解決できる）必要がある（アクセス制御、一時的な使用不可などを考慮に入れる）。解決は、URLから取得するか、リソースタイプによって該当する場合は、絶対参照を正規URLとして扱い、ローカルレジストリ/リポジトリで検索することによって行うことができる。" />
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="true" />
        </extension>
        <code value="Reference" />
        <targetProfile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_Organization" />
      </type>
    </element>
    <element id="Organization.contact">
      <path value="Organization.contact" />
      <short value="Contact for the organization for a certain purpose　特定の目的のための組織の連絡先【詳細参照】" />
      <definition value="Contact for the organization for a certain purpose.&#xD;&#xA;特定の目的のための組織の連絡先" />
      <comment value="Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.&#xD;&#xA;同じ目的で複数の連絡先が提供されている場合、どの連絡先を使用するのが好ましいかを判断するために使用できる標準の拡張extension がある。" />
      <requirements value="Need to keep track of assigned contact points within bigger organization.&#xD;&#xA;より大きな組織内で割り当てられた連絡先を追跡する必要がある。" />
    </element>
    <element id="Organization.contact.name">
      <path value="Organization.contact.name" />
      <type>
        <code value="HumanName" />
        <profile value="http://jpfhir.jp/fhir/core/StructureDefinition/JP_HumanName" />
      </type>
    </element>
    <element id="Organization.endpoint">
      <path value="Organization.endpoint" />
      <short value="Technical endpoints providing access to services operated for the organization　　組織のために運営されているサービスへのアクセスを提供する技術的エンドポイント【詳細参照】" />
      <definition value="Technical endpoints providing access to services operated for the organization.&#xD;&#xA;組織のために運営されているサービスへのアクセスを提供する技術的エンドポイント" />
      <comment value="References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (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.&#xD;&#xA;参照は、実際のFHIRリソースへの参照である必要があり、内容に辿り着ける（解決できる）必要がある（アクセス制御、一時的な使用不可などを考慮に入れる）。解決は、URLから取得するか、リソースタイプによって該当する場合は、絶対参照を正規URLとして扱い、ローカルレジストリ/リポジトリで検索することによって行うことができる。" />
      <requirements value="Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.&#xD;&#xA;組織にはさまざまなサービスを提供する複数のシステムがあり、それらに接続する方法と目的について、技術的な接続の詳細を定義できる必要がある。" />
    </element>
  </differential>
</StructureDefinition>