ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: http://resepti.kanta.fi/fhir/StructureDefinition/extension/amountOfPackages | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: AmountOfPackages | |||
Number of dispensed drug packages. Source
The amountOfPackages extension is used in the MedicationListMedicationDispense profile.
Context of Use
This extension may be used on the following element(s)
MedicationDispense
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The number of packages | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/amountOfPackages" | |
![]() ![]() |
1..1 | positiveInt | The number of packages | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The number of packages | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/amountOfPackages" | |
![]() ![]() |
1..1 | positiveInt | The number of packages | |
Documentation for this format | ||||
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The number of packages | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/amountOfPackages" | |
![]() ![]() |
1..1 | positiveInt | The number of packages | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
0..* | Extension | The number of packages | |
![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() |
1..1 | uri | "http://resepti.kanta.fi/fhir/StructureDefinition/extension/amountOfPackages" | |
![]() ![]() |
1..1 | positiveInt | The number of packages | |
Documentation for this format | ||||
Other representations of profile: CSV, Excel, Schematron
| Id | Grade | Path(s) | Description | Expression |
| 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()
|