billing-counting-scope-qualifier
type: StructureDefinition
node role: treeRoot
resource.id:
  value: billing-counting-scope-qualifier
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: StructureDefinition billing-counting-scope-qualifier Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension ?!<a style="padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;" href="http://hl7.org/fhir/R4/conformance-rules.html#constraints" title="This element has or is affected by constraints ( billing-counting-scope-has-parameter, billing-counting-scope-anchor-direction-requires-anchor )">C 0..* Extension Billing Counting Scope Qualifier This is a modifier extension Constraints: billing-counting-scope-has-parameter, billing-counting-scope-anchor-direction-requires-anchor #xD; Slices for extension Content/Rules for all slices #xD; extension:anchorCode 0..* Extension Service that anchors the counting window #xD; extension 0..0 Extension #xD; url 1..1 uri "anchorCode" #xD; value[x] 0..1 Coding Value of extension #xD; extension:anchorDirection 0..1 Extension Direction of the window relative to the anchor #xD; extension 0..0 Extension #xD; url 1..1 uri "anchorDirection" #xD; value[x] 0..1 code Value of extension Binding: Billing Counting Anchor Direction (required) #xD; extension:anchorSection 0..1 Extension Catalog section the anchor is drawn from #xD; extension 0..0 Extension #xD; url 1..1 uri "anchorSection" #xD; value[x] 0..1 string Value of extension #xD; extension:sameSelector 0..1 Extension Sameness selector the count is partitioned by #xD; extension 0..0 Extension #xD; url 1..1 uri "sameSelector" #xD; value[x] 0..1 CodeableConcept Value of extension #xD; extension:windowMultiple 0..1 Extension Number of unit windows the scope spans #xD; extension 0..0 Extension #xD; url 1..1 uri "windowMultiple" #xD; value[x] 0..1 positiveInt Value of extension #xD; url 1..1 uri "https://fhir.…
structure definition.url:
  value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
structure definition.identifier:
  index: 0
  identifier.system:
    value: urn:ietf:rfc:3986
  identifier.value:
    value: urn:oid:2.16.840.1.113883.3.7985.42.46
structure definition.version:
  value: 0.99.1
structure definition.name:
  value: BillingCountingScopeQualifier
structure definition.title:
  value: Billing Counting Scope Qualifier
structure definition.status:
  value: active
structure definition.date:
  value: 2026-08-22T18:18:46+02:00
structure definition.publisher:
  value: cognovis GmbH
structure definition.contact:
  index: 0
  contact detail.name:
    value: cognovis GmbH
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://www.cognovis.de
  contact detail.telecom:
    index: 1
    contact point.system:
      value: email
structure definition.description:
  value: Typed instance parameters of a declared billing counting scope. As a modifier extension it must be understood before a counting result is asserted: ignoring an anchor, a sameness selector, or a window multiple silently widens the scope the count was taken over.
structure definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: DE
structure definition.copyright:
  value: Copyright 2026+ cognovis GmbH. Cognovis-authored material is licensed under Apache-2.0; third-party material retains its own terms as documented in THIRD_PARTY_NOTICES.md.
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: complex-type
structure definition.abstract:
  value: false
structure definition.context:
  index: 0
  structure definition.context.type:
    value: element
  structure definition.context.expression:
    value: ChargeItemDefinition.applicability
