Japanese Electronic Medicinal Product Information (ePI-JP)
0.1.0 - ci-build

Japanese Electronic Medicinal Product Information (ePI-JP), published by Gravitate Health Project. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cander2/epi-jp/ and changes regularly. See the Directory of published versions

How to Build an ePI-JP

このページでは、ePIの構築と管理方法について段階的な指示を提供します。


This page provides step-by-step instructions on how to build and manage ePIs.

The following figure shows how the ePI Type 3 resources relate to each other: Entity relationship diagram of ePI Type 3 resource relationships

Bundle

The Bundle resource serves as the container for the ePI document, aggregating the Composition and all referenced resources into a single, cohesive FHIR document bundle.

FHIR Resource FHIR Element JP XML/XSD Element Notes
Bundle id n/a The Bundle contains the Composition as the first entry, with other referenced resources.
Bundle meta.versionId Document/Revision Version identifier based on document revision (e.g., '第1版').
Bundle meta.lastUpdated Document/RevisionDate Last updated timestamp, mapped from revision date or set to current assembly time.
Bundle identifier Document/ProductCode Unique identifier for the bundle, possibly using product code or document ID.
Bundle type n/a Set to 'document' for the ePI Bundle.
Bundle timestamp n/a Current timestamp when the Bundle is assembled.
Bundle entry n/a Entries for Composition, Binary (if narrative), Organizations, etc.

Composition

The Composition resource represents the structured content of the electronic Package Insert (ePI), organizing sections such as indications, dosage, and precautions into a human-readable document.

FHIR Resource FHIR Element JP XML/XSD Element Notes
Composition id n/a Unique identifier for the Composition resource.
Composition status n/a Typically 'final' for published ePI.
Composition type n/a Coded as 'Package Insert' or equivalent from value set.
Composition subject n/a Reference to MedicinalProductDefinition.
Composition date Document/RevisionDate Maps to the revision date of the document, or Date of Preparation or Revision (作成又は改訂年月).
Composition author Document/Manufacturer Reference to Organization (manufacturer).
Composition title Document/ProductName Product name from the XML.
Composition text Narrative content from entire XML Overall narrative description of the entire document in XHTML format, distinct from title.
Composition language Document/Language or default 'ja' Language code, e.g., 'ja' for Japanese.
Composition contained Reference to Binary for images Contained Binary resource for inline images; Binary has id, contentType (e.g., 'image/svg+xml'), and data (base64 encoded SVG).
Composition version Document/Revision Version of the composition, mapped from document revision (e.g., '第1版').
Composition relatesTo n/a Relationships to other documents or versions if applicable.
Composition section Various sections like Warnings, Indications, etc. Each major section in XML maps to a Composition.section, with nested sub-sections. For example, maps to Warnings (警告).
Composition section.id n/a Unique identifier for the section.
Composition section.title Section/Title Title of the section from XML.
Composition section.code Section/Code Coded concept for the section type (e.g., from LOINC or local codes for indications, contraindications).
Composition section.text Narrative content from XML sections XHTML narrative derived from XML content.

Binary

The Binary will only handle images encoded as Base64 format. This means ePIs are always one XML file since images are embedded in the XML file rather than outside the XML.

FHIR Resource FHIR Element JP XML/XSD Element Notes
Binary id n/a Identifier for binary content if used (e.g., for images in composition).
Binary contentType n/a 'image/png' or similar for embedded images.
Binary data Attached files like images Base64 encoded content for images, ensuring inline embedding in the ePI XML.

Organization

The Organization resource describes entities involved in the product lifecycle, such as manufacturers or marketing authorization holders, including their contact and address details.

