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: Invalidation - Detailed Descriptions

Draft as of 2026-10-28

Definitions for the Extension-invalidation extension.

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

0. Extension
Definition

The extension is provided if the type of the prescription message = 2 Invalidation of a prescription. Additional information about prescription invalidation includes: The type of prescription invalidation Additional information about the invalidation Invalidator of the prescription Consent for the invalidation


Optional Extension Element - found in all resources.

ShortAdditional information about prescription invalidationOptional 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.

Control30..*
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:invalidationType
    Slice NameinvalidationType
    Definition

    Type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.

    ShortThe type of prescription invalidationAdditional 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:invalidationType.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" : "invalidationType"
    }
    <url value="invalidationType"/>
    8. Extension.extension:invalidationType.value[x]
    Definition

    The type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.


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

    ShortType of prescription invalidationValue 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:invalidationType.value[x].system
    Definition

    OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.


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

    ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'Identity 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.40103.2006"
    }
    <system value="urn:oid:1.2.246.537.5.40103.2006"/>
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    12. Extension.extension:invalidationType.value[x].code
    Definition

    Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.


    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).

    ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'Symbol 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:invalidationInfo
    Slice NameinvalidationInfo
    Definition

    Additional information related to prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.

    ShortAdditional information about prescription invalidationAdditional 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:invalidationInfo.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" : "invalidationInfo"
    }
    <url value="invalidationInfo"/>
    18. Extension.extension:invalidationInfo.value[x]
    Definition

    Additional information related to prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.


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

    ShortAdditional information about prescription invalidationValue of extension
    Control10..1
    Typestring, 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, 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:invalidator
    Slice Nameinvalidator
    Definition

    The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

    ShortInvalidator of the prescriptionAdditional 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())
    22. Extension.extension:invalidator.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" : "invalidator"
    }
    <url value="invalidator"/>
    24. Extension.extension:invalidator.value[x]
    Definition

    The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.


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

    ShortInvalidator of the prescriptionValue 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()))
    26. Extension.extension:invalidator.value[x].system
    Definition

    OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.


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

    ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'Identity 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.40102.2006"
    }
    <system value="urn:oid:1.2.246.537.5.40102.2006"/>
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    28. Extension.extension:invalidator.value[x].code
    Definition

    Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.


    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).

    ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'Symbol 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()))
    30. Extension.extension:invalidationConsent
    Slice NameinvalidationConsent
    Definition

    Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

    ShortThe consent for the invalidationAdditional 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())
    32. Extension.extension:invalidationConsent.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" : "invalidationConsent"
    }
    <url value="invalidationConsent"/>
    34. Extension.extension:invalidationConsent.value[x]
    Definition

    Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.


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

    ShortThe consent for the invalidationValue 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()))
    36. Extension.extension:invalidationConsent.value[x].system
    Definition

    OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.


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

    ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'Identity 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.40119.2006"
    }
    <system value="urn:oid:1.2.246.537.5.40119.2006"/>
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    38. Extension.extension:invalidationConsent.value[x].code
    Definition

    Value of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.


    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).

    ShortValue of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'Symbol 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()))
    40. 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/invalidation"
    }
    <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation"/>
    42. 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

    The extension is provided if the type of the prescription message = 2 Invalidation of a prescription. Additional information about prescription invalidation includes: The type of prescription invalidation Additional information about the invalidation Invalidator of the prescription Consent for the invalidation

    ShortAdditional information about prescription invalidation
    2. Extension.extension
    Control3..?
    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:invalidationType
      Slice NameinvalidationType
      Definition

      Type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.

      ShortThe type of prescription invalidation
      Control1..1
      6. Extension.extension:invalidationType.url
      Fixed Value
      {
        "url" : "invalidationType"
      }
      <url value="invalidationType"/>
      8. Extension.extension:invalidationType.value[x]
      Definition

      Type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.

      ShortThe type of prescription invalidation
      Control1..?
      TypeCoding
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      10. Extension.extension:invalidationType.value[x].system
      Definition

      OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.

      ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'
      Control1..?
      Fixed Value
      {
        "system" : "urn:oid:1.2.246.537.5.40103.2006"
      }
      <system value="urn:oid:1.2.246.537.5.40103.2006"/>
      12. Extension.extension:invalidationType.value[x].code
      Definition

      Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.

      ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'
      Control1..?
      14. Extension.extension:invalidationInfo
      Slice NameinvalidationInfo
      Definition

      Additional information related to the prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.

      ShortAdditional information about prescription invalidation
      Control0..1
      16. Extension.extension:invalidationInfo.url
      Fixed Value
      {
        "url" : "invalidationInfo"
      }
      <url value="invalidationInfo"/>
      18. Extension.extension:invalidationInfo.value[x]
      Definition

      Additional information related to the prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.

      ShortAdditional information about prescription invalidation
      Control1..?
      Typestring
      [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:invalidator
      Slice Nameinvalidator
      Definition

      The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

      ShortInvalidator of the prescription
      Control1..1
      22. Extension.extension:invalidator.url
      Fixed Value
      {
        "url" : "invalidator"
      }
      <url value="invalidator"/>
      24. Extension.extension:invalidator.value[x]
      Definition

      The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

      ShortInvalidator of the prescription
      Control1..?
      TypeCoding
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      26. Extension.extension:invalidator.value[x].system
      Definition

      OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

      ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'
      Control1..?
      Fixed Value
      {
        "system" : "urn:oid:1.2.246.537.5.40102.2006"
      }
      <system value="urn:oid:1.2.246.537.5.40102.2006"/>
      28. Extension.extension:invalidator.value[x].code
      Definition

      Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

      ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'
      Control1..?
      30. Extension.extension:invalidationConsent
      Slice NameinvalidationConsent
      Definition

      Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

      ShortConsent for the invalidation
      Control1..1
      32. Extension.extension:invalidationConsent.url
      Fixed Value
      {
        "url" : "invalidationConsent"
      }
      <url value="invalidationConsent"/>
      34. Extension.extension:invalidationConsent.value[x]
      Definition

      Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

      ShortThe consent for the invalidation
      Control1..?
      TypeCoding
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      36. Extension.extension:invalidationConsent.value[x].system
      Definition

      OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

      ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'
      Control1..?
      Fixed Value
      {
        "system" : "urn:oid:1.2.246.537.5.40119.2006"
      }
      <system value="urn:oid:1.2.246.537.5.40119.2006"/>
      38. Extension.extension:invalidationConsent.value[x].code
      Definition

      Code of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

      ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'
      Control1..?
      40. Extension.url
      Fixed Value
      {
        "url" : "http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation"
      }
      <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation"/>
      42. Extension.value[x]
      Control0..0

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

      0. Extension
      Definition

      The extension is provided if the type of the prescription message = 2 Invalidation of a prescription. Additional information about prescription invalidation includes: The type of prescription invalidation Additional information about the invalidation Invalidator of the prescription Consent for the invalidation

      ShortAdditional information about prescription invalidation
      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.

      Control3..*
      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:invalidationType
        Slice NameinvalidationType
        Definition

        Type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.

        ShortThe type of prescription invalidation
        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:invalidationType.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:invalidationType.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:invalidationType.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" : "invalidationType"
          }
          <url value="invalidationType"/>
          14. Extension.extension:invalidationType.value[x]
          Definition

          The type of prescription invalidation. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'.

          ShortType of prescription invalidation
          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:invalidationType.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:invalidationType.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:invalidationType.value[x].system
            Definition

            OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.

            ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'
            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.40103.2006"
            }
            <system value="urn:oid:1.2.246.537.5.40103.2006"/>
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            22. Extension.extension:invalidationType.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:invalidationType.value[x].code
            Definition

            Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi.

            ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin tyyppi'
            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:invalidationType.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:invalidationType.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:invalidationInfo
            Slice NameinvalidationInfo
            Definition

            Additional information related to prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.

            ShortAdditional information about prescription invalidation
            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:invalidationInfo.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:invalidationInfo.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:invalidationInfo.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" : "invalidationInfo"
              }
              <url value="invalidationInfo"/>
              38. Extension.extension:invalidationInfo.value[x]
              Definition

              Additional information related to prescription invalidation, e.g., a more detailed justification for the invalidation due to a reason of care.

              ShortAdditional information about prescription invalidation
              Control1..1
              Typestring
              [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:invalidator
              Slice Nameinvalidator
              Definition

              The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

              ShortInvalidator of the prescription
              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())
              42. Extension.extension:invalidator.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:invalidator.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:invalidator.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" : "invalidator"
                }
                <url value="invalidator"/>
                48. Extension.extension:invalidator.value[x]
                Definition

                The invalidator of the prescription. According to the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

                ShortInvalidator of the prescription
                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()))
                50. Extension.extension:invalidator.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:invalidator.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:invalidator.value[x].system
                  Definition

                  OID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

                  ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'
                  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.40102.2006"
                  }
                  <system value="urn:oid:1.2.246.537.5.40102.2006"/>
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  56. Extension.extension:invalidator.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()))
                  58. Extension.extension:invalidator.value[x].code
                  Definition

                  Code of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'.

                  ShortCode of the Kanta code system 'Sähköinen lääkemääräys - Lääkemääräyksen mitätöinnin osapuoli'
                  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()))
                  60. Extension.extension:invalidator.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()))
                  62. Extension.extension:invalidator.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()))
                  64. Extension.extension:invalidationConsent
                  Slice NameinvalidationConsent
                  Definition

                  Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

                  ShortThe consent for the invalidation
                  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())
                  66. Extension.extension:invalidationConsent.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:invalidationConsent.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:invalidationConsent.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" : "invalidationConsent"
                    }
                    <url value="invalidationConsent"/>
                    72. Extension.extension:invalidationConsent.value[x]
                    Definition

                    Information that the patient has given consent for the prescription to be invalidated or that no consent is required. According to the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

                    ShortThe consent for the invalidation
                    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()))
                    74. Extension.extension:invalidationConsent.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:invalidationConsent.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:invalidationConsent.value[x].system
                      Definition

                      OID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

                      ShortOID of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'
                      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.40119.2006"
                      }
                      <system value="urn:oid:1.2.246.537.5.40119.2006"/>
                      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                      80. Extension.extension:invalidationConsent.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()))
                      82. Extension.extension:invalidationConsent.value[x].code
                      Definition

                      Value of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'.

                      ShortValue of the Kanta code system 'Sähköinen lääkemääräys - Suostumustyypit'
                      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()))
                      84. Extension.extension:invalidationConsent.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()))
                      86. Extension.extension:invalidationConsent.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()))
                      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/invalidation"
                      }
                      <url value="http://resepti.kanta.fi/fhir/StructureDefinition/extension/invalidation"/>
                      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()))