RESQ Stroke Registry Implementation Guide
0.2.0-draft - draft Czechia flag

RESQ Stroke Registry Implementation Guide - Local Development build (v0.2.0-draft) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Self-Reported MedicationStatement Profile

Official URL: http://fhir.qualityregistry.org/StructureDefinition/self-reported-medication-statement-profile Version: 0.2.0-draft
Active as of 2026-10-21 Computable Name: SelfReportedMedicationStatementProfile

MedicationStatement profile for medication a patient reports taking, as captured by the RES-Q questionnaire service alongside the patient-reported outcome questionnaires. The medication is carried as free text only, because the patient writes what they take rather than selecting a coded product; that text is expected to carry the drug name together with its strength and form, for example "Aspirin 50 mg tablet". Records the dose, the times of day the medication is taken, and the date range over which it was taken.

Captures patient-reported medication use with enough dosing and timing detail to be interpretable, without asserting a coded medication the patient never selected.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Recorded self-reported medication use
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Required Pattern: recorded
... medication SΣ 1..1 CodeableReference(Medication) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
..... text SΣ 1..1 string Medication as the patient wrote it, including strength and form
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] SΣ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start SΣC 1..1 dateTime First date the medication was taken
.... end SΣC 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted SΣ 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... note S 0..1 Annotation Free-text remark the patient added
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... timing SΣ 0..1 Timing When medication should be administered
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... repeat SΣC 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... duration ΣC 0..1 decimal How long when it happens
...... frequency SΣ 1..1 positiveInt Number of times taken per period
...... period SΣC 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit SΣC 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Required Pattern: d
...... when SΣC 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
.... asNeeded SΣC 1..1 boolean True when the medication is taken only as needed
.... doseAndRate SΣ 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] SΣ 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... system SΣC 1..1 uri System that defines coded unit form
...... code SΣC 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... identifier S 1..* Identifier Registry identifier of the medication statement
... status S 1..1 code Recorded self-reported medication use
Required Pattern: recorded
... medication S 1..1 CodeableReference(Medication) What medication was taken
.... concept S 1..1 CodeableConcept Reference to a concept (by class)
..... coding 0..0 Code defined by a terminology system
..... text S 1..1 string Medication as the patient wrote it, including strength and form
.... reference 0..0 Reference to a resource (by instance)
... encounter S 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] S 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start S 1..1 dateTime First date the medication was taken
.... end S 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted S 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... note S 0..1 Annotation Free-text remark the patient added
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... timing S 0..1 Timing When medication should be administered
..... repeat S 1..1 Element When the event is to occur
...... frequency S 1..1 positiveInt Number of times taken per period
...... period S 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit S 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Required Pattern: d
...... when S 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
.... asNeeded S 1..1 boolean True when the medication is taken only as needed
.... doseAndRate S 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] S 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... value S 1..1 decimal Numerical value (with implicit precision)
...... system S 1..1 uri System that defines coded unit form
...... code S 1..1 code Coded form of the unit
... adherence 0..0 Indicates whether the medication is or is not being consumed or administered

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG

Constraints

