## Profile Comparison between https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication vs https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication

Left: | FI SMART Medication (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication)
Right: | FI SMART Medication (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication)

### Messages

Error | StructureDefinition.version | Values for version differ: '2.0.0-rc2' vs '2.0.0-rc3'
Information | StructureDefinition.date | Values for date differ: '2025-05-09T23:48:18+03:00' vs '2025-06-01T15:34:41+03:00'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication' vs 'https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-medication'
Warning | Medication.code | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | Medication.code | Element minimum cardinalities differ: '1' vs '0'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medication | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-medication | Values Differ
copyright |  |
date | 2025-05-09T23:48:18+03:00 | 2025-06-01T15:34:41+03:00 | Values Differ
description | This is the Finnish base profile for the Medication resource for patient access use case. |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#FI |
kind | resource |
name | FiSMARTMedication |
publisher | HL7 Finland ry |
purpose |  |
status | draft |
title | FI SMART Medication |
type | Medication |
url | https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication |
version | 2.0.0-rc2 | 2.0.0-rc3 | 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..* | IPAMedication(1.1.0) | Definition of a Medication This profile also imposes the profile IPA-Medication (1.1.0) |  | 0..* | FiBaseMedication | Definition of a Medication This profile also imposes the profile IPA-Medication (1.1.0) |
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 |  | 0..1 | Narrative | Text summary of the resource, for human interpretation |
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 | CodeableConcept | Codes that identify this medication Binding: ?? (example): A coded concept that defines the type of a medication.
Obligations | Actor
SHALL:populate-if-known | Server | from IPA-Medication
SHALL:handle | Client | from IPA-Medication
| Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: ?? (example): A coded concept that defines the type of a medication. | Elements differ in definition for mustSupport: 'true' vs 'false' Element minimum cardinalities differ: '1' vs '0'
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(FI Base Organization) | Manufacturer of the item |
form |  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: ?? (example): A coded concept defining the form of a medication. |  | 0..1 | CodeableConcept | powder | tablets | capsule + Binding: ?? (example): A coded concept defining the form of a medication. |
amount | Σ | 0..1 | Ratio | Amount of drug in package | Σ | 0..1 | Ratio | Amount of drug in package |
ingredient |  | 0..* | BackboneElement | Active or inactive ingredient |  | 0..* | BackboneElement | Active or inactive ingredient |
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] |  | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content |  | 1..1 | CodeableConcept, Reference(Substance | Medication) | The actual ingredient or content Slice: Unordered, Open by type:$this |
isActive |  | 0..1 | boolean | Active ingredient indicator |  | 0..1 | boolean | Active ingredient indicator |
strength |  | 0..1 | Ratio | Quantity of ingredient present |  | 0..1 | Ratio | Quantity of ingredient present |
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