## Profile Comparison between http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement vs https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication-statement

Left: | IPA-MedicationStatement (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement)
Right: | FI SMART MedicationStatement (https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication-statement)

### Messages

Error | StructureDefinition.url | Values for url differ: 'http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement' vs 'https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication-statement'
Error | StructureDefinition.version | Values for version differ: '1.0.0' vs '2.0.0-rc1'
Information | StructureDefinition.name | Values for name differ: 'IPAMedicationStatement' vs 'FiSMARTMedicationStatement'
Information | StructureDefinition.title | Values for title differ: 'IPA-MedicationStatement' vs 'FI SMART MedicationStatement'
Information | StructureDefinition.status | Values for status differ: 'active' vs 'draft'
Information | StructureDefinition.date | Values for date differ: '2022-08-02' vs '2025-02-06T22:27:43+02:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International - Patient Care Work Group' vs 'HL7 Finland ry'
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#FI'
Error | StructureDefinition.baseDefinition | Values for baseDefinition differ: 'http://hl7.org/fhir/StructureDefinition/MedicationStatement' vs 'https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-medication-statement'
Warning | MedicationStatement.status | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.statusReason | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.medication[x] | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.subject | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.context | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.effective[x] | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.informationSource | Elements differ in definition for mustSupport: 'true' vs 'false'
Error | MedicationStatement.informationSource | Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner], CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole], CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner-role], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
Warning | MedicationStatement.dosage | Elements differ in definition for mustSupport: 'true' vs 'false'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/MedicationStatement | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-medication-statement | Values Differ
copyright | Used by permission of HL7 International all rights reserved Creative Commons License |  | Removed the item 'Used by permission of HL7 International all rights reserved Creative Commons License'
date | 2022-08-02 | 2025-02-06T22:27:43+02:00 | Values Differ
description | Minimum expectations for a MedicationStatement resource when accessed via a International Patient Access API. The MedicationStatement resource represents all medications a patient is taking, be it those ordered by a clinician or reported by another organization, the patient or a caregiver. | This is the Finnish patient facing profile for the MedicationStatement resource. | Values Differ
experimental | false |  | Removed the item '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#FI | Added the item 'urn:iso:std:iso:3166#FI'
kind | resource |
name | IPAMedicationStatement | FiSMARTMedicationStatement | Values Differ
publisher | HL7 International - Patient Care Work Group | HL7 Finland ry | Values Differ
purpose |  |
status | active | draft | Values Differ
title | IPA-MedicationStatement | FI SMART MedicationStatement | Values Differ
type | MedicationStatement |
url | http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement | https://hl7.fi/fhir/finnish-smart/StructureDefinition/fi-smart-medication-statement | Values Differ
version | 1.0.0 | 2.0.0-rc1 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | Record of medication being taken by a patient |  | 0..* | FiBaseMedicationStatement | Record of medication being taken by a patient This profile also imposes the profile IPA-MedicationStatement |
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 | External identifier | Σ | 0..* | Identifier | External identifier |
basedOn | Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | Σ | 0..* | Reference(FI Base MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order |
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | Σ | 0..* | Reference(FI Base MedicationAdministration | MedicationDispense | FI Base MedicationStatement | Fi Base Procedure | FI Base Observation) | Part of referenced event |
status | ?!S Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement. | ?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: ?? (required): A coded concept indicating the current status of a MedicationStatement. | Elements differ in definition for mustSupport: 'true' vs 'false'
statusReason | S | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement. |  | 0..* | CodeableConcept | Reason for current status Binding: ?? (example): A coded concept indicating the reason for the status of the statement. | Elements differ in definition for mustSupport: 'true' vs 'false'
category | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | Σ | 0..1 | CodeableConcept | Type of medication usage Binding: ?? (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. |
medication[x] | S Σ | 1..1 | CodeableConcept, Reference(IPA-Medication) | What medication was taken Binding: ?? (example): A coded concept identifying the substance or product being taken. | Σ | 1..1 | CodeableConcept, Reference(Medication) | What medication was taken Slice: Unordered, Open by type:$this Binding: ?? (example): A coded concept identifying the substance or product being taken. | Elements differ in definition for mustSupport: 'true' vs 'false'
subject | S Σ | 1..1 | Reference(IPA-Patient) | Who is/was taking the medication | Σ | 1..1 | Reference(FI Base Patient) | Who is/was taking the medication | Elements differ in definition for mustSupport: 'true' vs 'false'
context | S Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | Σ | 0..1 | Reference(FI Base Encounter | FI Base EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | Elements differ in definition for mustSupport: 'true' vs 'false'
effective[x] | S Σ | 0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken | Σ | 0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken | Elements differ in definition for mustSupport: 'true' vs 'false'
dateAsserted | Σ | 0..1 | dateTime | When the statement was asserted? | Σ | 0..1 | dateTime | When the statement was asserted? |
informationSource | S | 0..1 | Reference(IPA-Practitioner | IPA-PractitionerRole | IPA-Patient | Organization | RelatedPerson) | Person or organization that provided the information about the taking of this medication |  | 0..1 | Reference(FI Base Patient | FI Base Practitioner | FI Base PractitionerRole | FI Base Organization | RelatedPerson) | Person or organization that provided the information about the taking of this medication | Elements differ in definition for mustSupport: 'true' vs 'false' Type Mismatch: Reference([CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitioner], CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-practitionerrole], CanonicalType[http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-patient], CanonicalType[http://hl7.org/fhir/StructureDefinition/Organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]]) vs Reference([CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-patient], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-practitioner-role], CanonicalType[https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-organization], CanonicalType[http://hl7.org/fhir/StructureDefinition/RelatedPerson]])
derivedFrom |  | 0..* | Reference(Resource) | Additional supporting information |  | 0..* | Reference(Resource) | Additional supporting information |
reasonCode |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken. |  | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: ?? (example): A coded concept identifying why the medication is being taken. |
reasonReference |  | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |  | 0..* | Reference(FI Base Condition | FI Base Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
note |  | 0..* | Annotation | Further information about the statement |  | 0..* | Annotation | Further information about the statement |
dosage | S | 0..* | Dosage | Details of how medication is/was taken or should be taken |  | 0..* | Dosage | Details of how medication is/was taken or should be taken | Elements differ in definition for mustSupport: 'true' vs 'false'
id |  | 0..1 | string | Unique id for inter-element referencing |  |  |  |  | Removed this element
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  |  |  |  | Removed this element
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |  |  |  |  | Removed this element
sequence | Σ | 0..1 | integer | The order of the dosage instructions |  |  |  |  | Removed this element
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG |  |  |  |  | Removed this element
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |  |  |  |  | Removed this element
patientInstruction | Σ | 0..1 | string | Patient or consumer oriented instructions |  |  |  |  | Removed this element
timing | Σ | 0..1 | Timing | When medication should be administered |  |  |  |  | Removed this element
asNeeded[x] | Σ | 0..1 | boolean, CodeableConcept | Take "as needed" (for x) Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc. |  |  |  |  | Removed this element
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body. |  |  |  |  | Removed this element
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject. |  |  |  |  | Removed this element
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: ?? (example): A coded concept describing the technique by which the medicine is administered. |  |  |  |  | Removed this element
doseAndRate | Σ | 0..* | Element | Amount of medication administered |  |  |  |  | Removed this element
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time |  |  |  |  | Removed this element
maxDosePerAdministration | Σ | 0..1 | ?? | Upper limit on medication per administration |  |  |  |  | Removed this element
maxDosePerLifetime | Σ | 0..1 | ?? | Upper limit on medication per lifetime of the patient |  |  |  |  | Removed this element
Documentation for this format