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

Left: | IPA-MedicationStatement (http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement)
Right: | FI Base MedicationStatement (https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-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-base-profiles/StructureDefinition/fi-base-medication-statement'
Error | StructureDefinition.version | Values for version differ: '1.1.0' vs '2.0.0-ci'
Information | StructureDefinition.name | Values for name differ: 'IPAMedicationStatement' vs 'FiBaseMedicationStatement'
Information | StructureDefinition.title | Values for title differ: 'IPA-MedicationStatement' vs 'FI Base MedicationStatement'
Information | StructureDefinition.status | Values for status differ: 'active' vs 'draft'
Information | StructureDefinition.date | Values for date differ: '2022-08-02' vs '2025-10-05T17:22:19+00:00'
Information | StructureDefinition.publisher | Values for publisher differ: 'HL7 International / Patient Care' vs 'HL7 Finland'
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'
Information | MedicationStatement.language | Example/preferred bindings differ at MedicationStatement.language using binding from IPAMedicationStatement
Warning | MedicationStatement.status | Elements differ in definition for mustSupport: 'true' vs 'false'
Warning | MedicationStatement.statusReason | Elements differ in definition for mustSupport: 'true' vs 'false'
Information | MedicationStatement.category | Example/preferred bindings differ at MedicationStatement.category using binding from IPAMedicationStatement
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 |
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-10-05T17:22:19+00: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 base 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 | FiBaseMedicationStatement | Values Differ
publisher | HL7 International / Patient Care | HL7 Finland | Values Differ
purpose |  |
status | active | draft | Values Differ
title | IPA-MedicationStatement | FI Base MedicationStatement | Values Differ
type | MedicationStatement |
url | http://hl7.org/fhir/uv/ipa/StructureDefinition/ipa-medicationstatement | https://hl7.fi/fhir/finnish-base-profiles/StructureDefinition/fi-base-medication-statement | Values Differ
version | 1.1.0 | 2.0.0-ci | 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..* | MedicationStatement | Record of medication being taken by a patient |
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
| Example/preferred bindings differ at MedicationStatement.language using binding from IPAMedicationStatement
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 | External identifier | Σ | 0..* | Identifier | External identifier |
basedOn | Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | Σ | 0..* | Reference(FI Base MedicationRequest(2.0.0-ci) | CarePlan | ServiceRequest) | Fulfils plan, proposal or order |
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | Σ | 0..* | Reference(FI Base MedicationAdministration(2.0.0-ci) | MedicationDispense | FI Base MedicationStatement(2.0.0-ci) | Fi Base Procedure(2.0.0-ci) | FI Base Observation(2.0.0-ci)) | Part of referenced event |
status | ?!SO Σ | 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.
Obligations | Actor
SHALL:populate-if-known | Server
SHALL:handle | Client
| ?!Σ | 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. | Example/preferred bindings differ at MedicationStatement.category using binding from IPAMedicationStatement
medication[x] | SO Σ | 1..1 | CodeableConcept, Reference(IPA-Medication) | What medication was taken Binding: ?? (example): A coded concept identifying the substance or product being taken.
Obligations | Actor
SHALL:populate-if-known | Server
SHALL:handle | Client
| Σ | 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 | SO Σ | 1..1 | Reference(IPA-Patient) | Who is/was taking the medication
Obligations | Actor
SHALL:populate-if-known | Server
SHALL:handle | Client
| Σ | 1..1 | Reference(FI Base Patient(2.0.0-ci)) | Who is/was taking the medication | Elements differ in definition for mustSupport: 'true' vs 'false'
context | SO Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement
Obligations | Actor
SHALL:populate-if-known | Server
| Σ | 0..1 | Reference(FI Base Encounter(2.0.0-ci) | FI Base EpisodeOfCare(2.0.0-ci)) | Encounter / Episode associated with MedicationStatement | Elements differ in definition for mustSupport: 'true' vs 'false'
effective[x] | SO Σ | 0..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken
Obligations | Actor
SHALL:populate-if-known | Server
SHOULD:handle | Client
| Σ | 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 | SO | 0..1 | Reference(IPA-Practitioner | IPA-PractitionerRole | IPA-Patient | Organization | RelatedPerson) | Person or organization that provided the information about the taking of this medication
Obligations | Actor
SHALL:populate-if-known | Server
|  | 0..1 | Reference(FI Base Patient(2.0.0-ci) | FI Base Practitioner(2.0.0-ci) | FI Base PractitionerRole(2.0.0-ci) | FI Base Organization(2.0.0-ci) | 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(2.0.0-ci) | FI Base Observation(2.0.0-ci) | 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 | SO | 0..* | Dosage | Details of how medication is/was taken or should be taken
Obligations | Actor
SHALL:populate-if-known | Server
SHOULD:handle | Client
|  | 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 | SO Σ | 0..1 | string | Free text dosage instructions e.g. SIG
Obligations | Actor
SHALL:populate-if-known | Server
SHOULD:handle | Client
|  |  |  |  | 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