structure definition.type:
  value: Extension
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Extension
    element definition.path:
      value: Extension
    element definition.short:
      value: Billing Counting Scope Qualifier
    element definition.definition:
      value: Typed instance parameters of a declared billing counting scope. As a modifier extension it must be understood before a counting result is asserted: ignoring an anchor, a sameness selector, or a window multiple silently widens the scope the count was taken over.
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.condition:
      value: ele-1
      index: 0
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() or (children().count() > id.count())
      element definition.constraint.xpath:
        value: @value|f:*|h:div
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: ext-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Must have either extensions or value[x], not both
      element definition.constraint.expression:
        value: extension.exists() != value.exists()
      element definition.constraint.xpath:
        value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Extension
        link: http://hl7.org/fhir/StructureDefinition/Extension
    element definition.constraint:
      index: 2
      element definition.constraint.key:
        value: billing-counting-scope-has-parameter
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: A counting-scope qualifier must declare at least one typed counting parameter.
      element definition.constraint.expression:
        value: extension.where(url = 'anchorCode' or url = 'anchorDirection' or url = 'anchorSection' or url = 'sameSelector' or url = 'windowMultiple').exists()
      element definition.constraint.source:
        value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
        link: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
    element definition.constraint:
      index: 3
      element definition.constraint.key:
        value: billing-counting-scope-anchor-direction-requires-anchor
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: An anchor direction is only meaningful together with a declared anchor code or anchor section.
      element definition.constraint.expression:
        value: extension.where(url = 'anchorDirection').exists() implies extension.where(url = 'anchorCode' or url = 'anchorSection').exists()
      element definition.constraint.source:
        value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
        link: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
    element definition.is modifier:
      value: true
    element definition.is modifier reason:
      value: The qualifier narrows the counting scope; a consumer that ignores it counts over a wider scope than the rule declares.
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: Extension.id
    element definition.path:
      value: Extension.id
    element definition.representation:
      value: xmlAttr
      index: 0
    element definition.short:
      value: Unique id for inter-element referencing
    element definition.definition:
      value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Element.id
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element.extension:
        index: 0
      element definition.type.code:
        value: http://hl7.org/fhirpath/System.String

value: string

value: false

value: false

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: n/a

index: 2
element.id:
  value: Extension.extension
element definition.path:
  value: Extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Additional content defined by implementations
element definition.definition:
  value: 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.
element definition.comment:
  value: 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.
element definition.alias:
  value: extensions
  index: 0
element definition.alias:
  value: user content
  index: 1
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 3
element.id:
  value: Extension.extension:anchorCode
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: anchorCode
element definition.short:
  value: Service that anchors the counting window
element definition.definition:
  value: Declared anchor service. The anchor is always an instance parameter so that anchored windows stay free of issuer code lists.
element definition.min:
  value: 0
element definition.max:
  value: *
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 4
element.id:
  value: Extension.extension:anchorCode.id
element definition.path:
  value: Extension.extension.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 5
element.id:
  value: Extension.extension:anchorCode.extension
element definition.path:
  value: Extension.extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 6
element.id:
  value: Extension.extension:anchorCode.url
element definition.path:
  value: Extension.extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: anchorCode
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 7
element.id:
  value: Extension.extension:anchorCode.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: Coding
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 8
element.id:
  value: Extension.extension:anchorDirection
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: anchorDirection
element definition.short:
  value: Direction of the window relative to the anchor
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 9
element.id:
  value: Extension.extension:anchorDirection.id
element definition.path:
  value: Extension.extension.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 10
element.id:
  value: Extension.extension:anchorDirection.extension
element definition.path:
  value: Extension.extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 11
element.id:
  value: Extension.extension:anchorDirection.url
element definition.path:
  value: Extension.extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: anchorDirection
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 12
element.id:
  value: Extension.extension:anchorDirection.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: code
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.binding:
  element definition.binding.strength:
    value: required
  element definition.binding.value set:
    value: https://fhir.cognovis.de/praxis/ValueSet/billing-counting-anchor-direction-vs
    link: https://fhir.cognovis.de/praxis/ValueSet/billing-counting-anchor-direction-vs
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 13
element.id:
  value: Extension.extension:anchorSection
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: anchorSection
element definition.short:
  value: Catalog section the anchor is drawn from
element definition.definition:
  value: Identifier of the catalog section whose services anchor the window, used when a rule anchors to a section rather than to individual services.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 14
element.id:
  value: Extension.extension:anchorSection.id
element definition.path:
  value: Extension.extension.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 15
element.id:
  value: Extension.extension:anchorSection.extension
element definition.path:
  value: Extension.extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 16
element.id:
  value: Extension.extension:anchorSection.url
element definition.path:
  value: Extension.extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: anchorSection
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 17
element.id:
  value: Extension.extension:anchorSection.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: string
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 18
element.id:
  value: Extension.extension:sameSelector
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: sameSelector
element definition.short:
  value: Sameness selector the count is partitioned by
element definition.definition:
  value: Declared aspect that two occurrences must share to be counted together, such as the same site, the same session, or the same material.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 19
element.id:
  value: Extension.extension:sameSelector.id
element definition.path:
  value: Extension.extension.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 20
element.id:
  value: Extension.extension:sameSelector.extension
element definition.path:
  value: Extension.extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 21
element.id:
  value: Extension.extension:sameSelector.url
