{ "description": "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.", "_filename": "Medication.json", "package_name": "hl7.fhir.r4.id.core", "date": "2019-11-01T09:29:23+11:00", "derivation": "specialization", "meta": { "lastUpdated": "2022-01-10T03:34:15.580+00:00" }, "publisher": "Health Level Seven International (Pharmacy)", "fhirVersion": "4.0.1", "name": "Medication", "mapping": [ { "uri": "http://ncpdp.org/SCRIPT10_6", "name": "Mapping to NCPDP SCRIPT 10.6", "identity": "script10.6" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping", "identity": "v2" } ], "abstract": false, "type": "Medication", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "0.1.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-category", "valueString": "Clinical.Medications" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 3 }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category", "valueCode": "business" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "phx" } ], "status": "draft", "id": "c47bdd43-cb08-492d-b2b8-486777924df7", "kind": "resource", "url": "https://fhir.kemkes.go.id/r4/StructureDefinition/Medication", "version": "4.0.1", "differential": { "element": [ { "id": "Medication", "path": "Medication", "short": "Definition of a Medication", "mapping": [ { "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed", "identity": "script10.6" }, { "map": "ManufacturedProduct[classCode=ADMM]", "identity": "rim" } ], "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." }, { "id": "Medication.identifier", "path": "Medication.identifier", "type": [ { "code": "Identifier" } ], "short": "Business identifier for this medication", "comment": "The serial number could be included as an identifier.", "mapping": [ { "map": "FiveWs.identifier", "identity": "w5" }, { "map": ".id", "identity": "rim" } ], "isSummary": true, "definition": "Business identifier for this medication." }, { "path": "Medication.code", "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.", "short": "Codes that identify this medication", "mapping": [ { "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription", "identity": "script10.6" }, { "map": "FiveWs.class", "identity": "w5" }, { "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code", "identity": "v2" }, { "map": ".code", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationFormalRepresentation" } ], "description": "A coded concept that defines the type of a medication." }, "max": "1", "id": "Medication.code", "comment": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).", "isSummary": true }, { "path": "Medication.status", "definition": "A code to indicate if the medication is in active use.", "isModifier": true, "short": "active | inactive | entered-in-error", "mapping": [ { "map": ".statusCode", "identity": "rim" } ], "type": [ { "code": "code" } ], "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/medication-status|4.0.1", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationStatus" } ], "description": "A coded concept defining if the medication is in active use." }, "max": "1", "id": "Medication.status", "comment": "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.", "isModifierReason": "This element changes the interpretation of all descriptive attributes.", "isSummary": true }, { "id": "Medication.manufacturer", "max": "1", "path": "Medication.manufacturer", "type": [ { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Organization" ] } ], "short": "Manufacturer of the item", "mapping": [ { "map": "no mapping", "identity": "script10.6" }, { "map": "FiveWs.actor", "identity": "w5" }, { "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name", "identity": "v2" }, { "map": ".player.scopingRole[typeCode=MANU].scoper", "identity": "rim" } ], "isSummary": true, "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product." }, { "path": "Medication.form", "definition": "Describes the form of the item. Powder; tablets; capsule.", "short": "powder | tablets | capsule +", "mapping": [ { "map": "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode", "identity": "script10.6" }, { "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form", "identity": "v2" }, { "map": ".formCode", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "binding": { "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-form-codes", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationForm" } ], "description": "A coded concept defining the form of a medication." }, "max": "1", "id": "Medication.form", "comment": "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form." }, { "id": "Medication.amount", "max": "1", "path": "Medication.amount", "type": [ { "code": "Ratio" } ], "short": "Amount of drug in package", "mapping": [ { "map": ".quantity", "identity": "rim" } ], "isSummary": true, "definition": "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.)." }, { "id": "Medication.ingredient", "path": "Medication.ingredient", "type": [ { "code": "BackboneElement" } ], "short": "Active or inactive ingredient", "comment": "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.", "mapping": [ { "map": ".scopesRole[typeCode=INGR]", "identity": "rim" } ], "definition": "Identifies a particular constituent of interest in the product." }, { "path": "Medication.ingredient.item[x]", "requirements": "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).", "min": 1, "definition": "The actual ingredient - either a substance (simple ingredient) or another medication of a medication.", "short": "The actual ingredient or content", "mapping": [ { "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription", "identity": "script10.6" }, { "map": "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code", "identity": "v2" }, { "map": ".player", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Substance", "http://hl7.org/fhir/StructureDefinition/Medication" ] } ], "max": "1", "id": "Medication.ingredient.item[x]" }, { "id": "Medication.ingredient.isActive", "max": "1", "path": "Medication.ingredient.isActive", "type": [ { "code": "boolean" } ], "short": "Active ingredient indicator", "mapping": [ { "map": "NA", "identity": "rim" } ], "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.", "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive)." }, { "id": "Medication.ingredient.strength", "max": "1", "path": "Medication.ingredient.strength", "type": [ { "code": "Ratio" } ], "short": "Quantity of ingredient present", "mapping": [ { "map": "//element(*,DrugCodedType)/Strength", "identity": "script10.6" }, { "map": "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units", "identity": "v2" }, { "map": ".quantity", "identity": "rim" } ], "definition": "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet." }, { "id": "Medication.batch", "max": "1", "path": "Medication.batch", "type": [ { "code": "BackboneElement" } ], "short": "Details about packaged medications", "mapping": [ { "map": "no mapping", "identity": "script10.6" }, { "map": ".player[classCode=CONT]", "identity": "rim" } ], "definition": "Information that only applies to packages (not products)." }, { "id": "Medication.batch.lotNumber", "max": "1", "path": "Medication.batch.lotNumber", "type": [ { "code": "string" } ], "short": "Identifier assigned to batch", "mapping": [ { "map": "no mapping", "identity": "script10.6" }, { "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number", "identity": "v2" }, { "map": ".id", "identity": "rim" } ], "definition": "The assigned lot number of a batch of the specified product." }, { "id": "Medication.batch.expirationDate", "max": "1", "path": "Medication.batch.expirationDate", "type": [ { "code": "dateTime" } ], "short": "When batch will expire", "mapping": [ { "map": "no mapping", "identity": "script10.6" }, { "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date", "identity": "v2" }, { "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime", "identity": "rim" } ], "definition": "When this specific batch of product will expire." } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/fhir", "system": "url" } ] }, { "telecom": [ { "value": "http://www.hl7.org/Special/committees/medication/index.cfm", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource" }