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

Extension: PrescribedAmount - Detailed Descriptions

Draft as of 2026-10-28

Definitions for the Extension-prescribedAmount extension.

See the documentation on how to interpret the contents of this table

0. Extension
Definition

Määrätyn määrän esittämistapa ja Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus). tai Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle. tai Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämistapa = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. tai Määrätyn määrän esittämistapa (prescriptionType ) -tieto, kun Määrätyn määrän esittämistapa = 9 (ei toimitettavaa määrää).


Optional Extension Element - found in all resources.

ShortLääkkeen määrän tiedotOptional Extensions Element
Control0..*
This element is affected by the following invariants: ele-1
Is Modifierfalse
Standard StatusNormative (from Normative)
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
2. Extension.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control10..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

    4. Extension.extension:prescriptionType
    Slice NameprescriptionType
    Definition

    Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.

    ShortMäärätyn määrän esittämistapaAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control10..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    6. Extension.extension:prescriptionType.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Value
    {
      "url" : "prescriptionType"
    }
    <url value="prescriptionType"/>
    8. Extension.extension:prescriptionType.value[x]
    Definition

    Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortMäärätyn määrän esittämistapaValue of extension
    Control10..1
    TypeCoding, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    10. Extension.extension:prescriptionType.value[x].system
    Definition

    Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OID.


    The identification of the code system that defines the meaning of the symbol in the code.

    ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OIDIdentity of the terminology system
    Comments

    The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

    Control10..1
    Typeuri
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Need to be unambiguous about the source of the definition of the symbol.

    Fixed Value
    {
      "system" : "urn:oid:1.2.246.537.5.40100.2006"
    }
    <system value="urn:oid:1.2.246.537.5.40100.2006"/>
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    12. Extension.extension:prescriptionType.value[x].code
    Definition

    Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvo.


    A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

    ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvoSymbol in syntax defined by the system
    Control10..1
    Typecode
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Need to refer to a particular code in the system.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    14. Extension.extension:package
    Slice Namepackage
    Definition

    Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus).

    ShortPakkausten lukumääräAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    16. Extension.extension:package.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Value
    {
      "url" : "package"
    }
    <url value="package"/>
    18. Extension.extension:package.value[x]
    Definition

    Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus) esim. 2, kun lääkettä määrätty pakkauksina.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortPakkausten lukumääräValue of extension
    Control10..1
    TypepositiveInt, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    20. Extension.extension:totalAmount
    Slice NametotalAmount
    Definition

    Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle.

    ShortLääkkeen kokonaismäärä ja määrän yksikköAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    22. Extension.extension:totalAmount.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Value
    {
      "url" : "totalAmount"
    }
    <url value="totalAmount"/>
    24. Extension.extension:totalAmount.value[x]
    Definition

    Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä) Kokonaismäärä numeerisena tietona (esim. 100) ja määrän yksikkö (esim. fol), kun lääkemääräys tehty kokonaismäärälle.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortLääkkeen kokonaismäärä ja määrän yksikköValue of extension
    Control10..1
    TypeQuantity, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, Duration, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    26. Extension.extension:totalAmount.value[x].value
    Definition

    Lääkkeen kokonaismäärä numeerisena tietona (esim. 100).


    The value of the measured amount. The value includes an implicit precision in the presentation of the value.

    ShortLääkkeen kokonaismääräNumerical value (with implicit precision)
    Comments

    The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

    Control10..1
    Typedecimal
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Precision is handled implicitly in almost all cases of measurement.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    28. Extension.extension:totalAmount.value[x].comparator
    Definition

    How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

    Short< | <= | >= | > - how to understand the value
    Control0..1
    BindingThe codes SHALL be taken from QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
    (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

    How the Quantity should be understood and represented.

    Typecode
    Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

    Meaning if MissingIf there is no comparator, then there is no modification of the value
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    30. Extension.extension:totalAmount.value[x].unit
    Definition

    Lääkkeen kokonaismäärän yksikkö (esim. fol, kpl, ml).


    A human-readable form of the unit.

    ShortLääkkeen kokonaismäärän yksikköUnit representation
    Control10..1
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    32. Extension.extension:validityTime
    Slice NamevalidityTime
    Definition

    Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. Aika, jonka lääkettä saa lääkemääräyksen voimassa ollessa toimittaa potilaan kulloinkin annostusohjeen mukaisesti tarvitseman määrän, esimerkiksi 1 vuoden aikana käytössä tarvittava lääkemäärä.

    ShortLääkkeen määrä ajanjaksolla ilmaistunaAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..1*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    34. Extension.extension:validityTime.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Value
    {
      "url" : "validityTime"
    }
    <url value="validityTime"/>
    36. Extension.extension:validityTime.value[x]
    Definition

    Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Ajan määrä esim. 30 tai 2 ja Ucum:n mukainen ajan yksikkö: d, wk, mo tai a. Määrätty lääkettä tietylle ajalle esim. kahdeksi vuodeksi, silloin ajan määrä 2 ajan yksikkö a.


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortLääkkeen määrä ajanjaksolla ilmaistunaValue of extension
    Control10..1
    TypeDuration, date, Meta, Address, Attachment, integer, Count, DataRequirement, Dosage, uuid, Identifier, Coding, SampledData, id, positiveInt, Distance, Period, canonical, Range, RelatedArtifact, base64Binary, UsageContext, Timing, decimal, CodeableConcept, ParameterDefinition, dateTime, code, string, Contributor, oid, instant, ContactPoint, HumanName, Money, markdown, Ratio, Age, Reference, TriggerDefinition, Quantity, uri, url, Annotation, ContactDetail, boolean, Expression, Signature, unsignedInt, time
    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    38. Extension.extension:validityTime.value[x].value
    Definition

    Ajan määrä esim. 30 tai 2, kun lääkettä määrätty tietylle ajalle.


    The value of the measured amount. The value includes an implicit precision in the presentation of the value.

    ShortAjan määräNumerical value (with implicit precision)
    Comments

    The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

    Control10..1
    Typedecimal
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Precision is handled implicitly in almost all cases of measurement.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    40. Extension.extension:validityTime.value[x].comparator
    Definition

    How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

    Short< | <= | >= | > - how to understand the value
    Control0..1
    BindingThe codes SHALL be taken from QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
    (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

    How the Quantity should be understood and represented.

    Typecode
    Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

    Meaning if MissingIf there is no comparator, then there is no modification of the value
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    42. Extension.extension:validityTime.value[x].unit
    Definition

    Ucum:n mukainen ajan yksikkö: d, wk, mo tai a.


    A human-readable form of the unit.

    ShortAjan yksikköUnit representation
    Control10..1
    Typestring
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    44. Extension.extension:validityTime.value[x].system
    Definition

    Ucum OID, kun lääkettä määrätty tietylle ajalle. http://unitsofmeasure.org


    The identification of the system that provides the coded form of the unit.

    ShortUnified Code for Units of Measure (UCUM)System that defines coded unit form
    Control10..1
    This element is affected by the following invariants: qty-3
    Typeuri
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summarytrue
    Requirements

    Need to know the system that defines the coded form of the unit.

    Fixed Value
    {
      "system" : "http://unitsofmeasure.org"
    }
    <system value="http://unitsofmeasure.org"/>
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    46. Extension.url
    Definition

    Source of the definition for the extension code - a logical name or a URL.

    Shortidentifies the meaning of the extension
    Comments

    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

    Control1..1
    Typeuri
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    Fixed Value
    {
      "url" : "http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"
    }
    <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"/>
    48. Extension.value[x]
    Definition

    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).


    Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

    ShortValue of extension
    Control0..01
    TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta
    Is Modifierfalse
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

    See the documentation on how to interpret the contents of this table

    0. Extension
    Definition

    Määrätyn määrän esittämistapa ja Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus). tai Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle. tai Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämistapa = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. tai Määrätyn määrän esittämistapa (prescriptionType ) -tieto, kun Määrätyn määrän esittämistapa = 9 (ei toimitettavaa määrää).

    ShortLääkkeen määrän tiedot
    2. Extension.extension
    Control1..?
    SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

      4. Extension.extension:prescriptionType
      Slice NameprescriptionType
      Definition

      Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.

      ShortMäärätyn määrän esittämistapa
      Control1..1
      6. Extension.extension:prescriptionType.url
      Fixed Value
      {
        "url" : "prescriptionType"
      }
      <url value="prescriptionType"/>
      8. Extension.extension:prescriptionType.value[x]
      Definition

      Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.

      ShortMäärätyn määrän esittämistapa
      Control1..?
      TypeCoding
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      10. Extension.extension:prescriptionType.value[x].system
      Definition

      Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OID.

      ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OID
      Control1..?
      Fixed Value
      {
        "system" : "urn:oid:1.2.246.537.5.40100.2006"
      }
      <system value="urn:oid:1.2.246.537.5.40100.2006"/>
      12. Extension.extension:prescriptionType.value[x].code
      Definition

      Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvo.

      ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvo
      Control1..?
      14. Extension.extension:package
      Slice Namepackage
      Definition

      Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus).

      ShortPakkausten lukumäärä
      Control0..1
      16. Extension.extension:package.url
      Fixed Value
      {
        "url" : "package"
      }
      <url value="package"/>
      18. Extension.extension:package.value[x]
      Definition

      Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus) esim. 2, kun lääkettä määrätty pakkauksina.

      ShortPakkausten lukumäärä
      Control1..?
      TypepositiveInt
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      20. Extension.extension:totalAmount
      Slice NametotalAmount
      Definition

      Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle.

      ShortLääkkeen kokonaismäärä ja määrän yksikkö
      Control0..1
      22. Extension.extension:totalAmount.url
      Fixed Value
      {
        "url" : "totalAmount"
      }
      <url value="totalAmount"/>
      24. Extension.extension:totalAmount.value[x]
      Definition

      Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä) Kokonaismäärä numeerisena tietona (esim. 100) ja määrän yksikkö (esim. fol), kun lääkemääräys tehty kokonaismäärälle.

      ShortLääkkeen kokonaismäärä ja määrän yksikkö
      Control1..?
      TypeQuantity
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      26. Extension.extension:totalAmount.value[x].value
      Definition

      Lääkkeen kokonaismäärä numeerisena tietona (esim. 100).

      ShortLääkkeen kokonaismäärä
      Control1..?
      28. Extension.extension:totalAmount.value[x].unit
      Definition

      Lääkkeen kokonaismäärän yksikkö (esim. fol, kpl, ml).

      ShortLääkkeen kokonaismäärän yksikkö
      Control1..?
      30. Extension.extension:validityTime
      Slice NamevalidityTime
      Definition

      Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. Aika, jonka lääkettä saa lääkemääräyksen voimassa ollessa toimittaa potilaan kulloinkin annostusohjeen mukaisesti tarvitseman määrän, esimerkiksi 1 vuoden aikana käytössä tarvittava lääkemäärä.

      ShortLääkkeen määrä ajanjaksolla ilmaistuna
      Control0..1
      32. Extension.extension:validityTime.url
      Fixed Value
      {
        "url" : "validityTime"
      }
      <url value="validityTime"/>
      34. Extension.extension:validityTime.value[x]
      Definition

      Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Ajan määrä esim. 30 tai 2 ja Ucum:n mukainen ajan yksikkö: d, wk, mo tai a. Määrätty lääkettä tietylle ajalle esim. kahdeksi vuodeksi, silloin ajan määrä 2 ajan yksikkö a.

      ShortLääkkeen määrä ajanjaksolla ilmaistuna
      Control1..?
      TypeDuration
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      36. Extension.extension:validityTime.value[x].value
      Definition

      Ajan määrä esim. 30 tai 2, kun lääkettä määrätty tietylle ajalle.

      ShortAjan määrä
      Control1..?
      38. Extension.extension:validityTime.value[x].unit
      Definition

      Ucum:n mukainen ajan yksikkö: d, wk, mo tai a.

      ShortAjan yksikkö
      Control1..?
      40. Extension.extension:validityTime.value[x].system
      Definition

      Ucum OID, kun lääkettä määrätty tietylle ajalle. http://unitsofmeasure.org

      ShortUnified Code for Units of Measure (UCUM)
      Control1..?
      Fixed Value
      {
        "system" : "http://unitsofmeasure.org"
      }
      <system value="http://unitsofmeasure.org"/>
      42. Extension.url
      Fixed Value
      {
        "url" : "http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"
      }
      <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"/>
      44. Extension.value[x]
      Control0..0

      See the documentation on how to interpret the contents of this table

      0. Extension
      Definition

      Määrätyn määrän esittämistapa ja Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus). tai Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle. tai Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämistapa = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. tai Määrätyn määrän esittämistapa (prescriptionType ) -tieto, kun Määrätyn määrän esittämistapa = 9 (ei toimitettavaa määrää).

      ShortLääkkeen määrän tiedot
      Control0..*
      This element is affected by the following invariants: ele-1
      Is Modifierfalse
      Standard StatusNormative (from Normative)
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      2. Extension.id
      Definition

      Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

      ShortUnique id for inter-element referencing
      Control0..1
      Typestring
      Is Modifierfalse
      XML FormatIn the XML format, this property is represented as an attribute.
      Summaryfalse
      4. Extension.extension
      Definition

      May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

      ShortAdditional content defined by implementations
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control1..*
      TypeExtension
      Is Modifierfalse
      Summaryfalse
      Alternate Namesextensions, user content
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      SlicingThis element introduces a set of slices on Extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

        6. Extension.extension:prescriptionType
        Slice NameprescriptionType
        Definition

        Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.

        ShortMäärätyn määrän esittämistapa
        Comments

        There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

        Control1..1
        TypeExtension
        Is Modifierfalse
        Summaryfalse
        Alternate Namesextensions, user content
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        8. Extension.extension:prescriptionType.id
        Definition

        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

        ShortUnique id for inter-element referencing
        Control0..1
        Typestring
        Is Modifierfalse
        XML FormatIn the XML format, this property is represented as an attribute.
        Summaryfalse
        10. Extension.extension:prescriptionType.extension
        Definition

        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        ShortAdditional content defined by implementations
        Comments

        There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

        Control0..*
        TypeExtension
        Is Modifierfalse
        Summaryfalse
        Alternate Namesextensions, user content
        Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
        ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
        SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ url
        • 12. Extension.extension:prescriptionType.url
          Definition

          Source of the definition for the extension code - a logical name or a URL.

          Shortidentifies the meaning of the extension
          Comments

          The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

          Control1..1
          Typeuri
          Is Modifierfalse
          XML FormatIn the XML format, this property is represented as an attribute.
          Summaryfalse
          Fixed Value
          {
            "url" : "prescriptionType"
          }
          <url value="prescriptionType"/>
          14. Extension.extension:prescriptionType.value[x]
          Definition

          Tieto määrätyn lääkemäärän esittämistavasta lääkemääräyksellä. Sähköinen lääkemääräys - Määrätyn määrän esittämistapa -koodiston mukaan.

          ShortMäärätyn määrän esittämistapa
          Control1..1
          TypeCoding
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Is Modifierfalse
          Summaryfalse
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          16. Extension.extension:prescriptionType.value[x].id
          Definition

          Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

          ShortUnique id for inter-element referencing
          Control0..1
          Typestring
          Is Modifierfalse
          XML FormatIn the XML format, this property is represented as an attribute.
          Summaryfalse
          18. Extension.extension:prescriptionType.value[x].extension
          Definition

          May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

          ShortAdditional content defined by implementations
          Comments

          There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

          Control0..*
          TypeExtension
          Is Modifierfalse
          Summaryfalse
          Alternate Namesextensions, user content
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
          SlicingThis element introduces a set of slices on Extension.extension.value[x].extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • 20. Extension.extension:prescriptionType.value[x].system
            Definition

            Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OID.

            ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston OID
            Comments

            The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

            Control1..1
            Typeuri
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Summarytrue
            Requirements

            Need to be unambiguous about the source of the definition of the symbol.

            Fixed Value
            {
              "system" : "urn:oid:1.2.246.537.5.40100.2006"
            }
            <system value="urn:oid:1.2.246.537.5.40100.2006"/>
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            22. Extension.extension:prescriptionType.value[x].version
            Definition

            The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

            ShortVersion of the system - if relevant
            Comments

            Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

            NoteThis is a business version Id, not a resource version Id (see discussion)
            Control0..1
            Typestring
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Summarytrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            24. Extension.extension:prescriptionType.value[x].code
            Definition

            Sähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvo.

            ShortSähköinen lääkemääräys - Määrätyn määrän esittämistapa koodiston arvo
            Control1..1
            Typecode
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Summarytrue
            Requirements

            Need to refer to a particular code in the system.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            26. Extension.extension:prescriptionType.value[x].display
            Definition

            A representation of the meaning of the code in the system, following the rules of the system.

            ShortRepresentation defined by the system
            Control0..1
            Typestring
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Summarytrue
            Requirements

            Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            28. Extension.extension:prescriptionType.value[x].userSelected
            Definition

            Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

            ShortIf this coding was chosen directly by the user
            Comments

            Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

            Control0..1
            Typeboolean
            Is Modifierfalse
            Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
            Summarytrue
            Requirements

            This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            30. Extension.extension:package
            Slice Namepackage
            Definition

            Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus).

            ShortPakkausten lukumäärä
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..1
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            32. Extension.extension:package.id
            Definition

            Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

            ShortUnique id for inter-element referencing
            Control0..1
            Typestring
            Is Modifierfalse
            XML FormatIn the XML format, this property is represented as an attribute.
            Summaryfalse
            34. Extension.extension:package.extension
            Definition

            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            ShortAdditional content defined by implementations
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..*
            TypeExtension
            Is Modifierfalse
            Summaryfalse
            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ url
            • 36. Extension.extension:package.url
              Definition

              Source of the definition for the extension code - a logical name or a URL.

              Shortidentifies the meaning of the extension
              Comments

              The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

              Control1..1
              Typeuri
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              Fixed Value
              {
                "url" : "package"
              }
              <url value="package"/>
              38. Extension.extension:package.value[x]
              Definition

              Pakkausten lukumäärä, kun Määrätyn määrän esittämistapa = 1 (pakkaus) esim. 2, kun lääkettä määrätty pakkauksina.

              ShortPakkausten lukumäärä
              Control1..1
              TypepositiveInt
              [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
              Is Modifierfalse
              Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
              Summaryfalse
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              40. Extension.extension:totalAmount
              Slice NametotalAmount
              Definition

              Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä). Lääkemääräys tehty kokonaismäärälle.

              ShortLääkkeen kokonaismäärä ja määrän yksikkö
              Comments

              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

              Control0..1
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Alternate Namesextensions, user content
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              42. Extension.extension:totalAmount.id
              Definition

              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

              ShortUnique id for inter-element referencing
              Control0..1
              Typestring
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              44. Extension.extension:totalAmount.extension
              Definition

              May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

              ShortAdditional content defined by implementations
              Comments

              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

              Control0..*
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Alternate Namesextensions, user content
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 46. Extension.extension:totalAmount.url
                Definition

                Source of the definition for the extension code - a logical name or a URL.

                Shortidentifies the meaning of the extension
                Comments

                The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                Control1..1
                Typeuri
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                Fixed Value
                {
                  "url" : "totalAmount"
                }
                <url value="totalAmount"/>
                48. Extension.extension:totalAmount.value[x]
                Definition

                Lääkkeen kokonaismäärä ja määrän yksikkö, kun Määrätyn määrän esittämistapa = 2 (kokonaismäärä) Kokonaismäärä numeerisena tietona (esim. 100) ja määrän yksikkö (esim. fol), kun lääkemääräys tehty kokonaismäärälle.

                ShortLääkkeen kokonaismäärä ja määrän yksikkö
                Control1..1
                TypeQuantity
                [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                Is Modifierfalse
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                50. Extension.extension:totalAmount.value[x].id
                Definition

                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                ShortUnique id for inter-element referencing
                Control0..1
                Typestring
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                52. Extension.extension:totalAmount.value[x].extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                ShortAdditional content defined by implementations
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                SlicingThis element introduces a set of slices on Extension.extension.value[x].extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 54. Extension.extension:totalAmount.value[x].value
                  Definition

                  Lääkkeen kokonaismäärä numeerisena tietona (esim. 100).

                  ShortLääkkeen kokonaismäärä
                  Comments

                  The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

                  Control1..1
                  Typedecimal
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Precision is handled implicitly in almost all cases of measurement.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  56. Extension.extension:totalAmount.value[x].comparator
                  Definition

                  How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

                  Short< | <= | >= | > - how to understand the value
                  Control0..1
                  BindingThe codes SHALL be taken from QuantityComparator
                  (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

                  How the Quantity should be understood and represented.

                  Typecode
                  Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

                  Meaning if MissingIf there is no comparator, then there is no modification of the value
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  58. Extension.extension:totalAmount.value[x].unit
                  Definition

                  Lääkkeen kokonaismäärän yksikkö (esim. fol, kpl, ml).

                  ShortLääkkeen kokonaismäärän yksikkö
                  Control1..1
                  Typestring
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  60. Extension.extension:totalAmount.value[x].system
                  Definition

                  The identification of the system that provides the coded form of the unit.

                  ShortSystem that defines coded unit form
                  Control0..1
                  This element is affected by the following invariants: qty-3
                  Typeuri
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need to know the system that defines the coded form of the unit.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  62. Extension.extension:totalAmount.value[x].code
                  Definition

                  A computer processable form of the unit in some unit representation system.

                  ShortCoded form of the unit
                  Comments

                  The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

                  Control0..1
                  Typecode
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  64. Extension.extension:validityTime
                  Slice NamevalidityTime
                  Definition

                  Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Määrätty lääkettä tietylle ajalle. Aika, jonka lääkettä saa lääkemääräyksen voimassa ollessa toimittaa potilaan kulloinkin annostusohjeen mukaisesti tarvitseman määrän, esimerkiksi 1 vuoden aikana käytössä tarvittava lääkemäärä.

                  ShortLääkkeen määrä ajanjaksolla ilmaistuna
                  Comments

                  There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                  Control0..1
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Alternate Namesextensions, user content
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                  66. Extension.extension:validityTime.id
                  Definition

                  Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                  ShortUnique id for inter-element referencing
                  Control0..1
                  Typestring
                  Is Modifierfalse
                  XML FormatIn the XML format, this property is represented as an attribute.
                  Summaryfalse
                  68. Extension.extension:validityTime.extension
                  Definition

                  May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                  ShortAdditional content defined by implementations
                  Comments

                  There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                  Control0..*
                  TypeExtension
                  Is Modifierfalse
                  Summaryfalse
                  Alternate Namesextensions, user content
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                  SlicingThis element introduces a set of slices on Extension.extension.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                  • value @ url
                  • 70. Extension.extension:validityTime.url
                    Definition

                    Source of the definition for the extension code - a logical name or a URL.

                    Shortidentifies the meaning of the extension
                    Comments

                    The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                    Control1..1
                    Typeuri
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    Fixed Value
                    {
                      "url" : "validityTime"
                    }
                    <url value="validityTime"/>
                    72. Extension.extension:validityTime.value[x]
                    Definition

                    Lääkkeen määrä ajanjaksolla ilmaistuna, kun Määrätyn määrän esittämispata = 3 (lääkehoidon kestoaika). Ajan määrä esim. 30 tai 2 ja Ucum:n mukainen ajan yksikkö: d, wk, mo tai a. Määrätty lääkettä tietylle ajalle esim. kahdeksi vuodeksi, silloin ajan määrä 2 ajan yksikkö a.

                    ShortLääkkeen määrä ajanjaksolla ilmaistuna
                    Control1..1
                    TypeDuration
                    [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                    Is Modifierfalse
                    Summaryfalse
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    74. Extension.extension:validityTime.value[x].id
                    Definition

                    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                    ShortUnique id for inter-element referencing
                    Control0..1
                    Typestring
                    Is Modifierfalse
                    XML FormatIn the XML format, this property is represented as an attribute.
                    Summaryfalse
                    76. Extension.extension:validityTime.value[x].extension
                    Definition

                    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                    ShortAdditional content defined by implementations
                    Comments

                    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                    Control0..*
                    TypeExtension
                    Is Modifierfalse
                    Summaryfalse
                    Alternate Namesextensions, user content
                    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                    SlicingThis element introduces a set of slices on Extension.extension.value[x].extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                    • value @ url
                    • 78. Extension.extension:validityTime.value[x].value
                      Definition

                      Ajan määrä esim. 30 tai 2, kun lääkettä määrätty tietylle ajalle.

                      ShortAjan määrä
                      Comments

                      The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

                      Control1..1
                      Typedecimal
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Precision is handled implicitly in almost all cases of measurement.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      80. Extension.extension:validityTime.value[x].comparator
                      Definition

                      How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

                      Short< | <= | >= | > - how to understand the value
                      Control0..1
                      BindingThe codes SHALL be taken from QuantityComparator
                      (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

                      How the Quantity should be understood and represented.

                      Typecode
                      Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

                      Meaning if MissingIf there is no comparator, then there is no modification of the value
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      82. Extension.extension:validityTime.value[x].unit
                      Definition

                      Ucum:n mukainen ajan yksikkö: d, wk, mo tai a.

                      ShortAjan yksikkö
                      Control1..1
                      Typestring
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      84. Extension.extension:validityTime.value[x].system
                      Definition

                      Ucum OID, kun lääkettä määrätty tietylle ajalle. http://unitsofmeasure.org

                      ShortUnified Code for Units of Measure (UCUM)
                      Control1..1
                      This element is affected by the following invariants: qty-3
                      Typeuri
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Need to know the system that defines the coded form of the unit.

                      Fixed Value
                      {
                        "system" : "http://unitsofmeasure.org"
                      }
                      <system value="http://unitsofmeasure.org"/>
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      86. Extension.extension:validityTime.value[x].code
                      Definition

                      A computer processable form of the unit in some unit representation system.

                      ShortCoded form of the unit
                      Comments

                      The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

                      Control0..1
                      Typecode
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summarytrue
                      Requirements

                      Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      88. Extension.url
                      Definition

                      Source of the definition for the extension code - a logical name or a URL.

                      Shortidentifies the meaning of the extension
                      Comments

                      The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

                      Control1..1
                      Typeuri
                      Is Modifierfalse
                      XML FormatIn the XML format, this property is represented as an attribute.
                      Summaryfalse
                      Fixed Value
                      {
                        "url" : "http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"
                      }
                      <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/prescribedAmount"/>
                      90. Extension.value[x]
                      Definition

                      Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

                      ShortValue of extension
                      Control0..0
                      TypeChoice of: base64Binary, boolean, canonical, code, date, dateTime, decimal, id, instant, integer, markdown, oid, positiveInt, string, time, unsignedInt, uri, url, uuid, Address, Age, Annotation, Attachment, CodeableConcept, Coding, ContactPoint, Count, Distance, Duration, HumanName, Identifier, Money, Period, Quantity, Range, Ratio, Reference, SampledData, Signature, Timing, ContactDetail, Contributor, DataRequirement, Expression, ParameterDefinition, RelatedArtifact, TriggerDefinition, UsageContext, Dosage, Meta
                      Is Modifierfalse
                      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                      Summaryfalse
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))