element definition.path:
  value: Extension.extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: sameSelector
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 22
element.id:
  value: Extension.extension:sameSelector.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 23
element.id:
  value: Extension.extension:windowMultiple
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: windowMultiple
element definition.short:
  value: Number of unit windows the scope spans
element definition.definition:
  value: Number of unit counting windows the scope spans. Quantity is a parameter and never mints a separate window concept.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 24
element.id:
  value: Extension.extension:windowMultiple.id
element definition.path:
  value: Extension.extension.id
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: Unique id for inter-element referencing
element definition.definition:
  value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Element.id
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: string
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: n/a

index: 25
element.id:
  value: Extension.extension:windowMultiple.extension
element definition.path:
  value: Extension.extension.extension
element definition.slicing:
  element definition.slicing.discriminator:
    index: 0
    element definition.slicing.discriminator.type:
      value: value
    element definition.slicing.discriminator.path:
      value: url
  element definition.slicing.description:
    value: Extensions are always sliced by (at least) url
  element definition.slicing.rules:
    value: open
element definition.short:
  value: Extension
element definition.definition:
  value: An Extension
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Element.extension
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: *
element definition.type:
  index: 0
  element definition.type.code:
    value: Extension
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.constraint:
  index: 1
  element definition.constraint.key:
    value: ext-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: Must have either extensions or value[x], not both
  element definition.constraint.expression:
    value: extension.exists() != value.exists()
  element definition.constraint.xpath:
    value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/Extension
element definition.is modifier:
  value: false
element definition.is summary:
  value: false

index: 26
element.id:
  value: Extension.extension:windowMultiple.url
element definition.path:
  value: Extension.extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: windowMultiple
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 27
element.id:
  value: Extension.extension:windowMultiple.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 28
element.id:
  value: Extension.url
element definition.path:
  value: Extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: 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.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 29
element.id:
  value: Extension.value[x]
element definition.path:
  value: Extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 0
element definition.max:
  value: 0
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: base64Binary
element definition.type:
  index: 1
  element definition.type.code:
    value: boolean
element definition.type:
  index: 2
  element definition.type.code:
    value: canonical
element definition.type:
  index: 3
  element definition.type.code:
    value: code
element definition.type:
  index: 4
  element definition.type.code:
    value: date
element definition.type:
  index: 5
  element definition.type.code:
    value: dateTime
element definition.type:
  index: 6
  element definition.type.code:
    value: decimal
element definition.type:
  index: 7
  element definition.type.code:
    value: id
element definition.type:
  index: 8
  element definition.type.code:
    value: instant
element definition.type:
  index: 9
  element definition.type.code:
    value: integer
element definition.type:
  index: 10
  element definition.type.code:
    value: markdown
element definition.type:
  index: 11
  element definition.type.code:
    value: oid
element definition.type:
  index: 12
  element definition.type.code:
    value: positiveInt
element definition.type:
  index: 13
  element definition.type.code:
    value: string
element definition.type:
  index: 14
  element definition.type.code:
    value: time
element definition.type:
  index: 15
  element definition.type.code:
    value: unsignedInt
element definition.type:
  index: 16
  element definition.type.code:
    value: uri
element definition.type:
  index: 17
  element definition.type.code:
    value: url
element definition.type:
  index: 18
  element definition.type.code:
    value: uuid
element definition.type:
  index: 19
  element definition.type.code:
    value: Address
element definition.type:
  index: 20
  element definition.type.code:
    value: Age
element definition.type:
  index: 21
  element definition.type.code:
    value: Annotation
element definition.type:
  index: 22
  element definition.type.code:
    value: Attachment
element definition.type:
  index: 23
  element definition.type.code:
    value: CodeableConcept
element definition.type:
  index: 24
  element definition.type.code:
    value: Coding
element definition.type:
  index: 25
  element definition.type.code:
    value: ContactPoint
element definition.type:
  index: 26
  element definition.type.code:
    value: Count
element definition.type:
  index: 27
  element definition.type.code:
    value: Distance
element definition.type:
  index: 28
  element definition.type.code:
    value: Duration
element definition.type:
  index: 29
  element definition.type.code:
    value: HumanName
element definition.type:
  index: 30
  element definition.type.code:
    value: Identifier
element definition.type:
  index: 31
  element definition.type.code:
    value: Money
