Medication Scheme Implementation Guide
1.0.0 - draft
Medication Scheme Implementation Guide, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-ee-medication-scheme/ and changes regularly. See the Directory of published versions
Official URL: https://fhir.ee/StructureDefinition/ee-tis-medication-statement | Version: 1.0.0 | |||
Draft as of 2024-02-23 | Computable Name: EETISMedicationStatement |
Ravimiskeemi rida. One or more Medication Statements form patient's Medication Scheme.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from MedicationStatement
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | MedicationStatement | |||
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |
status | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA | |
Slices for category | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this | |
category:courseOfTherapyType | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | | |
category:statementOriginCategory | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. | |
category:prescriptionCategory | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept | |
category:repeatCategory | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne | |
medication | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken | |
subject | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication | |
encounter | 0..0 | |||
effective[x] | 1..1 | Period | Time period when the treatment line begins and ends | |
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |
author[x] | 1..1 | Individual responsible for the annotation | ||
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||
authorString | string | |||
relatedClinicalInformation | 0..0 | |||
dosage | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. | |
additionalInstruction | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). | |
maxDosePerAdministration | ||||
unit | 0..0 | |||
adherence | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |
status | ?!Σ | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement. |
Slices for category | Σ | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. |
category:courseOfTherapyType | Σ | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | |
category:statementOriginCategory | Σ | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. |
category:prescriptionCategory | Σ | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept |
category:repeatCategory | Σ | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne |
medication | Σ | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
subject | Σ | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication |
effective[x] | Σ | 1..1 | Period | Time period when the treatment line begins and ends |
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |
author[x] | Σ | 1..1 | Individual responsible for the annotation | |
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||
authorString | string | |||
text | Σ | 1..1 | markdown | The annotation - text content (as markdown) |
dosage | C | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. dos-1: AsNeededFor can only be set if AsNeeded is empty or true |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
asNeededFor | ΣC | 0..1 | 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. |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.status | required | MedicationStatementStatusCodeshttp://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0 from the FHIR Standard | |
MedicationStatement.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location from the FHIR Standard | |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 | |
MedicationStatement.dosage.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructionshttp://hl7.org/fhir/ValueSet/additional-instruction-codes from the FHIR Standard | |
MedicationStatement.dosage.asNeededFor | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | |
MedicationStatement.adherence.code | example | MedicationStatementAdherenceCodeshttp://hl7.org/fhir/ValueSet/medication-statement-adherence from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dos-1 | error | MedicationStatement.dosage | AsNeededFor can only be set if AsNeeded is empty or true : asNeededFor.empty() or asNeeded.empty() or asNeeded | |
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() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |||||
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |||||
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |||||
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |||||
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |||||
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |||||
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |||||
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |||||
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |||||
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |||||
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External identifier | ||||
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |||||
status | ?!Σ | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement. | ||||
Slices for category | Σ | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | ||||
category:courseOfTherapyType | Σ | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | | ||||
category:statementOriginCategory | Σ | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. | ||||
category:prescriptionCategory | Σ | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept | ||||
category:repeatCategory | Σ | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne | ||||
medication | Σ | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
subject | Σ | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication | ||||
effective[x] | Σ | 1..1 | Period | Time period when the treatment line begins and ends | ||||
dateAsserted | Σ | 0..1 | dateTime | When the usage was asserted? | ||||
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |||||
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |||||
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |||||
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
author[x] | Σ | 1..1 | Individual responsible for the annotation | |||||
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||||||
authorString | string | |||||||
time | Σ | 0..1 | dateTime | When the annotation was made | ||||
text | Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
renderedDosageInstruction | 0..1 | markdown | Full representation of the dosage instructions | |||||
dosage | C | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. dos-1: AsNeededFor can only be set if AsNeeded is empty or true | ||||
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 Max Length: 1000 | ||||
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). 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 | Σ | 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 | ΣC | 0..1 | Element | When the event is to occur. tim-1: if there's a duration, there needs to be duration units tim-2: if there's a period, there needs to be period units tim-4: duration SHALL be a non-negative value tim-5: period SHALL be a non-negative value tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration tim-8: If there's a countMax, there must be a count tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV) tim-10: If there's a timeOfDay, there cannot be a when, or vice versa | ||||
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. Slice: Unordered, Open by type:$this | |||||
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 | The units of time for the duration. Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
frequency | Σ | 0..1 | positiveInt | Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period | ||||
frequencyMax | Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
period | ΣC | 0..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 | Σ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). | ||||
dayOfWeek | Σ | 0..* | code | If one or more days of week is provided, then the action happens only on the specified day(s). Binding: DaysOfWeek (required) | ||||
timeOfDay | ΣC | 0..* | time | Specified time of day for action to take place. | ||||
when | ΣC | 0..* | code | Code for time period of occurrence Binding: EventTiming (required): Real-world event relating to the schedule. | ||||
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 | ΣC | 0..1 | boolean | Take "as needed" | ||||
asNeededFor | ΣC | 0..1 | 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 | Σ | 0..* | 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] | Σ | 0..1 | Amount of medication per dose | |||||
doseRange | Range | |||||||
doseQuantity | Quantity(SimpleQuantity) | |||||||
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 | Upper limit on medication per administration | ||||
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 | Σ | 0..1 | decimal | Numerical value (with implicit precision) | ||||
system | ΣC | 0..1 | uri | System that defines coded unit form | ||||
code | ΣC | 0..1 | code | Coded form of the unit | ||||
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
MedicationStatement.status | required | MedicationStatementStatusCodeshttp://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0 from the FHIR Standard | |
MedicationStatement.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location from the FHIR Standard | |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 | |
MedicationStatement.dosage.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructionshttp://hl7.org/fhir/ValueSet/additional-instruction-codes from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.durationUnit | required | UnitsOfTimehttp://hl7.org/fhir/ValueSet/units-of-time|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.periodUnit | required | UnitsOfTimehttp://hl7.org/fhir/ValueSet/units-of-time|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.dayOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.when | required | EventTiminghttp://hl7.org/fhir/ValueSet/event-timing|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.code | preferred | TimingAbbreviationhttp://hl7.org/fhir/ValueSet/timing-abbreviation from the FHIR Standard | |
MedicationStatement.dosage.asNeededFor | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | |
MedicationStatement.dosage.site | example | SNOMEDCTAnatomicalStructureAdministrationSiteshttp://hl7.org/fhir/ValueSet/approach-site-codes from the FHIR Standard | |
MedicationStatement.dosage.route | example | SNOMEDCTRouteCodeshttp://hl7.org/fhir/ValueSet/route-codes from the FHIR Standard | |
MedicationStatement.dosage.method | example | SNOMEDCTAdministrationMethodCodeshttp://hl7.org/fhir/ValueSet/administration-method-codes from the FHIR Standard | |
MedicationStatement.dosage.doseAndRate.type | example | DoseAndRateTypehttp://terminology.hl7.org/ValueSet/dose-rate-type | |
MedicationStatement.adherence.code | example | MedicationStatementAdherenceCodeshttp://hl7.org/fhir/ValueSet/medication-statement-adherence from the FHIR Standard | |
MedicationStatement.adherence.reason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dos-1 | error | MedicationStatement.dosage | AsNeededFor can only be set if AsNeeded is empty or true : asNeededFor.empty() or asNeeded.empty() or asNeeded | |
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() | |
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
Summary
Mandatory: 6 elements(1 nested mandatory element)
Prohibited: 4 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from MedicationStatement
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | MedicationStatement | |||
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |
status | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA | |
Slices for category | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this | |
category:courseOfTherapyType | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | | |
category:statementOriginCategory | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. | |
category:prescriptionCategory | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept | |
category:repeatCategory | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne | |
medication | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken | |
subject | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication | |
encounter | 0..0 | |||
effective[x] | 1..1 | Period | Time period when the treatment line begins and ends | |
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |
author[x] | 1..1 | Individual responsible for the annotation | ||
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||
authorString | string | |||
relatedClinicalInformation | 0..0 | |||
dosage | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. | |
additionalInstruction | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). | |
maxDosePerAdministration | ||||
unit | 0..0 | |||
adherence | 0..0 | |||
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |
contained | 0..* | Resource | Contained, inline Resources | |
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored |
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |
status | ?!Σ | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement. |
Slices for category | Σ | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. |
category:courseOfTherapyType | Σ | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | |
category:statementOriginCategory | Σ | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. |
category:prescriptionCategory | Σ | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept |
category:repeatCategory | Σ | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne |
medication | Σ | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. |
subject | Σ | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication |
effective[x] | Σ | 1..1 | Period | Time period when the treatment line begins and ends |
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |
author[x] | Σ | 1..1 | Individual responsible for the annotation | |
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||
authorString | string | |||
text | Σ | 1..1 | markdown | The annotation - text content (as markdown) |
dosage | C | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. dos-1: AsNeededFor can only be set if AsNeeded is empty or true |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery". |
asNeededFor | ΣC | 0..1 | 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. |
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.status | required | MedicationStatementStatusCodeshttp://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0 from the FHIR Standard | |
MedicationStatement.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location from the FHIR Standard | |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 | |
MedicationStatement.dosage.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructionshttp://hl7.org/fhir/ValueSet/additional-instruction-codes from the FHIR Standard | |
MedicationStatement.dosage.asNeededFor | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | |
MedicationStatement.adherence.code | example | MedicationStatementAdherenceCodeshttp://hl7.org/fhir/ValueSet/medication-statement-adherence from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dos-1 | error | MedicationStatement.dosage | AsNeededFor can only be set if AsNeeded is empty or true : asNeededFor.empty() or asNeeded.empty() or asNeeded | |
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() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
MedicationStatement | 0..* | MedicationStatement | Record of medication being taken by a patient | |||||
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 | ||||
language | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
text | 0..1 | Narrative | MedicationStatement is part of Medication Scheme representing one treatmentline | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
Slices for extension | 1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
extensionEETISPrescriptionValidityTime | 0..1 | dateTime | Validity end date of the prescription(s) in one MedicationStatement. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-validity-time | |||||
extensionEETISMedicationRemainder | 0..1 | (Complex) | Medication left on prescription calculated in days. URL: https://fhir.ee/StructureDefinition/ee-tis-medication-remainder | |||||
extensionEETISTotalPrescribedAmount | 0..* | SimpleQuantity | How much in total there is medication prescribed on one Medication Request. Used for calculating the current status of how much medication is left on one Medication Statement row. URL: https://fhir.ee/StructureDefinition/ee-tis-total-prescribed-amount | |||||
extensionEETISDispensationAuthorization | 1..1 | CodeableConcept | Defines the authorization of the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-dispensation-authorization Binding: ER_Volituse liik (required) | |||||
extensionEETISCancelledStatusReason | 0..1 | CodeableConcept | Reason for cancelling the prescription. URL: https://fhir.ee/StructureDefinition/ee-tis-cancelled-status-reason Binding: ER_Annulleerimise põhjendused (preferred) | |||||
extensionEETISReimbursementRate | 0..1 | (Complex) | Reimbursement rate and reason of prescription medicine. URL: https://fhir.ee/StructureDefinition/ee-tis-reimbursement-rate | |||||
extensionEETISUnauthorizedProductRequest | 0..1 | (Complex) | Müügiloata ravimi taotlus. URL: https://fhir.ee/StructureDefinition/ee-tis-unauthorized-product-request | |||||
extensionEETISSubstitution | 0..1 | (Complex) | Reason for not allowing the substitution of medication. URL: https://fhir.ee/StructureDefinition/ee-tis-substitution | |||||
extensionEETISVerification | 0..* | (Complex) | Verification of medication scheme URL: https://fhir.ee/StructureDefinition/ee-tis-verification | |||||
extensionEETISPrescriptionIntent | 0..* | code | Extension URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-intent Binding: MedicationRequestIntent (preferred) | |||||
ExtensionEETISPrescriptionChange | 0..* | (Complex) | Changes on prescription - who changed, when and reason. URL: https://fhir.ee/StructureDefinition/ee-tis-prescription-change | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | External identifier | ||||
partOf | 0..* | Reference(EETISMedicationStatement) | Part of referenced event | |||||
status | ?!Σ | 1..1 | code | A code representing the status of recording the medication statement. recorded = KINNITATUD; draft = KINNITAMATA Binding: MedicationStatementStatusCodes (required): A coded concept indicating the current status of a MedicationStatement. | ||||
Slices for category | Σ | 3..* | CodeableConcept | Type of medication statement Slice: Unordered, Open by pattern:$this Binding: MedicationRequestAdministrationLocationCodes (example): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | ||||
category:courseOfTherapyType | Σ | 1..* | CodeableConcept | What type of medication course is Binding: ER_Ravikuuritüüp (required): RAVIKUURI TÜÜP. LOEND. pidev | fikseeritud | vajadusel | muutuv | ühekordne | | ||||
category:statementOriginCategory | Σ | 0..* | CodeableConcept | Category defining the origin of MedicationStatement. USED ONLY when medication scheme line is based on patient's statement. Binding: Ravimi andmete tüüp (required): Category defining the origin of MedicationStatement. Use only code |ASK| from ValueSet ravimi-andmete-tyyp. | ||||
category:prescriptionCategory | Σ | 1..* | CodeableConcept | Whether the prescription is for regular medication, narcotics or medical device Binding: ER_Retsepti liik (required): RETSEPTI LIIK. LOEND. tavaretsept | narkootilise ravimi retsept | meditsiiniseadme retsept | ||||
category:repeatCategory | Σ | 1..* | CodeableConcept | Whether the prescription is one-time prescription or multiple Binding: ER_Retsepti kordsus (required): RETSEPTI KORDSUS. LOEND. 1-kordne | 2-kordne | 3-kordne | 6-kordne | ||||
medication | Σ | 1..1 | CodeableReference(EETISMedicationEPC | EETISMedicationExtemporal) | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | ||||
subject | Σ | 1..1 | Reference(EE MPI Patient Verified) | Who is/was taking the medication | ||||
effective[x] | Σ | 1..1 | Period | Time period when the treatment line begins and ends | ||||
dateAsserted | Σ | 0..1 | dateTime | When the usage was asserted? | ||||
informationSource | 0..* | Reference(EETISPractitioner | EETISPractitionerRole) | Initial author of the MedicationStatement. The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. | |||||
derivedFrom | 0..* | Reference(EETISPrescription) {r} | Prescriptions created elsewhere than in TJT. Link to information used to derive the MedicationStatement | |||||
reason | 0..* | CodeableReference(Condition | Observation | DiagnosticReport) | Diagnose for medication. ICD-10 codes from Estonian Prescription Centre. Reimbursement of medication depends on which ICD-10 code is used. Binding: https://fhir.ee/ValueSet/rhk-10 (preferred) | |||||
note | 0..* | Annotation | Siia saab kirjutada märkusi ravimiskeemi rea kohta. | |||||
id | 0..1 | id | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
author[x] | Σ | 1..1 | Individual responsible for the annotation | |||||
authorReference | Reference(EETISPractitionerRole | EETISPractitioner) | |||||||
authorString | string | |||||||
time | Σ | 0..1 | dateTime | When the annotation was made | ||||
text | Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
renderedDosageInstruction | 0..1 | markdown | Full representation of the dosage instructions | |||||
dosage | C | 0..* | EETISDosage | Indicates how the medication is/was or should be taken by the patient. dos-1: AsNeededFor can only be set if AsNeeded is empty or true | ||||
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 Max Length: 1000 | ||||
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instructions to the patient on how to take the medication (e.g. "with meals" or"take half to one hour before food") or warnings for the patient about the medication (e.g. "may cause drowsiness" or "avoid exposure of skin to direct sunlight or sunlamps"). 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 | Σ | 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 | ΣC | 0..1 | Element | When the event is to occur. tim-1: if there's a duration, there needs to be duration units tim-2: if there's a period, there needs to be period units tim-4: duration SHALL be a non-negative value tim-5: period SHALL be a non-negative value tim-6: If there's a periodMax, there must be a period tim-7: If there's a durationMax, there must be a duration tim-8: If there's a countMax, there must be a count tim-9: If there's an offset, there must be a when (and not C, CM, CD, CV) tim-10: If there's a timeOfDay, there cannot be a when, or vice versa | ||||
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. Slice: Unordered, Open by type:$this | |||||
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 | The units of time for the duration. Binding: UnitsOfTime (required): A unit of time (units from UCUM). | ||||
frequency | Σ | 0..1 | positiveInt | Indicates the number of repetitions that should occur within a period. I.e. Event occurs frequency times per period | ||||
frequencyMax | Σ | 0..1 | positiveInt | Event occurs up to frequencyMax times per period | ||||
period | ΣC | 0..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 | Σ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). | ||||
dayOfWeek | Σ | 0..* | code | If one or more days of week is provided, then the action happens only on the specified day(s). Binding: DaysOfWeek (required) | ||||
timeOfDay | ΣC | 0..* | time | Specified time of day for action to take place. | ||||
when | ΣC | 0..* | code | Code for time period of occurrence Binding: EventTiming (required): Real-world event relating to the schedule. | ||||
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 | ΣC | 0..1 | boolean | Take "as needed" | ||||
asNeededFor | ΣC | 0..1 | 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 | Σ | 0..* | 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] | Σ | 0..1 | Amount of medication per dose | |||||
doseRange | Range | |||||||
doseQuantity | Quantity(SimpleQuantity) | |||||||
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 | Upper limit on medication per administration | ||||
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 | Σ | 0..1 | decimal | Numerical value (with implicit precision) | ||||
system | ΣC | 0..1 | uri | System that defines coded unit form | ||||
code | ΣC | 0..1 | code | Coded form of the unit | ||||
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI |
MedicationStatement.language | required | AllLanguageshttp://hl7.org/fhir/ValueSet/all-languages|5.0.0 from the FHIR Standard | |
MedicationStatement.status | required | MedicationStatementStatusCodeshttp://hl7.org/fhir/ValueSet/medication-statement-status|5.0.0 from the FHIR Standard | |
MedicationStatement.category | example | MedicationRequestAdministrationLocationCodeshttp://hl7.org/fhir/ValueSet/medicationrequest-admin-location from the FHIR Standard | |
MedicationStatement.category:courseOfTherapyType | required | RavikuuriTyyp (a valid code from ER_Ravikuuritüüp)https://fhir.ee/ValueSet/ravikuuri-tyyp from this IG | |
MedicationStatement.category:statementOriginCategory | required | RavimiAndmeteTyyp (a valid code from Ravimi andmete tüüp)https://fhir.ee/ValueSet/ravimi-andmete-tyyp from this IG | |
MedicationStatement.category:prescriptionCategory | required | RetseptiLiik (a valid code from ER_Retsepti liik)https://fhir.ee/ValueSet/retsepti-liik from this IG | |
MedicationStatement.category:repeatCategory | required | RetseptiKordsus (a valid code from ER_Retsepti kordsus)https://fhir.ee/ValueSet/retsepti-kordsus from this IG | |
MedicationStatement.medication | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reason | preferred | https://fhir.ee/ValueSet/rhk-10https://fhir.ee/ValueSet/rhk-10 | |
MedicationStatement.dosage.additionalInstruction | example | SNOMEDCTAdditionalDosageInstructionshttp://hl7.org/fhir/ValueSet/additional-instruction-codes from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.durationUnit | required | UnitsOfTimehttp://hl7.org/fhir/ValueSet/units-of-time|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.periodUnit | required | UnitsOfTimehttp://hl7.org/fhir/ValueSet/units-of-time|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.dayOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.repeat.when | required | EventTiminghttp://hl7.org/fhir/ValueSet/event-timing|5.0.0 from the FHIR Standard | |
MedicationStatement.dosage.timing.code | preferred | TimingAbbreviationhttp://hl7.org/fhir/ValueSet/timing-abbreviation from the FHIR Standard | |
MedicationStatement.dosage.asNeededFor | example | SNOMEDCTMedicationAsNeededReasonCodeshttp://hl7.org/fhir/ValueSet/medication-as-needed-reason from the FHIR Standard | |
MedicationStatement.dosage.site | example | SNOMEDCTAnatomicalStructureAdministrationSiteshttp://hl7.org/fhir/ValueSet/approach-site-codes from the FHIR Standard | |
MedicationStatement.dosage.route | example | SNOMEDCTRouteCodeshttp://hl7.org/fhir/ValueSet/route-codes from the FHIR Standard | |
MedicationStatement.dosage.method | example | SNOMEDCTAdministrationMethodCodeshttp://hl7.org/fhir/ValueSet/administration-method-codes from the FHIR Standard | |
MedicationStatement.dosage.doseAndRate.type | example | DoseAndRateTypehttp://terminology.hl7.org/ValueSet/dose-rate-type | |
MedicationStatement.adherence.code | example | MedicationStatementAdherenceCodeshttp://hl7.org/fhir/ValueSet/medication-statement-adherence from the FHIR Standard | |
MedicationStatement.adherence.reason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dos-1 | error | MedicationStatement.dosage | AsNeededFor can only be set if AsNeeded is empty or true : asNeededFor.empty() or asNeeded.empty() or asNeeded | |
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() | |
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
Summary
Mandatory: 6 elements(1 nested mandatory element)
Prohibited: 4 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron