ext-R5-Subscription.filterBy
type: StructureDefinition
node role: treeRoot
id:
  v: ext-R5-Subscription.filterBy
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ext-R5-Subscription.filterBy Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension R5: Criteria for narrowing the subscription topic stream (new) #xD; Slices for extension 2..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:resourceType 0..1 Extension R5: Allowed Resource (reference to definition) for this Subscription filter (new) #xD; url 1..1 uri "resourceType" #xD; value[x] 0..1 uri Allowed Resource (reference to definition) for this Subscription filter Binding: R5SubscriptionTypesForR3 (0.1.0) (extensible): A type of resource, or a Reference (from all versions) #xD; extension:filterParameter 1..1 Extension R5: Filter label defined in SubscriptionTopic (new) #xD; url 1..1 uri "filterParameter" #xD; value[x] 1..1 string Filter label defined in SubscriptionTopic #xD; extension:comparator 0..1 Extension R5: eq | ne | gt | lt | ge | le | sa | eb | ap (new) #xD; url 1..1 uri "comparator" #xD; value[x] 0..1 code eq | ne | gt | lt | ge | le | sa | eb | ap Binding: SearchComparator (required): Search Comparator Codes applied to this filter. #xD; extension:modifier 0..1 Extension R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate (new) #xD; url 1..1 uri "modifier" #xD; value[x] 0..1 code missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate Binding: R5SearchModifierCodeForR3 (0.1.0) (required): Search Modifier Code applied to this filter. #xD; extension:value 1..1 Extension R5: Literal value or resource path (new) #xD; url 1..1 uri "value" #xD; value[x] 1..1 string Literal value or resource path #xD; url 1..1 uri "http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy" #xD; value[x] 0..0 Value of extension #xD; <img src="[binary]" …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r5.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  extension:
    url:
      v: uri
      l: uri
    value: Uri
      v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
      l: hl7.fhir.uv.xver-r5.r3
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r3
        l: hl7.fhir.uv.xver-r5.r3
url:
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy
  l: extension-Subscription.filterBy
version:
  v: 0.1.0
name:
  v: ExtensionSubscription_FilterBy
title:
  v: R5: Criteria for narrowing the subscription topic stream (new)
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T21:02:03.8104715+00:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: R5: `Subscription.filterBy` (new:BackboneElement)
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
purpose:
  v: This extension is part of the cross-version definitions generated to enable use of the element `Subscription.filterBy` as defined in FHIR R5 in FHIR STU3. The source element is defined as: `Subscription.filterBy` 0..* `BackboneElement` Across FHIR versions, the element set has been mapped as: * R5: `Subscription.filterBy` 0..* `BackboneElement` Following are the generation technical comments: Element `Subscription.filterBy` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: complex-type
abstract:
  v: false
context type:
  v: resource
context:
  v: Subscription