FHIR Resource FHIR Element JP XML/XSD Element Notes
Organization id Document/Manufacturer Manufacturer's identifier.
Organization identifier Document/Manufacturer/ID System-assigned identifier for the organization (e.g., business ID).
Organization name Document/Manufacturer/Name Name of the manufacturing organization.
Organization contact Document/Manufacturer/Contact Contact details if available.
Organization contact.telecom.system.email Document/Manufacturer/Contact/Email Email contact system.
Organization contact.telecom.system.url Document/Manufacturer/Contact/URL URL or website contact system.
Organization contact.telecom.system.phone Document/Manufacturer/Contact/Phone Phone contact system.
Organization contact.address.type Document/Manufacturer/Address/Type Type of address (e.g., postal, physical).
Organization contact.address.text Document/Manufacturer/Address/Text Full text representation of the address.
Organization contact.address.line Document/Manufacturer/Address/Line Street address lines.
Organization contact.address.city Document/Manufacturer/Address/City City part of the address.
Organization contact.address.district Document/Manufacturer/Address/District District or county part of the address.
Organization contact.address.state Document/Manufacturer/Address/State State or province part of the address.
Organization contact.address.postalcode Document/Manufacturer/Address/PostalCode Postal code of the address.
Organization contact.address.country Document/Manufacturer/Address/Country Country of the address (e.g., Japan).

Ingredient

The Ingredient resource defines the active and inactive components of the medicinal product, including strength specifications for dosing.

FHIR Resource FHIR Element JP XML/XSD Element Notes
Ingredient id n/a Identifier for the ingredient.
Ingredient identifier n/a System-assigned identifier for the ingredient.
Ingredient for Reference to MedicinalProductDefinition Links to the product.
Ingredient role n/a Coded as 'active' or 'excipient' (e.g., for Active Ingredients or Additives).
Ingredient substance ActiveIngredient/Name or IndividualAdditives Reference to SubstanceDefinition for the active ingredient or additives (添加剤).
Ingredient strength.presentation ActiveIngredient/Amount or ContainedAmount Presentation strength details like 25mg (含有量).
Ingredient strength.concentration ActiveIngredient/Amount or ContainedAmount Concentration strength details.

SubstanceDefinition

The SubstanceDefinition resource provides detailed information about the chemical or biological substance used in the product, including physico-chemical properties.

FHIR Resource FHIR Element JP XML/XSD Element Notes
SubstanceDefinition id n/a Identifier for the substance.
SubstanceDefinition identifier n/a System-assigned identifier for the substance.
SubstanceDefinition name ActiveIngredient/Name or GenericName Substance name (e.g., エキセメスタン) or Generic Name (一般的名称).
SubstanceDefinition grade n/a Grade of the substance if applicable.
SubstanceDefinition molecularWeight n/a If provided in physico-chemical data.
SubstanceDefinition molecularFormula PhysicoChemicalProperties/MolecularFormula Molecular formula from physico-chemical properties.
SubstanceDefinition property PhysicoChemicalProperties or DescriptionOfActiveIngredients Properties like solubility, melting point from XML, or properties of active ingredients (性状).

ManufacturedItemDefinition

The ManufacturedItemDefinition resource describes the physical characteristics of the manufactured product, such as form, size, and appearance.

FHIR Resource FHIR Element JP XML/XSD Element Notes
ManufacturedItemDefinition id n/a Identifier for the manufactured item.
ManufacturedItemDefinition identifier n/a System-assigned identifier for the manufactured item.
ManufacturedItemDefinition name Composition/Name Name of the manufactured item.
ManufacturedItemDefinition manufacturedDoseForm DosageForm Coded dose form (e.g., tablet).
ManufacturedItemDefinition unitOfPresentation Packaging/Unit Unit like 'tablet'.
ManufacturedItemDefinition manufacturer Document/Manufacturer Reference to Organization.
ManufacturedItemDefinition property Composition or Property Properties for colour (色調), flavour, shape (外形), score, size (大きさ), surface form, imprint, text, image of the product and pack. Also maps to CompositionAndProperty, PropertyForBrand, etc.

AdministrableProductDefinition

The AdministrableProductDefinition resource specifies how the product is administered to the patient, including dose form and route.

FHIR Resource FHIR Element JP XML/XSD Element Notes
AdministrableProductDefinition id n/a Identifier for the administrable form.
AdministrableProductDefinition identifier n/a System-assigned identifier for the administrable product.
AdministrableProductDefinition description DosageForm/Description Description of the administrable product.
AdministrableProductDefinition formOf Reference to MedicinalProductDefinition Links to the product.
AdministrableProductDefinition administrableDoseForm DosageForm Administrable form (e.g., oral tablet).
AdministrableProductDefinition unitOfPresentation Packaging/Unit Presentation unit.
AdministrableProductDefinition routeOfAdministration AdministrationRoute Route like 'oral'.
AdministrableProductDefinition property DosageForm/Property Properties for colour, flavour, shape, score, size, surface form, imprint, text, image of the product and pack. Maps to PropertyForConstituentUnits, etc.

