## Profile Comparison between http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips vs http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips

Left: | Medication (IPS) (http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips)
Right: | Medication (IPS) (http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips)

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0-ballot' vs '2.0.0'
Information | StructureDefinition.comment | Values for comment differ: 'Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.' vs '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).'
Information | StructureDefinition.short | Values for short differ: 'Concept - reference to a terminology or just text' vs 'powder | tablets | capsule +'
Information | StructureDefinition.definition | Values for definition differ: 'Describes the form of the item. Powder; tablets; capsule. Administrable Pharmaceutical Dose Form. This code represents the form of the medication (e.g. tablet, capsule, liquid) Since the EDQM Standards Terms, together with UCUM, is one of the IDMP terminologies actually available for usage, this code system has been selected as referecne terminology for representing Pharmaceutical Dose forms;Pakages and Route of Administration. It is known that also alternative jurisdictional and international terminologies are known to be used for this concept domain, as NCI or SNOMED CT.' vs 'Describes the form of the item. Powder; tablets; capsule. Administrable Pharmaceutical Dose Form. This code represents the form of the medication (e.g. tablet, capsule, liquid) Since the EDQM Standards Terms, together with UCUM, is one of the IDMP terminologies actually available for usage, this code system has been selected as reference terminology for representing Pharmaceutical Dose forms;Packages and Route of Administration. It is known that also alternative jurisdictional and international terminologies are known to be used for this concept domain, as NCI or SNOMED CT.'
Information | StructureDefinition.comment | Values for comment differ: 'Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.' vs '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.'
Information | Medication.form | Example/preferred bindings differ at Medication.form using binding from MedicationIPS
Information | StructureDefinition.short | Values for short differ: 'A ratio of two Quantity values - a numerator and a denominator' vs 'Quantity of ingredient present'
Information | StructureDefinition.definition | Values for definition differ: 'A relationship of two Quantity values - expressed as a numerator and a denominator.' vs '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.'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Medication |
copyright |  |
date | 2024-06-19T10:50:07-05:00 |
description | This profile represents the constraints applied to the Medication resource by the International Patient Summary (IPS) FHIR Implementation Guide, based on FHIR R4. A medication is described in the patient summary as an instance of a Medication resource constrained by this profile. |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | MedicationIPS |
publisher | HL7 International / Patient Care |
purpose | This profile constrains the representation of a medication, in the context of the international patient summary as specified by the IPS project of HL7 International. |
status | active |
title | Medication (IPS) |
type | Medication |
url | http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips |
version | 2.0.0-ballot | 2.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Medication |  | 0..* | Medication | Definition of a Medication |  | 0..* | Medication | Definition of a Medication |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Business identifier for this medication | Σ | 0..* | Identifier | Business identifier for this medication |
code | S | 1..1 | ?? | Medication that was administered or was to be administered (medication code from any code system) Binding: ?? (preferred): SNOMED CT medications (Medicinal product) or a code for absent/unknown medication
Additional Bindings | Purpose
?? | candidate
| SO Σ | 1..1 | ?? | Medication that was administered or was to be administered (medication code from any code system) Binding: ?? (preferred): SNOMED CT medications (Medicinal product) or a code for absent/unknown medication
Additional Bindings | Purpose
?? | candidate
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
status | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A coded concept defining if the medication is in active use. | ?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: ?? (required): A coded concept defining if the medication is in active use. |
manufacturer | Σ | 0..1 | Reference(Organization) | Manufacturer of the item | Σ | 0..1 | Reference(Organization) | Manufacturer of the item |
form | S | 0..1 | ?? | Concept - reference to a terminology or just text Binding: ?? (preferred) | SO | 0..1 | ?? | powder | tablets | capsule + Binding: ?? (preferred): SNOMED Doseform Terms
Additional Bindings | Purpose
?? | candidate
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
| Example/preferred bindings differ at Medication.form using binding from MedicationIPS
amount | Σ | 0..1 | Ratio | Amount of drug in package | Σ | 0..1 | Ratio | Amount of drug in package |
ingredient | S | 0..* | BackboneElement | Active or inactive ingredient | SO | 0..* | BackboneElement | Active or inactive ingredient
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
item[x] | S | 1..1 | ??, Reference(Substance | Medication) | The actual ingredient or content Binding: ?? (preferred): SNOMED CT drug substances | SO | 1..1 | ??, Reference(Substance | Medication) | The actual ingredient or content Binding: ?? (preferred): SNOMED CT drug substances
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
isActive |  | 0..1 | boolean | Active ingredient indicator |  | 0..1 | boolean | Active ingredient indicator |
strength | S C | 0..1 | ?? | A ratio of two Quantity values - a numerator and a denominator | SO | 0..1 | Ratio | Quantity of ingredient present
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
batch |  | 0..1 | BackboneElement | Details about packaged medications |  | 0..1 | BackboneElement | Details about packaged medications |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
lotNumber |  | 0..1 | string | Identifier assigned to batch |  | 0..1 | string | Identifier assigned to batch |
expirationDate |  | 0..1 | dateTime | When batch will expire |  | 0..1 | dateTime | When batch will expire |
Documentation for this format