type:
  v: Extension
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Extension
    path:
      v: Extension
    short:
      v: R5: Criteria for narrowing the subscription topic stream (new)
    definition:
      v: R5: `Subscription.filterBy` (new:BackboneElement)
    comment:
      v: Element `Subscription.filterBy` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Extension
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() | (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    constraint:
      key:
        v: ext-1
      severity:
        v: error
      human:
        v: Must have either extensions or value[x], not both
      expression:
        v: extension.exists() != value.exists()
      xpath:
        v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      source:
        v: http://hl7.org/fhir/StructureDefinition/Extension
        l: Extension
    is modifier:
      v: false
  element:
    id:
      v: Extension.id
    path:
      v: Extension.id
    representation:
      v: xmlAttr
    short:
      v: xml:id (or equivalent in JSON)
    definition:
      v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1

code:
  v: string
  l: string

identity:
  v: rim
map:
  v: n/a

id:
  v: Extension.extension
path:
  v: Extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 2
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:resourceType
path:
  v: Extension.extension
slice name:
  v: resourceType
short:
  v: R5: Allowed Resource (reference to definition) for this Subscription filter (new)
definition:
  v: R5: `Subscription.filterBy.resourceType` (new:uri)
comment:
  v: Element `Subscription.filterBy.resourceType` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.resourceType` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.resourceType` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Subscription.filterBy.resourceType` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.resourceType` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.resourceType` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:resourceType.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:resourceType.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:resourceType.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: resourceType
  l: resourceType
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:resourceType.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Allowed Resource (reference to definition) for this Subscription filter
definition:
  v: A resource listed in the `SubscriptionTopic` this `Subscription` references (`SubscriptionTopic.canFilterBy.resource`). This element can be used to differentiate filters for topics that include more than one resource type.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
binding:
  strength:
    v: extensible
  description:
    v: A type of resource, or a Reference (from all versions)
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R5-subscription-types-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R5-subscription-types-for-R3
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:filterParameter
path:
  v: Extension.extension
slice name:
  v: filterParameter
short:
  v: R5: Filter label defined in SubscriptionTopic (new)
definition:
  v: R5: `Subscription.filterBy.filterParameter` (new:string)
comment:
  v: Element `Subscription.filterBy.filterParameter` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.filterParameter` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.filterParameter` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Subscription.filterBy.filterParameter` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.filterParameter` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.filterParameter` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:filterParameter.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:filterParameter.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:filterParameter.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: filterParameter
  l: filterParameter
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:filterParameter.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Filter label defined in SubscriptionTopic
definition:
  v: The filter as defined in the `SubscriptionTopic.canFilterBy.filterParameter` element.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:comparator
path:
  v: Extension.extension
slice name:
  v: comparator
short:
  v: R5: eq | ne | gt | lt | ge | le | sa | eb | ap (new)
definition:
  v: R5: `Subscription.filterBy.comparator` (new:code)
comment:
  v: Element `Subscription.filterBy.comparator` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.comparator` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.comparator` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Must be a comparator allowed by the SubscriptionTopic relevant to this Subscription filter.
requirements:
  v: Element `Subscription.filterBy.comparator` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.comparator` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.comparator` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:comparator.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:comparator.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:comparator.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: comparator
  l: comparator
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:comparator.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: eq | ne | gt | lt | ge | le | sa | eb | ap
definition:
  v: Comparator applied to this filter parameter.
comment:
  v: Must be a comparator allowed by the SubscriptionTopic relevant to this Subscription filter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: Search Comparator Codes applied to this filter.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/search-comparator|3.0.2
    l: http://hl7.org/fhir/ValueSet/search-comparator
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:modifier
path:
  v: Extension.extension
slice name:
  v: modifier
short:
  v: R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate (new)
definition:
  v: R5: `Subscription.filterBy.modifier` (new:code)
comment:
  v: Element `Subscription.filterBy.modifier` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.modifier` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Must be a modifier allowed by the SubscriptionTopic relevant to this Subscription filter.
requirements:
  v: Element `Subscription.filterBy.modifier` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.modifier` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:modifier.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:modifier.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:modifier.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: modifier
  l: modifier
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:modifier.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate
definition:
  v: Modifier applied to this filter parameter.
comment:
  v: Must be a modifier allowed by the SubscriptionTopic relevant to this Subscription filter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: Search Modifier Code applied to this filter.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R5-search-modifier-code-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R5-search-modifier-code-for-R3
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:value
path:
  v: Extension.extension
slice name:
  v: value
short:
  v: R5: Literal value or resource path (new)
definition:
  v: R5: `Subscription.filterBy.value` (new:string)
comment:
  v: Element `Subscription.filterBy.value` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.value` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.value` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Subscription.filterBy.value` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.value` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.value` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:value.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:value.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order 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 is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:value.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: value
  l: value
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:value.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Literal value or resource path
definition:
  v: The literal value or resource path as is legal in search - for example, `Patient/123` or `le1950`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.url
path:
  v: Extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: 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.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy
  l: extension-Subscription.filterBy
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

element:
  id:
    v: Extension
  path:
    v: Extension
  short:
    v: R5: Criteria for narrowing the subscription topic stream (new)
  definition:
    v: R5: `Subscription.filterBy` (new:BackboneElement)
  comment:
    v: Element `Subscription.filterBy` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: Extension
    min:
      v: 0
    max:
      v: *
  is modifier:
    v: false
element:
  id:
    v: Extension.extension
  path:
    v: Extension.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 2
  max:
    v: *
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:resourceType
  path:
    v: Extension.extension
  slice name:
    v: resourceType
  short:
    v: R5: Allowed Resource (reference to definition) for this Subscription filter (new)
  definition:
    v: R5: `Subscription.filterBy.resourceType` (new:uri)
  comment:
    v: Element `Subscription.filterBy.resourceType` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.resourceType` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.resourceType` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  requirements:
    v: Element `Subscription.filterBy.resourceType` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.resourceType` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.resourceType` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:resourceType.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: resourceType
    l: resourceType
element:
  id:
    v: Extension.extension:resourceType.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: Allowed Resource (reference to definition) for this Subscription filter
  definition:
    v: A resource listed in the `SubscriptionTopic` this `Subscription` references (`SubscriptionTopic.canFilterBy.resource`). This element can be used to differentiate filters for topics that include more than one resource type.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: uri
      l: uri
  binding:
    strength:
      v: extensible
    description:
      v: A type of resource, or a Reference (from all versions)
    value set: Uri
      v: http://hl7.org/fhir/uv/xver/ValueSet/R5-subscription-types-for-R3|0.1.0
      l: http://hl7.org/fhir/uv/xver/ValueSet/R5-subscription-types-for-R3
element:
  id:
    v: Extension.extension:filterParameter
  path:
    v: Extension.extension
  slice name:
    v: filterParameter
  short:
    v: R5: Filter label defined in SubscriptionTopic (new)
  definition:
    v: R5: `Subscription.filterBy.filterParameter` (new:string)
  comment:
    v: Element `Subscription.filterBy.filterParameter` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.filterParameter` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.filterParameter` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  requirements:
    v: Element `Subscription.filterBy.filterParameter` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.filterParameter` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.filterParameter` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:filterParameter.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: filterParameter
    l: filterParameter
element:
  id:
    v: Extension.extension:filterParameter.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: Filter label defined in SubscriptionTopic
  definition:
    v: The filter as defined in the `SubscriptionTopic.canFilterBy.filterParameter` element.
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Extension.extension:comparator
  path:
    v: Extension.extension

v: comparator

v: R5: eq | ne | gt | lt | ge | le | sa | eb | ap (new)

v: R5: `Subscription.filterBy.comparator` (new:code)

v: Element `Subscription.filterBy.comparator` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.comparator` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.comparator` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Must be a comparator allowed by the SubscriptionTopic relevant to this Subscription filter.

v: Element `Subscription.filterBy.comparator` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.comparator` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.comparator` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).

v: 0

v: 1

path:
  v: Extension.extension
min:
  v: 0
max:
  v: *

id:
  v: Extension.extension:comparator.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: comparator
  l: comparator

id:
  v: Extension.extension:comparator.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: eq | ne | gt | lt | ge | le | sa | eb | ap
definition:
  v: Comparator applied to this filter parameter.
comment:
  v: Must be a comparator allowed by the SubscriptionTopic relevant to this Subscription filter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: Search Comparator Codes applied to this filter.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/search-comparator|3.0.2
    l: http://hl7.org/fhir/ValueSet/search-comparator

id:
  v: Extension.extension:modifier
path:
  v: Extension.extension
slice name:
  v: modifier
short:
  v: R5: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate (new)
definition:
  v: R5: `Subscription.filterBy.modifier` (new:code)
comment:
  v: Element `Subscription.filterBy.modifier` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.modifier` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element). Must be a modifier allowed by the SubscriptionTopic relevant to this Subscription filter.
