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

Left: | Medication (IPS) (http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips)
Right: | US Core Medication Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips' vs 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication'
Error | StructureDefinition.version | Values for version differ: '2.0.0' vs '9.0.0'
Information | StructureDefinition.name | Values for name differ: 'MedicationIPS' vs 'USCoreMedicationProfile'
Information | StructureDefinition.title | Values for title differ: 'Medication (IPS)' vs 'US Core Medication Profile'
Information | StructureDefinition.date | Values for date differ: '2024-06-19T10:50:07-05:00' vs '2023-10-17'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International / Patient Care' vs 'HL7 International / Cross-Group Projects'
Information | StructureDefinition.jurisdiction | Removed the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'
Information | StructureDefinition.jurisdiction | Added the item 'urn:iso:std:iso:3166#US'
Information | StructureDefinition.short | Values for short differ: 'Medication that was administered or was to be administered (medication code from any code system)' vs 'Codes that identify this medication'
Information | StructureDefinition.definition | Values for definition differ: 'Medication that was administered or was to be administered. Several kinds of medication coding could be provided as: 1. The IDMP Pharmaceutical Product Identifier (PhPID), Level 1, [Substance(s)]. Example: Amoxicillin and Clavulanate Potassium; or any other equivalent coded concept; 2. The IDMP Pharmaceutical Product Identifier (PhPID), Level 2 [Substance(s) + Strength + reference strength]. Example: Amoxicillin 875 mg and Clavulanate Potassium 125 mg; or any other equivalent coded concept; 3. The IDMP Pharmaceutical Product Identifier (PhPID), Level 3 [Substance(s) + administrable dose form]. Example: Amoxicillin and Clavulanate Potassium, Oral Tablet; or any other equivalent coded concept; 4. The IDMP Pharmaceutical Product Identifier (PhPID), Level 4 [Substance(s) + strength + reference strength + administrable dose form]. Example: Amoxicillin 875 mg and clavulanate potassium 125 mg, oral tablet; or any other equivalent coded concept 5. The IDMP Medicinal Product Identifier (MPID) or any equivalent Medicinal Product Identifier. IDMP MPID uniquely identifies a Medicinal Product, reflecting (but not replacing) any other authorization numbers allocated by a regulator. MPID implies one (set of) PhPID. The MPID shall use a common segment pattern related to a Medicinal Product, which, when each segment is valued shall define a specific MPID concept. 6. The IDMP Packaged Medicinal Product Identifier (PCID) or any equivalent Packaged Medicinal Product Identifier. Uniquely identifies a Medicinal Product based on its packaging. This implies one MPID can be associated with more than one PCID, if the same Medicinal Product has more than one type of package. 7. Any other kind of code that that identifies, classifies or cluster the administered product (e.g. the medicinal product or the product class) The value sets used for the PhPID, MPID and PCID identifiers are provisional and include only few equivalent concepts used for exemplification purposes, they will be updated with real IDMP identifiers when they will become available.' vs '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.'
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 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.' vs 'Describes the form of the item. Powder; tablets; capsule.'
Warning | Medication.form | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | Medication.form | Example/preferred bindings differ at Medication.form using binding from MedicationIPS
Warning | Medication.ingredient | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | Medication.ingredient.item[x] | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | Medication.ingredient.strength | Elements differ in definition for mustSupport: 'true' vs 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Medication |
copyright |  |
date | 2024-06-19T10:50:07-05:00 | 2023-10-17 | Values Differ
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. | The US Core Medication Profile inherits from the FHIR [Medication](https://hl7.org/fhir/R4/medication.html) resource; refer to it for scope and usage definitions. This profile sets minimum expectations for the Medication resource to record, search, and fetch medications associated with a patient. When referencing a medication, the MedicationRequest resource can use a code or refer to this profile. It specifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used. Providing the floor for standards development for specific use cases promotes interoperability and adoption. | Values Differ
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |  | Removed the item 'http://unstats.un.org/unsd/methods/m49/m49.htm#001'
jurisdiction[1] |  | urn:iso:std:iso:3166#US | Added the item 'urn:iso:std:iso:3166#US'
kind | resource |
name | MedicationIPS | USCoreMedicationProfile | Values Differ
publisher | HL7 International / Patient Care | HL7 International / Cross-Group Projects | Values Differ
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. |  | Removed the item '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) | US Core Medication Profile | Values Differ
type | Medication |
url | http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips | http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication | Values Differ
version | 2.0.0 | 9.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 | 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)
| S Σ | 1..1 | CodeableConcept | Codes that identify this medication Binding: ?? (extensible) |
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 | 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)
|  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: ?? (example): A coded concept defining the form of a medication. | Elements differ in definition for mustSupport: 'true' vs 'false' 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 | SO | 0..* | BackboneElement | Active or inactive ingredient
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
|  | 0..* | BackboneElement | Active or inactive ingredient | Elements differ in definition for mustSupport: 'true' vs 'false'
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] | 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)
|  | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content | Elements differ in definition for mustSupport: 'true' vs 'false'
isActive |  | 0..1 | boolean | Active ingredient indicator |  | 0..1 | boolean | Active ingredient indicator |
strength | SO | 0..1 | Ratio | Quantity of ingredient present
Obligations | Actor
SHALL:populate-if-known | Creator (IPS)
SHALL:handle | Consumer (IPS)
SHOULD:display | Consumer (IPS)
|  | 0..1 | Ratio | Quantity of ingredient present | Elements differ in definition for mustSupport: 'true' vs 'false'
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