{
  "resourceType": "StructureDefinition",
  "url": "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Medication",
  "version": "1.0.0",
  "name": "JP_Medication",
  "title": "JP_Medication",
  "status": "active",
  "date": "2021-12-04T09:24:43.5308889+00:00",
  "publisher": "FHIR® Japanese implementation research working group in Japan Association of Medical Informatics (JAMI)",
  "description": "このプロファイルはMedicationリソースに対して、主に薬剤データを送受信するための基礎となる制約と拡張を定めたものである。",
  "purpose": "このプロファイルはMedicationリソースに対して、主に薬剤データを送受信するための基礎となる制約と拡張を定めたものである。",
  "copyright": "FHIR® Japanese implementation research working group in Japan Association of Medical Informatics (JAMI)",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "script10.6",
      "uri": "http://ncpdp.org/SCRIPT10_6",
      "name": "Mapping to NCPDP SCRIPT 10.6"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "ssmix",
      "uri": "http://www.ss-mix.org/cons/",
      "name": "SS-MIX2標準"
    },
    {
      "identity": "jahis",
      "uri": "https://www.jahis.jp/standard/",
      "name": "JAHIS制定済み標準「処方データ交換規約3.0C」"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Medication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Medication",
        "path": "Medication",
        "short": "Medication Resourceの定義",
        "definition": "This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.\r\n\r\nこのResourceは薬剤を処方し、払い出し（調剤）、その投与を定義し、IDを付与するためにまず利用され、薬剤の使用状態を示すためにも使われる。"
      },
      {
        "id": "Medication.id",
        "path": "Medication.id",
        "short": "このアーチファクトに対する論理ID",
        "definition": "リソースに対するURLとして使われるリソースの論理ID。この値は一度割り当てられたら変更されることはない。",
        "comment": "ResourceにIDがない時期は、create操作のためにサーバにResourceが送信されている時期だけである。"
      },
      {
        "id": "Medication.meta",
        "path": "Medication.meta",
        "short": "このresourceに対するメタデータ。",
        "definition": "このResourceに対するメタデータ。\r\nThe 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."
      },
      {
        "id": "Medication.identifier",
        "path": "Medication.identifier",
        "short": "この薬剤に関する業務用のID",
        "definition": "この薬剤に関する業務用のID",
        "comment": "IDとしてシリアルナンバーを使うこともできる。"
      },
      {
        "id": "Medication.code",
        "path": "Medication.code",
        "short": "この薬剤を特定するコード",
        "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.\r\n\r\nこの薬剤を指定するコード。該当するコードがない場合はテキスト表記。\r\n使用法について注記：日本ではHOTコードを利用することが推奨される。一般的な薬剤コードとしてRxNorm、SNOMD CT, IDMPなど標準的な医薬品コードを使うことができる。国や地域に特有のローカルコードも使うことができ、他のコードに変換することもできる。",
        "comment": "使われるコンテキストによるが、ユーザー(処方や調剤などを行った人）によって実際にコードが選択されたのであれば、coding.userSelectedはtrueとすることとなる。Codingのデータ型で説明されているように、「ユーザーインターフェース（たとえば、選択肢から特定の項目をユーザーが選択するような形式）で特定のコードをユーザーが選択したのであれば、\"userSlected\"に記録されてもよい」\r\nユーザーが選択したコードがあれば、その選択がコード変換などで優先される。そのほかのコードは代替のコードシステムか低粒度のコード（たとえば、ベンダー固有の初期値のための一般的なコード）に文字列変換変換するしかない。",
        "binding": {
          "strength": "preferred",
          "description": "薬品の種類を規定するコード化された概念"
        }
      },
      {
        "id": "Medication.status",
        "path": "Medication.status",
        "definition": "JP Coreでは active で固定される。\r\n薬剤が有効に使われているかどうかを指定するコード。",
        "comment": "このステータスは薬剤がローカルにあるシステム内で薬剤データベースや棚卸表で有効とされているかどうかを識別するためのものである。たとえば、薬剤システムで「ABC病院特製クリーム」といった製剤のために新しい薬剤ファイルを作成されるような場合もある。未来のある時点では、薬剤記録を作成した時にエラーが発生し、ステータスが「entered-in-error」に変化することもありうる。このステータスは薬剤が特定の処方集に記載されているかどうかを指定するためのものではない。薬剤記録が複数の処方集やカタログを参照することも可能であり、それぞれの記録が異なるステータスを持つこともある。",
        "min": 1,
        "fixedCode": "active",
        "isModifierReason": "このエレメントはすべての属性の解釈によって変化する。"
      },
      {
        "id": "Medication.manufacturer",
        "path": "Medication.manufacturer",
        "short": "製品の製造者",
        "definition": "Describes the details of the manufacturer of the medication product.  This is not intended to represent the distributor of a medication product.\r\n\r\n医薬品の製造元の詳細を説明します。これは、医薬品の販売業者を表すことを意図したものではない。"
      },
      {
        "id": "Medication.form",
        "path": "Medication.form",
        "definition": "製品の剤型についての説明。散剤(powder)、錠剤(tablets)、カプセル(capsule)など。",
        "comment": "もし、Medication ResourceがMedicationRequest Resourceから参照された場合は、これはオーダーされた剤型である。Medication ResourceがMedicationDispense Resourceから参照された場合は、払い出された剤型である。MedicationAdministration ResourceからMedication Resourceが参照されていれば、投与された剤型である。"
      },
      {
        "id": "Medication.amount",
        "path": "Medication.amount",
        "short": "パッケージ中の薬剤の量",
        "definition": "パッケージされた製品に含まれる薬剤固有の量。たとえば、同じ力価の製品を指定すれば（たとえば、インスリングラルギン10単位/mL注射液）、この値はパッケージ内での薬剤量（たとえば、3mL, 10mLなど）を明示することになる。",
        "comment": "比率（Ratio)を表すデータ型は、量(Quantity)と共通単位を使って適切に表現できないときのみに使われるべきである。分母が\"1\"に固定されているとわかっているような場合は、量(Quantity)を比率(Ratio)の代わりに使うべきである。"
      },
      {
        "id": "Medication.ingredient",
        "path": "Medication.ingredient",
        "short": "薬効がある、あるいは薬効を伴わない成分",
        "definition": "この薬剤を構成する特定の重要成分を識別する",
        "comment": "すべての成分を含む必要はない。もし、ある成分が記載されていなくてもその成分が含有されているかどうかを必ずしも意味しない。特定の成分が記載されていても、すべての成分が記載されていると言うことを意味しない。有効成分であるか、有効成分ではないかを指定することは可能である。"
      },
      {
        "id": "Medication.ingredient.extension",
        "path": "Medication.ingredient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Medication.ingredient.extension:DrugNo",
        "path": "Medication.ingredient.extension",
        "sliceName": "DrugNo",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_Ingredient_DrugNo"
            ]
          }
        ]
      },
      {
        "id": "Medication.ingredient.item[x]",
        "path": "Medication.ingredient.item[x]",
        "short": "有効な成分あるいは含有物",
        "definition": "有効成分。物質(単純成分）あるいは他の薬剤や処方。",
        "comment": "すべての用語集はこの一般的な様式を満たさない。場合によっては、情報モデルとしてCodeableConceptや直接Codingを使うべきではなく、テキストやコード、翻訳や事前条件と事後条件でのエレメントの関係などを示すことも適切ではない。",
        "requirements": "成分は物質（たとえば、アモキシシリン）や、他の薬剤（たとえば、Glaxal Baseなどの合成製品）を参照されることもある。",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Medication.ingredient.isActive",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "Medication.ingredient.isActive",
        "short": "有効成分の指標",
        "definition": "この成分が薬剤の治療効果に影響するかどうかの指標\r\nI\r\nndication of whether this ingredient affects the therapeutic action of the drug.",
        "requirements": "Trueであれば、この成分が薬剤の治療効果に影響がある（たとえば有効）ということを示す。\r\nFalseであれば、この成分が薬剤の治療効果に影響がない（たとえば無効）ということを示す。"
      },
      {
        "id": "Medication.ingredient.strength",
        "path": "Medication.ingredient.strength",
        "short": "成分の活性量",
        "definition": "この薬剤中にどの程度の物質が含まれているかを示す。たとえば、1錠あたり250mgなど。これは分子が250mgで分母が1錠である比率を表現している。",
        "comment": "Ratioデータ型は2つの数字の関係で示され、Quantityや一般的な単位で適切に表現できない関係を表すときにのみ用いられる。分母の値が「1」で固定されているような値であれば、QuantityがRatioの代わりに用いられるべきである。",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Medication.ingredient.strength.extension",
        "path": "Medication.ingredient.strength.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Medication.ingredient.strength.extension:StrenghtType",
        "path": "Medication.ingredient.strength.extension",
        "sliceName": "StrenghtType",
        "definition": "投与量が製剤単位か成分単位かを格納する拡張",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://jpfhir.jp/fhir/core/Extension/StructureDefinition/JP_Medication_IngredientStrength_StrengthType"
            ]
          }
        ]
      },
      {
        "id": "Medication.batch",
        "path": "Medication.batch",
        "short": "分包された薬剤についての詳細な解説",
        "definition": "薬剤のパッケージ（薬品そのものではない）についての情報。"
      },
      {
        "id": "Medication.batch.lotNumber",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "Medication.batch.lotNumber",
        "short": "バッチのID",
        "definition": "特定の薬品を含むバッチに割り当てられたロット番号",
        "comment": "FHIRの文字列は1MBを超えるサイズであってはならない(SHALL NOT)。"
      },
      {
        "id": "Medication.batch.expirationDate",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
            "valueCode": "normative"
          },
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
            "valueCode": "4.0.0"
          }
        ],
        "path": "Medication.batch.expirationDate",
        "short": "このバッチの期限が切れるとき",
        "definition": "この特定のバッチの薬剤の期限が切れるとき"
      }
    ]
  }
}