Id Grade Path(s) Description Expression
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..* Identifier Registry identifier of the medication statement
... partOf 0..* Reference(Procedure | MedicationStatement) Part of referenced event
... status ?!SΣ 1..1 code Recorded self-reported medication use
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Required Pattern: recorded
... category Σ 0..* CodeableConcept Type of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication SΣ 1..1 CodeableReference(Medication) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... text SΣ 1..1 string Medication as the patient wrote it, including strength and form
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] SΣ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 1..1 dateTime First date the medication was taken
.... end SΣC 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted SΣ 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... note S 0..1 Annotation Free-text remark the patient added
... relatedClinicalInformation 0..* Reference(Observation | Condition) Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing SΣ 0..1 Timing When medication should be administered
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat SΣC 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count ΣC 0..1 positiveInt Number of times to repeat
...... countMax ΣC 0..1 positiveInt Maximum number of times to repeat
...... duration ΣC 0..1 decimal How long when it happens
...... durationMax ΣC 0..1 decimal How long when it happens (Max)
...... durationUnit ΣC 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency SΣ 1..1 positiveInt Number of times taken per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period SΣC 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit SΣC 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Required Pattern: d
...... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Time of day for action
...... when SΣC 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
...... offset ΣC 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept C | BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded SΣC 1..1 boolean True when the medication is taken only as needed
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (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.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate SΣ 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] SΣ 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... unit Σ 0..1 string Unit representation
...... system SΣC 1..1 uri System that defines coded unit form
...... code SΣC 1..1 code Coded form of the unit
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​dayOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.timing.code Base preferred TimingAbbreviation 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦2.0.0 THO v7.4
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from MedicationStatement

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Recorded self-reported medication use
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Required Pattern: recorded
... medication SΣ 1..1 CodeableReference(Medication) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
..... text SΣ 1..1 string Medication as the patient wrote it, including strength and form
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] SΣ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start SΣC 1..1 dateTime First date the medication was taken
.... end SΣC 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted SΣ 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... note S 0..1 Annotation Free-text remark the patient added
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... timing SΣ 0..1 Timing When medication should be administered
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... repeat SΣC 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... duration ΣC 0..1 decimal How long when it happens
...... frequency SΣ 1..1 positiveInt Number of times taken per period
...... period SΣC 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit SΣC 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Required Pattern: d
...... when SΣC 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
.... asNeeded SΣC 1..1 boolean True when the medication is taken only as needed
.... doseAndRate SΣ 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] SΣ 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... system SΣC 1..1 uri System that defines coded unit form
...... code SΣC 1..1 code Coded form of the unit

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Differential View

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... identifier S 1..* Identifier Registry identifier of the medication statement
... status S 1..1 code Recorded self-reported medication use
Required Pattern: recorded
... medication S 1..1 CodeableReference(Medication) What medication was taken
.... concept S 1..1 CodeableConcept Reference to a concept (by class)
..... coding 0..0 Code defined by a terminology system
..... text S 1..1 string Medication as the patient wrote it, including strength and form
.... reference 0..0 Reference to a resource (by instance)
... encounter S 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] S 1..1 Period The date/time or interval when the medication is/was/will be taken
.... start S 1..1 dateTime First date the medication was taken
.... end S 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted S 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... note S 0..1 Annotation Free-text remark the patient added
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... timing S 0..1 Timing When medication should be administered
..... repeat S 1..1 Element When the event is to occur
...... frequency S 1..1 positiveInt Number of times taken per period
...... period S 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodUnit S 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Required Pattern: d
...... when S 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
.... asNeeded S 1..1 boolean True when the medication is taken only as needed
.... doseAndRate S 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... dose[x] S 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... value S 1..1 decimal Numerical value (with implicit precision)
...... system S 1..1 uri System that defines coded unit form
...... code S 1..1 code Coded form of the unit
... adherence 0..0 Indicates whether the medication is or is not being consumed or administered

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG

Constraints

