Onconova Implementation Guide
0.2.0 - ci-build

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

Resource Profile: Medication Administration Profile

Official URL: http://onconova.github.io/fhir/StructureDefinition/onconova-medication-administration Version: 0.2.0
Active as of 2026-03-18 Computable Name: OnconovaMedicationAdministration

A profile representing a medication administered to a cancer patient during a systemic therapy (e.g., chemotherapy, immunotherapy), including details about the medication and dosage.

This profile extends the base mCODE CancerRelatedMedicationAdministration profile to introduce additional information about the systemic therapy (e.g. number of cycles, therapeutic role, etc.) and to introduce references to other medication administration given simultaneously to represent combination therapies.

Since Onocnova treats systemic therapies involving multiple antineoplastic agents administered together or in sequence as part of a single treatment plan, this profile allows for capturing such relationships between medication administrations using the MedicationAdministration.extension[combinedWith] extension slices.

Conformance:

MedicationAdministration resources representing a systemic therapy in the scope of Onconova SHALL conform to this profile. Any resource intended to conform to this profile SHOULD populate meta.profile accordingly.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: mcode-reason-required, termination-reason-code-invariant, termination-reason-invariant, o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension S 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentIntent SO 1..1 (Complex) Procedure Intent Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 CodeableConcept Not used in this profile
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-normalization-basis
Binding: Normalization Basis Value Set (required)
.... extension:combinedWith SO 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles SO 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine SO 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole SO 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy SO 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Not used in this profile
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
... statusReason SO 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... medication[x] SOΣ 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject SOΣ 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] SOΣ 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer Σ 0..* BackboneElement Not used in this profile
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device) Who performed the medication administration
... reasonCode S 0..* CodeableConcept Not used in this profile
Binding: Cancer Disorder Value Set (extensible)
... reasonReference SO 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG
MedicationAdministration.​reasonCode Base extensible Cancer Disorder Value Set 📦4.0.0 minimal Common Oncology Data Elements v4.0

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration 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 MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration 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()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
mcode-reason-required warning MedicationAdministration One of reasonCode or reasonReference SHALL be present reasonCode.exists() or reasonReference.exists()
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()
termination-reason-code-invariant error MedicationAdministration When status is stopped, only certain statusReason values are allowed status = 'stopped' and statusReason.exists() and statusReason.coding.exists() implies statusReason.coding.exists(system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006'))
termination-reason-invariant error MedicationAdministration Certain statusReason values are allowed only when status is stopped statusReason.exists() and statusReason.coding.exists( system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006')) implies status = 'stopped'

This structure is derived from CancerRelatedMedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:treatmentIntent O 1..1 ProcedureIntent Procedure Intent Extension
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 NormalizationBasis Not used in this profile
.... extension:combinedWith O 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles O 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine O 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole O 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy O 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... partOf 0..* Reference(MedicationAdministration | Procedure) Not used in this profile
... statusReason O 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... medication[x] O 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject O 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] O 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer 0..* BackboneElement Not used in this profile
... reasonCode 0..* CodeableConcept Not used in this profile
... reasonReference O 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... dosage S 0..1 BackboneElement Details of how medication was taken

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG

Constraints

Id Grade Path(s) Description Expression
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: mcode-reason-required, termination-reason-code-invariant, termination-reason-invariant, o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... 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: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension S 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentIntent SO 1..1 (Complex) Procedure Intent Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 CodeableConcept Not used in this profile
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-normalization-basis
Binding: Normalization Basis Value Set (required)
.... extension:combinedWith SO 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles SO 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine SO 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole SO 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy SO 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier External identifier
... instantiates Σ 0..* uri Instantiates protocol or definition
... partOf Σ 0..* Reference(MedicationAdministration | Procedure) Not used in this profile
... status ?!SΣ 1..1 code Not used in this profile
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
... statusReason SO 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... category 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
... medication[x] SOΣ 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject SOΣ 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] SOΣ 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer Σ 0..* BackboneElement Not used in this profile
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function 0..1 CodeableConcept Type of performance
Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device) Who performed the medication administration
... reasonCode S 0..* CodeableConcept Not used in this profile
Binding: Cancer Disorder Value Set (extensible)
... reasonReference SO 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... device 0..* Reference(Device) Device used to administer
... note 0..* Annotation Information about the administration
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text 0..1 string Free text dosage instructions e.g. SIG
.... site 0..1 CodeableConcept Body site administered to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route 0..1 CodeableConcept Path of substance into 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 How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... dose 0..1 SimpleQuantity Amount of medication per dose
.... rate[x] 0..1 Dose quantity per unit of time
..... rateRatio Ratio
..... rateQuantity Quantity(SimpleQuantity)
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​category Base preferred Medication administration category codes 📦4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG
MedicationAdministration.​performer.function Base example Medication administration performer function codes 📦4.0.1 FHIR Std.
MedicationAdministration.​reasonCode Base extensible Cancer Disorder Value Set 📦4.0.0 minimal Common Oncology Data Elements v4.0
MedicationAdministration.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📦4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📦4.0.1 FHIR Std.
MedicationAdministration.​dosage.method Base example SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration 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 MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration 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()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
mcode-reason-required warning MedicationAdministration One of reasonCode or reasonReference SHALL be present reasonCode.exists() or reasonReference.exists()
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()
termination-reason-code-invariant error MedicationAdministration When status is stopped, only certain statusReason values are allowed status = 'stopped' and statusReason.exists() and statusReason.coding.exists() implies statusReason.coding.exists(system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006'))
termination-reason-invariant error MedicationAdministration Certain statusReason values are allowed only when status is stopped statusReason.exists() and statusReason.coding.exists( system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006')) implies status = 'stopped'

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: mcode-reason-required, termination-reason-code-invariant, termination-reason-invariant, o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension S 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentIntent SO 1..1 (Complex) Procedure Intent Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 CodeableConcept Not used in this profile
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-normalization-basis
Binding: Normalization Basis Value Set (required)
.... extension:combinedWith SO 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles SO 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine SO 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole SO 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy SO 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!SΣ 1..1 code Not used in this profile
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
... statusReason SO 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... medication[x] SOΣ 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject SOΣ 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] SOΣ 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer Σ 0..* BackboneElement Not used in this profile
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device) Who performed the medication administration
... reasonCode S 0..* CodeableConcept Not used in this profile
Binding: Cancer Disorder Value Set (extensible)
... reasonReference SO 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG
MedicationAdministration.​reasonCode Base extensible Cancer Disorder Value Set 📦4.0.0 minimal Common Oncology Data Elements v4.0

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration 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 MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration 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()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
mcode-reason-required warning MedicationAdministration One of reasonCode or reasonReference SHALL be present reasonCode.exists() or reasonReference.exists()
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()
termination-reason-code-invariant error MedicationAdministration When status is stopped, only certain statusReason values are allowed status = 'stopped' and statusReason.exists() and statusReason.coding.exists() implies statusReason.coding.exists(system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006'))
termination-reason-invariant error MedicationAdministration Certain statusReason values are allowed only when status is stopped statusReason.exists() and statusReason.coding.exists( system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006')) implies status = 'stopped'

Differential View

This structure is derived from CancerRelatedMedicationAdministration

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:treatmentIntent O 1..1 ProcedureIntent Procedure Intent Extension
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 NormalizationBasis Not used in this profile
.... extension:combinedWith O 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles O 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine O 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole O 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy O 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... partOf 0..* Reference(MedicationAdministration | Procedure) Not used in this profile
... statusReason O 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... medication[x] O 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject O 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] O 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer 0..* BackboneElement Not used in this profile
... reasonCode 0..* CodeableConcept Not used in this profile
... reasonReference O 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... dosage S 0..1 BackboneElement Details of how medication was taken

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG

Constraints

Id Grade Path(s) Description Expression
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationAdministration C 0..* CancerRelatedMedicationAdministration Administration of medication to a patient
Constraints: mcode-reason-required, termination-reason-code-invariant, termination-reason-invariant, o-med-req-1, o-med-req-2, o-med-req-3, o-med-req-4
... 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: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension S 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:treatmentIntent SO 1..1 (Complex) Procedure Intent Extension
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent"
..... value[x] 1..1 CodeableConcept Value of extension
Binding: Treatment Intents Value Set (required)
.... extension:normalizationBasis 0..1 CodeableConcept Not used in this profile
URL: http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-normalization-basis
Binding: Normalization Basis Value Set (required)
.... extension:combinedWith SO 0..* Reference(Medication Administration Profile) Other medication administered in combination
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-combined-with
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:cycles SO 0..1 integer Total number of cycles for this medication
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-cycles
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:therapyLine SO 0..1 Reference(Therapy Line Profile) Reference to the therapy line associated with this treatment
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-therapy-line-reference
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
.... extension:adjunctiveRole SO 0..1 CodeableConcept Role of this medication in the overall treatment plan
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-adjunctive-role
Binding: Adjunctive Therapy Roles Value Set (required)
ObligationsActor
SHALL:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
.... extension:isPrimaryTherapy SO 0..1 boolean Indicates if this medication is the primary therapy within a therapy line
URL: http://onconova.github.io/fhir/StructureDefinition/onconova-ext-medication-administration-is-primary-therapy
ObligationsActor
MAY:ignore Creator (Onconova)
MAY:persist Consumer (Onconova)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier 0..* Identifier External identifier
... instantiates Σ 0..* uri Instantiates protocol or definition
... partOf Σ 0..* Reference(MedicationAdministration | Procedure) Not used in this profile
... status ?!SΣ 1..1 code Not used in this profile
Binding: MedicationAdministration Status Codes (required): A set of codes indicating the current status of a MedicationAdministration.
... statusReason SO 1..1 CodeableConcept Reason administration not performed
Binding: Treatment Termination Reasons Value Set (required)
ObligationsActor
SHOULD:populate-if-known Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... category 0..1 CodeableConcept Type of medication usage
Binding: MedicationAdministration Category Codes (preferred): A coded concept describing where the medication administered is expected to occur.
... medication[x] SOΣ 1..1 CodeableConcept What was administered
Binding: Antineoplastic Agents Value Set (required)
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... subject SOΣ 1..1 Reference(Cancer Patient Profile) Who received medication
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... context 0..1 Reference(Encounter | EpisodeOfCare) Not used in this profile
... supportingInformation 0..* Reference(Resource) Not used in this profile
... effective[x] SOΣ 1..1 Period Start and end time of administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... performer Σ 0..* BackboneElement Not used in this profile
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... function 0..1 CodeableConcept Type of performance
Binding: MedicationAdministration Performer Function Codes (example): A code describing the role an individual played in administering the medication.
.... actor Σ 1..1 Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Device) Who performed the medication administration
... reasonCode S 0..* CodeableConcept Not used in this profile
Binding: Cancer Disorder Value Set (extensible)
... reasonReference SO 1..* Reference(Primary Cancer Condition Profile | Secondary Cancer Condition Profile) The condition(s) that motivated the medication administration
ObligationsActor
SHALL:populate Creator (Onconova)
SHOULD:persist Consumer (Onconova)
... request 0..1 Reference(MedicationRequest) Not used in this profile
... device 0..* Reference(Device) Device used to administer
... note 0..* Annotation Information about the administration
... dosage SC 0..1 BackboneElement Details of how medication was taken
Constraints: mad-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... text 0..1 string Free text dosage instructions e.g. SIG
.... site 0..1 CodeableConcept Body site administered to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
.... route 0..1 CodeableConcept Path of substance into 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 How drug was administered
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
.... dose 0..1 SimpleQuantity Amount of medication per dose
.... rate[x] 0..1 Dose quantity per unit of time
..... rateRatio Ratio
..... rateQuantity Quantity(SimpleQuantity)
... eventHistory 0..* Reference(Provenance) A list of events of interest in the lifecycle

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationAdministration.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
MedicationAdministration.​extension:treatmentIntent.​value[x] Base required Treatment Intents Value Set 📦0.2.0 This IG
MedicationAdministration.​status Base required Medication administration status codes 📍4.0.1 FHIR Std.
MedicationAdministration.​statusReason Base required Treatment Termination Reasons Value Set 📦0.2.0 This IG
MedicationAdministration.​category Base preferred Medication administration category codes 📦4.0.1 FHIR Std.
MedicationAdministration.​medication[x] Base required Antineoplastic Agents Value Set 📦0.2.0 This IG
MedicationAdministration.​performer.function Base example Medication administration performer function codes 📦4.0.1 FHIR Std.
MedicationAdministration.​reasonCode Base extensible Cancer Disorder Value Set 📦4.0.0 minimal Common Oncology Data Elements v4.0
MedicationAdministration.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📦4.0.1 FHIR Std.
MedicationAdministration.​dosage.route Base example SNOMED CT Route Codes 📦4.0.1 FHIR Std.
MedicationAdministration.​dosage.method Base example SNOMED CT Administration Method Codes 📦4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error MedicationAdministration If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error MedicationAdministration 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error MedicationAdministration 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 MedicationAdministration If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice MedicationAdministration 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()
mad-1 error MedicationAdministration.dosage SHALL have at least one of dosage.dose or dosage.rate[x] dose.exists() or rate.exists()
mcode-reason-required warning MedicationAdministration One of reasonCode or reasonReference SHALL be present reasonCode.exists() or reasonReference.exists()
o-med-req-1 error MedicationAdministration The subject element is required and must be provided. subject.exists()
o-med-req-2 error MedicationAdministration The effectivePeriod element is required and must be provided. effectivePeriod.exists()
o-med-req-3 error MedicationAdministration The treatmentIntent extension is required and must be provided. extension('http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-procedure-intent').exists()
o-med-req-4 error MedicationAdministration The medicationCodeableConcept element is required and must be provided. medicationCodeableConcept.exists() and medicationCodeableConcept.coding.exists()
termination-reason-code-invariant error MedicationAdministration When status is stopped, only certain statusReason values are allowed status = 'stopped' and statusReason.exists() and statusReason.coding.exists() implies statusReason.coding.exists(system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006'))
termination-reason-invariant error MedicationAdministration Certain statusReason values are allowed only when status is stopped statusReason.exists() and statusReason.coding.exists( system = 'http://snomed.info/sct' and (code = '182992009' or code = '266721009' or code = '407563006' or code = '160932005' or code = '105480006' or code = '184081006' or code = '309846006' or code = '399307001' or code = '419620001' or code = '7058009' or code = '443729008' or code = '77386006')) implies status = 'stopped'

 

Other representations of profile: CSV, Excel, Schematron