PackagedProductDefinition

The PackagedProductDefinition resource details the packaging of the medicinal product, including container type, quantity, and storage conditions.

FHIR Resource FHIR Element JP XML/XSD Element Notes
PackagedProductDefinition id n/a Identifier for the package.
PackagedProductDefinition identifier n/a System-assigned identifier for the package.
PackagedProductDefinition packageFor Reference to MedicinalProductDefinition Links to the product.
PackagedProductDefinition containedItem Reference to ManufacturedItemDefinition Points to a manufactured item.
PackagedProductDefinition manufacturer Document/Manufacturer Reference to Organization (manufacturer).
PackagedProductDefinition type Packaging/Type Type of packaging.
PackagedProductDefinition description Packaging/Description Description of the package.
PackagedProductDefinition packaging Packaging Details like PTP sheets, bottle size (包装).
PackagedProductDefinition shelfLifeStorage StorageConditions or ShelfLife Storage instructions and shelf life (貯法、有効期間).

RegulatedAuthorization

The RegulatedAuthorization resource captures regulatory approval details for the product, including marketing authorization and holder information.

FHIR Resource FHIR Element JP XML/XSD Element Notes
RegulatedAuthorization id n/a Identifier for the authorization.
RegulatedAuthorization subject Reference to MedicinalProductDefinition The authorized product.
RegulatedAuthorization type n/a 'Marketing Authorization'.
RegulatedAuthorization region n/a Japan (JP).
RegulatedAuthorization status ApprovalStatus Approved or similar.
RegulatedAuthorization date ApprovalDate or StartingDateOfMarketing Date of approval or starting date of marketing (承認番号、販売開始年月).
RegulatedAuthorization holder Document/Manufacturer Reference to Organization (MAH).
RegulatedAuthorization identifier ApprovalAndLicenseNo Approval number (承認番号).

MedicinalProductDefinition

The MedicinalProductDefinition resource provides a comprehensive definition of the medicinal product, including name, classification, and references to related resources like packaging and ingredients.

FHIR Resource FHIR Element JP XML/XSD Element Notes
MedicinalProductDefinition id Document/ProductCode Product identifier like 4291012F1022.
MedicinalProductDefinition identifier Sccj System-assigned identifier for the product, or Japanese Standard Commodity Classification Number (日本標準商品分類番号).
MedicinalProductDefinition name Document/ProductName or StandardName or GenericName Product name (e.g., アロマシン錠25mg), Standard Name (基準名), or Generic Name (一般的名称).
MedicinalProductDefinition domain n/a 'Human use'.
MedicinalProductDefinition status n/a Active.
MedicinalProductDefinition type n/a Type of medicinal product.
MedicinalProductDefinition version Document/Revision Version of the product definition.
MedicinalProductDefinition combinedPharmaceuticalDoseForm DosageForm Combined form like 'film-coated tablet'.
MedicinalProductDefinition indication Indications Text from indications section.
MedicinalProductDefinition classification TherapeuticClassification ATC or Japanese classification (薬効分類名).
MedicinalProductDefinition description Document/ProductDescription Description of the medicinal product.
MedicinalProductDefinition route AdministrationRoute Route of administration.
MedicinalProductDefinition packagedMedicinalProduct Packaging Reference to PackagedProductDefinition.
MedicinalProductDefinition marketingStatus MarketingStatus Status in Japan.
MedicinalProductDefinition legalStatusOfSupply RegulatoryClassification Regulatory classification (規制区分).

ClinicalUseDefinition (Indication subtype)

The ClinicalUseDefinition resource with Indication subtype specifies the approved indications or uses of the medicinal product.