element definition.type:
  index: 32
  element definition.type.code:
    value: Period
element definition.type:
  index: 33
  element definition.type.code:
    value: Quantity
element definition.type:
  index: 34
  element definition.type.code:
    value: Range
element definition.type:
  index: 35
  element definition.type.code:
    value: Ratio
element definition.type:
  index: 36
  element definition.type.code:
    value: Reference
element definition.type:
  index: 37
  element definition.type.code:
    value: SampledData
element definition.type:
  index: 38
  element definition.type.code:
    value: Signature
element definition.type:
  index: 39
  element definition.type.code:
    value: Timing
element definition.type:
  index: 40
  element definition.type.code:
    value: ContactDetail
element definition.type:
  index: 41
  element definition.type.code:
    value: Contributor
element definition.type:
  index: 42
  element definition.type.code:
    value: DataRequirement
element definition.type:
  index: 43
  element definition.type.code:
    value: Expression
element definition.type:
  index: 44
  element definition.type.code:
    value: ParameterDefinition

index: 45
element definition.type.code:
  value: RelatedArtifact

index: 46
element definition.type.code:
  value: TriggerDefinition

index: 47
element definition.type.code:
  value: UsageContext

index: 48
element definition.type.code:
  value: Dosage

index: 49
element definition.type.code:
  value: Meta

index: 0
element definition.constraint.key:
  value: ele-1
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: All FHIR elements must have a @value or children
element definition.constraint.expression:
  value: hasValue() or (children().count() > id.count())
element definition.constraint.xpath:
  value: @value|f:*|h:div
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

value: false

value: false

index: 0
element definition.mapping.identity:
  value: rim
element definition.mapping.map:
  value: N/A

structure definition.differential.element:
  index: 0
  element.id:
    value: Extension
  element definition.path:
    value: Extension
  element definition.short:
    value: Billing Counting Scope Qualifier
  element definition.definition:
    value: Typed instance parameters of a declared billing counting scope. As a modifier extension it must be understood before a counting result is asserted: ignoring an anchor, a sameness selector, or a window multiple silently widens the scope the count was taken over.
  element definition.constraint:
    index: 0
    element definition.constraint.key:
      value: billing-counting-scope-has-parameter
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: A counting-scope qualifier must declare at least one typed counting parameter.
    element definition.constraint.expression:
      value: extension.where(url = 'anchorCode' or url = 'anchorDirection' or url = 'anchorSection' or url = 'sameSelector' or url = 'windowMultiple').exists()
    element definition.constraint.source:
      value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
      link: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
  element definition.constraint:
    index: 1
    element definition.constraint.key:
      value: billing-counting-scope-anchor-direction-requires-anchor
    element definition.constraint.severity:
      value: error
    element definition.constraint.human:
      value: An anchor direction is only meaningful together with a declared anchor code or anchor section.
    element definition.constraint.expression:
      value: extension.where(url = 'anchorDirection').exists() implies extension.where(url = 'anchorCode' or url = 'anchorSection').exists()
    element definition.constraint.source:
      value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
      link: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier
  element definition.is modifier:
    value: true
  element definition.is modifier reason:
    value: The qualifier narrows the counting scope; a consumer that ignores it counts over a wider scope than the rule declares.
structure definition.differential.element:
  index: 1
  element.id:
    value: Extension.extension:anchorCode
  element definition.path:
    value: Extension.extension
  element definition.slice name:
    value: anchorCode
  element definition.short:
    value: Service that anchors the counting window
  element definition.definition:
    value: Declared anchor service. The anchor is always an instance parameter so that anchored windows stay free of issuer code lists.
  element definition.min:
    value: 0
  element definition.max:
    value: *
structure definition.differential.element:
  index: 2
  element.id:
    value: Extension.extension:anchorCode.extension
  element definition.path:
    value: Extension.extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 3
  element.id:
    value: Extension.extension:anchorCode.url
  element definition.path:
    value: Extension.extension.url
  element definition.fixed uri:
    value: anchorCode
structure definition.differential.element:
  index: 4
  element.id:
    value: Extension.extension:anchorCode.value[x]
  element definition.path:
    value: Extension.extension.value[x]
  element definition.type:
    index: 0
    element definition.type.code:
      value: Coding
