RESQ Stroke Registry Implementation Guide
0.2.0-draft - draft
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
| 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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | Registry identifier of the medication statement |
![]() ![]() |
?!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 |
![]() ![]() |
SΣ | 1..1 | CodeableReference(Medication) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Reference to a concept (by class) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Medication as the patient wrote it, including strength and form |
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
SΣ | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context |
![]() ![]() |
SΣ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | First date the medication was taken |
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Last date the medication was taken; absent means still being taken |
![]() ![]() |
SΣ | 1..1 | dateTime | When the patient reported this medication |
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication |
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added |
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | positiveInt | Number of times taken per period |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) |
![]() ![]() ![]() |
SΣC | 1..1 | boolean | True when the medication is taken only as needed |
![]() ![]() ![]() |
SΣ | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start |
![]() ![]() |
S | 1..* | Identifier | Registry identifier of the medication statement |
![]() ![]() |
S | 1..1 | code | Recorded self-reported medication use Required Pattern: recorded |
![]() ![]() |
S | 1..1 | CodeableReference(Medication) | What medication was taken |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Reference to a concept (by class) |
![]() ![]() ![]() ![]() |
0..0 | Code defined by a terminology system | ||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Medication as the patient wrote it, including strength and form |
![]() ![]() ![]() |
0..0 | Reference to a resource (by instance) | ||
![]() ![]() |
S | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
S | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context |
![]() ![]() |
S | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
S | 1..1 | dateTime | First date the medication was taken |
![]() ![]() ![]() |
S | 0..1 | dateTime | Last date the medication was taken; absent means still being taken |
![]() ![]() |
S | 1..1 | dateTime | When the patient reported this medication |
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication |
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added |
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient |
![]() ![]() ![]() |
S | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
S | 1..1 | Element | When the event is to occur |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | positiveInt | Number of times taken per period |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Required Pattern: d |
![]() ![]() ![]() ![]() ![]() |
S | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | True when the medication is taken only as needed |
![]() ![]() ![]() |
S | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered |
![]() ![]() ![]() ![]() |
S | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Coded form of the unit |
![]() ![]() |
0..0 | Indicates whether the medication is or is not being consumed or administered | ||
Documentation for this format | ||||
| 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 |
| 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
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Registry identifier of the medication statement | ||||
![]() ![]() |
0..* | Reference(Procedure | MedicationStatement) | Part of referenced event | |||||
![]() ![]() |
?!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 | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableReference(Medication) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Medication as the patient wrote it, including strength and form | ||||
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context | ||||
![]() ![]() |
SΣ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | First date the medication was taken | ||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Last date the medication was taken; absent means still being taken | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | When the patient reported this medication | ||||
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication | ||||
![]() ![]() |
0..* | Reference(Resource) | Link to information used to derive the MedicationStatement | |||||
![]() ![]() |
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. | |||||
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added | ||||
![]() ![]() |
0..* | Reference(Observation | Condition) | Link to information relevant to the usage of a medication | |||||
![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | dateTime | When the event occurs | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Length/Range of lengths, or (Start and/or end) limits | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | positiveInt | Number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | positiveInt | Maximum number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens (Max) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ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). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | positiveInt | Number of times taken per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | Upper limit of period (3-4 hours) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | time | Time of day for action | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | unsignedInt | Minutes from event (before or after) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | C | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | ||||
![]() ![]() ![]() |
SΣC | 1..1 | boolean | True when the medication is taken only as needed | ||||
![]() ![]() ![]() |
Σ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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Coded form of the unit | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..* | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format | ||||||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
SΣ | 1..* | Identifier | Registry identifier of the medication statement |
![]() ![]() |
?!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 |
![]() ![]() |
SΣ | 1..1 | CodeableReference(Medication) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Reference to a concept (by class) |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Medication as the patient wrote it, including strength and form |
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
SΣ | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context |
![]() ![]() |
SΣ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | First date the medication was taken |
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Last date the medication was taken; absent means still being taken |
![]() ![]() |
SΣ | 1..1 | dateTime | When the patient reported this medication |
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication |
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added |
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | positiveInt | Number of times taken per period |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) |
![]() ![]() ![]() |
SΣC | 1..1 | boolean | True when the medication is taken only as needed |
![]() ![]() ![]() |
SΣ | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Coded form of the unit |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start |
![]() ![]() |
S | 1..* | Identifier | Registry identifier of the medication statement |
![]() ![]() |
S | 1..1 | code | Recorded self-reported medication use Required Pattern: recorded |
![]() ![]() |
S | 1..1 | CodeableReference(Medication) | What medication was taken |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept | Reference to a concept (by class) |
![]() ![]() ![]() ![]() |
0..0 | Code defined by a terminology system | ||
![]() ![]() ![]() ![]() |
S | 1..1 | string | Medication as the patient wrote it, including strength and form |
![]() ![]() ![]() |
0..0 | Reference to a resource (by instance) | ||
![]() ![]() |
S | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient |
![]() ![]() |
S | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context |
![]() ![]() |
S | 1..1 | Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
S | 1..1 | dateTime | First date the medication was taken |
![]() ![]() ![]() |
S | 0..1 | dateTime | Last date the medication was taken; absent means still being taken |
![]() ![]() |
S | 1..1 | dateTime | When the patient reported this medication |
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication |
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added |
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient |
![]() ![]() ![]() |
S | 0..1 | Timing | When medication should be administered |
![]() ![]() ![]() ![]() |
S | 1..1 | Element | When the event is to occur |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | positiveInt | Number of times taken per period |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | s | min | h | d | wk | mo | a - unit of time (UCUM) Required Pattern: d |
![]() ![]() ![]() ![]() ![]() |
S | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) |
![]() ![]() ![]() |
S | 1..1 | boolean | True when the medication is taken only as needed |
![]() ![]() ![]() |
S | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered |
![]() ![]() ![]() ![]() |
S | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | decimal | Numerical value (with implicit precision) |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | uri | System that defines coded unit form |
![]() ![]() ![]() ![]() ![]() |
S | 1..1 | code | Coded form of the unit |
![]() ![]() |
0..0 | Indicates whether the medication is or is not being consumed or administered | ||
Documentation for this format | ||||
| 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 |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: smn-effective-end-after-start | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
SΣ | 1..* | Identifier | Registry identifier of the medication statement | ||||
![]() ![]() |
0..* | Reference(Procedure | MedicationStatement) | Part of referenced event | |||||
![]() ![]() |
?!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 | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableReference(Medication) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣ | 1..1 | CodeableConcept | Reference to a concept (by class) | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | Medication as the patient wrote it, including strength and form | ||||
![]() ![]() |
SΣ | 1..1 | Reference(RESQ Patient Profile) | RES-Q registry patient | ||||
![]() ![]() |
SΣ | 0..1 | Reference(Stroke Encounter Profile) | Optional stroke encounter context | ||||
![]() ![]() |
SΣ | 1..1 | Period | The date/time or interval when the medication is/was/will be taken | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | dateTime | First date the medication was taken | ||||
![]() ![]() ![]() |
SΣC | 0..1 | dateTime | Last date the medication was taken; absent means still being taken | ||||
![]() ![]() |
SΣ | 1..1 | dateTime | When the patient reported this medication | ||||
![]() ![]() |
S | 0..1 | Reference(RESQ Patient Profile) | Person or organization that provided the information about the taking of this medication | ||||
![]() ![]() |
0..* | Reference(Resource) | Link to information used to derive the MedicationStatement | |||||
![]() ![]() |
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. | |||||
![]() ![]() |
S | 0..1 | Annotation | Free-text remark the patient added | ||||
![]() ![]() |
0..* | Reference(Observation | Condition) | Link to information relevant to the usage of a medication | |||||
![]() ![]() |
0..1 | markdown | Full representation of the dosage instructions | |||||
![]() ![]() |
S | 1..* | Dosage | Dose and timing as reported by the patient | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | dateTime | When the event occurs | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Length/Range of lengths, or (Start and/or end) limits | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
Duration | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | positiveInt | Number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | positiveInt | Maximum number of times to repeat | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | How long when it happens (Max) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ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). | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | positiveInt | Number of times taken per period | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | decimal | The duration to which the frequency applies. I.e. Event occurs frequency times per period | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | decimal | Upper limit of period (3-4 hours) | ||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required) | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | time | Time of day for action | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..* | code | Times of day the medication is taken Binding: MedicationDosageWhen ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..1 | unsignedInt | Minutes from event (before or after) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | C | BID | TID | QID | AM | PM | QD | QOD | + Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern. | ||||
![]() ![]() ![]() |
SΣC | 1..1 | boolean | True when the medication is taken only as needed | ||||
![]() ![]() ![]() |
Σ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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Element | Amount of medication administered, to be administered or typical amount to be administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified. | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | SimpleQuantity | Amount taken at each of those times Binding: DoseFormUnit ValueSet (required) | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | decimal | Numerical value (with implicit precision) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Unit representation | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | uri | System that defines coded unit form | ||||
![]() ![]() ![]() ![]() ![]() |
SΣC | 1..1 | code | Coded form of the unit | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..* | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(5.0.0) | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format | ||||||||
| 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. |
| 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