FHIR Resource FHIR Element JP XML/XSD Element Notes
ClinicalUseDefinition (Indication subtype) id n/a Identifier for indication.
ClinicalUseDefinition (Indication subtype) identifier n/a System-assigned identifier for the indication.
ClinicalUseDefinition (Indication subtype) type n/a 'indication'.
ClinicalUseDefinition (Indication subtype) subject Reference to MedicinalProductDefinition The product.
ClinicalUseDefinition (Indication subtype) indication.diseaseSymptomProcedure Indications Coded or text indication (e.g., 閉経後乳癌).
ClinicalUseDefinition (Indication subtype) indication.intendedEffect n/a Therapeutic effect.

ClinicalUseDefinition (Contraindication subtype)

The ClinicalUseDefinition resource with Contraindication subtype lists conditions or patient groups where the product should not be used.

FHIR Resource FHIR Element JP XML/XSD Element Notes
ClinicalUseDefinition (Contraindication subtype) id n/a Identifier for contraindication.
ClinicalUseDefinition (Contraindication subtype) identifier n/a System-assigned identifier for the contraindication.
ClinicalUseDefinition (Contraindication subtype) type n/a 'contraindication'.
ClinicalUseDefinition (Contraindication subtype) subject Reference to MedicinalProductDefinition The product.
ClinicalUseDefinition (Contraindication subtype) contraindication.diseaseSymptomProcedure Contraindications Coded or text (e.g., 妊婦又は妊娠している可能性のある女性). Maps to 禁忌.

ClinicalUseDefinition (Interaction subtype)

The ClinicalUseDefinition resource with Interaction subtype describes drug-drug or drug-food interactions that may affect the product's efficacy or safety.

FHIR Resource FHIR Element JP XML/XSD Element Notes
ClinicalUseDefinition (Interaction subtype) id n/a Identifier for interaction.
ClinicalUseDefinition (Interaction subtype) identifier n/a System-assigned identifier for the interaction.
ClinicalUseDefinition (Interaction subtype) type n/a 'interaction'.
ClinicalUseDefinition (Interaction subtype) subject Reference to MedicinalProductDefinition The product.
ClinicalUseDefinition (Interaction subtype) interaction.interactant Interactions/Drug Interacting substance or class (e.g., エストロゲン含有製剤). Maps to 相互作用.
ClinicalUseDefinition (Interaction subtype) interaction.type Interactions/Type Interaction type.
ClinicalUseDefinition (Interaction subtype) interaction.effect Interactions/Effect Description of effect.

ClinicalUseDefinition (UndesirableEffect subtype)

The ClinicalUseDefinition resource with UndesirableEffect subtype documents potential adverse effects or side effects of the product.

FHIR Resource FHIR Element JP XML/XSD Element Notes
ClinicalUseDefinition (UndesirableEffect subtype) id n/a Identifier for undesirable effect.
ClinicalUseDefinition (UndesirableEffect subtype) identifier n/a System-assigned identifier for the undesirable effect.
ClinicalUseDefinition (UndesirableEffect subtype) type n/a 'undesirable-effect'.
ClinicalUseDefinition (UndesirableEffect subtype) subject Reference to MedicinalProductDefinition The product.
ClinicalUseDefinition (UndesirableEffect subtype) undesirableEffect.symptomConditionEffect AdverseReactions Coded adverse effect (e.g., 肝炎). Maps to 副作用, SeriousAdverse, OtherAdverseEvent.
ClinicalUseDefinition (UndesirableEffect subtype) undesirableEffect.frequencyOfOccurrence AdverseReactions/Frequency Frequency like '頻度不明'.

MedicationKnowledge

The MedicationKnowledge resource is only used for structured dosing.

FHIR Resource FHIR Element JP XML/XSD Element Notes
MedicationKnowledge id n/a Identifier for medication knowledge.
MedicationKnowledge identifier n/a System-assigned identifier for the medication knowledge.
MedicationKnowledge status n/a Active.
MedicationKnowledge indicationGuideline.indication Indications Indication guidelines from indications section.
MedicationKnowledge indicationGuideline.dosingGuideline.dosage DosageAndAdministration or InfoDoseAdmin Dosing guidelines including dosage instructions (用法及び用量).
MedicationKnowledge indicationGuideline.dosingGuideline.patientCharacteristic Precautions/PatientCharacteristic Patient characteristics for dosing, from precautions or similar (特定の背景を有する患者に関する注意).