structure definition.differential.element:
  index: 5
  element.id:
    value: Extension.extension:anchorDirection
  element definition.path:
    value: Extension.extension
  element definition.slice name:
    value: anchorDirection
  element definition.short:
    value: Direction of the window relative to the anchor
  element definition.min:
    value: 0
  element definition.max:
    value: 1
structure definition.differential.element:
  index: 6
  element.id:
    value: Extension.extension:anchorDirection.extension
  element definition.path:
    value: Extension.extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 7
  element.id:
    value: Extension.extension:anchorDirection.url
  element definition.path:
    value: Extension.extension.url
  element definition.fixed uri:
    value: anchorDirection
structure definition.differential.element:
  index: 8
  element.id:
    value: Extension.extension:anchorDirection.value[x]
  element definition.path:
    value: Extension.extension.value[x]
  element definition.type:
    index: 0
    element definition.type.code:
      value: code
  element definition.binding:
    element definition.binding.strength:
      value: required
    element definition.binding.value set:
      value: https://fhir.cognovis.de/praxis/ValueSet/billing-counting-anchor-direction-vs
      link: https://fhir.cognovis.de/praxis/ValueSet/billing-counting-anchor-direction-vs
structure definition.differential.element:
  index: 9
  element.id:
    value: Extension.extension:anchorSection
  element definition.path:
    value: Extension.extension
  element definition.slice name:
    value: anchorSection
  element definition.short:
    value: Catalog section the anchor is drawn from
  element definition.definition:
    value: Identifier of the catalog section whose services anchor the window, used when a rule anchors to a section rather than to individual services.
  element definition.min:
    value: 0
  element definition.max:
    value: 1
structure definition.differential.element:
  index: 10
  element.id:
    value: Extension.extension:anchorSection.extension
  element definition.path:
    value: Extension.extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 11
  element.id:
    value: Extension.extension:anchorSection.url
  element definition.path:
    value: Extension.extension.url
  element definition.fixed uri:
    value: anchorSection
structure definition.differential.element:
  index: 12
  element.id:
    value: Extension.extension:anchorSection.value[x]
  element definition.path:
    value: Extension.extension.value[x]
  element definition.type:
    index: 0
    element definition.type.code:
      value: string
structure definition.differential.element:
  index: 13
  element.id:
    value: Extension.extension:sameSelector
  element definition.path:
    value: Extension.extension
  element definition.slice name:
    value: sameSelector
  element definition.short:
    value: Sameness selector the count is partitioned by
  element definition.definition:
    value: Declared aspect that two occurrences must share to be counted together, such as the same site, the same session, or the same material.
  element definition.min:
    value: 0
  element definition.max:
    value: 1
structure definition.differential.element:
  index: 14
  element.id:
    value: Extension.extension:sameSelector.extension
  element definition.path:
    value: Extension.extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 15
  element.id:
    value: Extension.extension:sameSelector.url
  element definition.path:
    value: Extension.extension.url
  element definition.fixed uri:
    value: sameSelector

index: 16
element.id:
  value: Extension.extension:sameSelector.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.type:
  index: 0
  element definition.type.code:
    value: CodeableConcept

index: 17
element.id:
  value: Extension.extension:windowMultiple
element definition.path:
  value: Extension.extension
element definition.slice name:
  value: windowMultiple
element definition.short:
  value: Number of unit windows the scope spans
element definition.definition:
  value: Number of unit counting windows the scope spans. Quantity is a parameter and never mints a separate window concept.
element definition.min:
  value: 0
element definition.max:
  value: 1

index: 18
element.id:
  value: Extension.extension:windowMultiple.extension
element definition.path:
  value: Extension.extension.extension
element definition.max:
  value: 0

index: 19
element.id:
  value: Extension.extension:windowMultiple.url
element definition.path:
  value: Extension.extension.url
element definition.fixed uri:
  value: windowMultiple

index: 20
element.id:
  value: Extension.extension:windowMultiple.value[x]
element definition.path:
  value: Extension.extension.value[x]
element definition.type:
  index: 0
  element definition.type.code:
    value: positiveInt

index: 21
element.id:
  value: Extension.url
element definition.path:
  value: Extension.url
element definition.fixed uri:
  value: https://fhir.cognovis.de/praxis/StructureDefinition/billing-counting-scope-qualifier

index: 22
element.id:
  value: Extension.value[x]
element definition.path:
  value: Extension.value[x]
element definition.max:
  value: 0