requirements:
  v: Element `Subscription.filterBy.modifier` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.modifier` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.modifier` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:modifier.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: modifier
  l: modifier

id:
  v: Extension.extension:modifier.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate
definition:
  v: Modifier applied to this filter parameter.
comment:
  v: Must be a modifier allowed by the SubscriptionTopic relevant to this Subscription filter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: Search Modifier Code applied to this filter.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R5-search-modifier-code-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R5-search-modifier-code-for-R3

id:
  v: Extension.extension:value
path:
  v: Extension.extension
slice name:
  v: value
short:
  v: R5: Literal value or resource path (new)
definition:
  v: R5: `Subscription.filterBy.value` (new:string)
comment:
  v: Element `Subscription.filterBy.value` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.value` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.value` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Subscription.filterBy.value` is part of an existing definition because parent element `Subscription.filterBy` requires a cross-version extension. Element `Subscription.filterBy.value` has a context of Subscription based on following the parent source element upwards and mapping to `Subscription`. Element `Subscription.filterBy.value` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:value.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: value
  l: value

id:
  v: Extension.extension:value.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Literal value or resource path
definition:
  v: The literal value or resource path as is legal in search - for example, `Patient/123` or `le1950`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Extension.url
path:
  v: Extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy
  l: extension-Subscription.filterBy

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1