Id Grade Path(s) Description Expression
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: smn-effective-end-after-start
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... 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
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
... identifier SΣ 1..* Identifier Registry identifier of the medication statement
... partOf 0..* Reference(Procedure | MedicationStatement) Part of referenced event
... status ?!SΣ 1..1 code Recorded self-reported medication use
Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement.
Required Pattern: recorded
... category Σ 0..* CodeableConcept Type of medication statement
Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.
... medication SΣ 1..1 CodeableReference(Medication) What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... concept SΣ 1..1 CodeableConcept Reference to a concept (by class)
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... text SΣ 1..1 string Medication as the patient wrote it, including strength and form
... subject SΣ 1..1 Reference(RESQ Patient Profile) RES-Q registry patient
... encounter SΣ 0..1 Reference(Stroke Encounter Profile) Optional stroke encounter context
... effective[x] SΣ 1..1 Period The date/time or interval when the medication is/was/will be taken
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 1..1 dateTime First date the medication was taken
.... end SΣC 0..1 dateTime Last date the medication was taken; absent means still being taken
... dateAsserted SΣ 1..1 dateTime When the patient reported this medication
... informationSource S 0..1 Reference(RESQ Patient Profile) Person or organization that provided the information about the taking of this medication
... derivedFrom 0..* Reference(Resource) Link to information used to derive the MedicationStatement
... reason 0..* CodeableReference(Condition | Observation | DiagnosticReport) Reason for why the medication is being/was taken
Binding: ConditionProblemDiagnosisCodes (example): A coded concept identifying why the medication is being taken.
... note S 0..1 Annotation Free-text remark the patient added
... relatedClinicalInformation 0..* Reference(Observation | Condition) Link to information relevant to the usage of a medication
... renderedDosageInstruction 0..1 markdown Full representation of the dosage instructions
... dosage S 1..* Dosage Dose and timing as reported by the patient
.... id 0..1 id Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing SΣ 0..1 Timing When medication should be administered
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
..... event Σ 0..* dateTime When the event occurs
..... repeat SΣC 1..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... bounds[x] Σ 0..1 Length/Range of lengths, or (Start and/or end) limits
....... boundsDuration Duration
....... boundsRange Range
....... boundsPeriod Period
...... count ΣC 0..1 positiveInt Number of times to repeat
...... countMax ΣC 0..1 positiveInt Maximum number of times to repeat
...... duration ΣC 0..1 decimal How long when it happens
...... durationMax ΣC 0..1 decimal How long when it happens (Max)
...... durationUnit ΣC 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
...... frequency SΣ 1..1 positiveInt Number of times taken per period
...... frequencyMax Σ 0..1 positiveInt Event occurs up to frequencyMax times per period
...... period SΣC 1..1 decimal The duration to which the frequency applies. I.e. Event occurs frequency times per period
...... periodMax ΣC 0..1 decimal Upper limit of period (3-4 hours)
...... periodUnit SΣC 1..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Required Pattern: d
...... dayOfWeek Σ 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
...... timeOfDay ΣC 0..* time Time of day for action
...... when SΣC 1..* code Times of day the medication is taken
Binding: MedicationDosageWhen ValueSet (required)
...... offset ΣC 0..1 unsignedInt Minutes from event (before or after)
..... code Σ 0..1 CodeableConcept C | BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
.... asNeeded SΣC 1..1 boolean True when the medication is taken only as needed
.... asNeededFor ΣC 0..* CodeableConcept Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (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.
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureAdministrationSites (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... doseAndRate SΣ 0..1 Element Amount of medication administered, to be administered or typical amount to be administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
..... dose[x] SΣ 1..1 SimpleQuantity Amount taken at each of those times
Binding: DoseFormUnit ValueSet (required)
...... id 0..1 id Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... value SΣ 1..1 decimal Numerical value (with implicit precision)
...... unit Σ 0..1 string Unit representation
...... system SΣC 1..1 uri System that defines coded unit form
...... code SΣC 1..1 code Coded form of the unit
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..* Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(5.0.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​language Base required All Languages 📍5.0.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍5.0.0 FHIR Std.
MedicationStatement.​category Base example medicationRequest Administration Location Codes 📍5.0.0 FHIR Std.
MedicationStatement.​medication Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
MedicationStatement.​reason Base example Condition/Problem/Diagnosis Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​dayOfWeek Base required Days Of Week 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.timing.repeat.​when Base required MedicationDosageWhen ValueSet 📦0.2.0-draft This IG
MedicationStatement.​dosage.timing.code Base preferred TimingAbbreviation 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.asNeededFor Base example SNOMED CT Medication As Needed Reason Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍5.0.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📦2.0.0 THO v7.4
MedicationStatement.​dosage.doseAndRate.dose[x] Base required DoseFormUnit ValueSet 📦0.2.0-draft This IG
MedicationStatement.​adherence.code Base example MedicationStatement Adherence Codes 📍5.0.0 FHIR Std.
MedicationStatement.​adherence.reason Base example SNOMED CT Drug Therapy Status codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationStatement If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationStatement If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error MedicationStatement If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationStatement A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
smn-effective-end-after-start error MedicationStatement If the medication end date is present it SHALL NOT precede the start date. effective.ofType(Period).end.empty() or effective.ofType(Period).end >= effective.ofType(Period).start
tim-1 error MedicationStatement.dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error MedicationStatement.dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error MedicationStatement.dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error MedicationStatement.dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error MedicationStatement.dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error MedicationStatement.dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error MedicationStatement.dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error MedicationStatement.dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and when.select($this in ('C' | 'CM' | 'CD' | 'CV')).allFalse())
tim-10 error MedicationStatement.dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from MedicationStatement

 

Other representations of profile: CSV, Excel, Schematron