PackagesCanonicalsLogsProblems
    Packages
    de.cognovis.fhir.praxis@0.100.1
    https://fhir.cognovis.de/praxis/StructureDefinition/praxis-billing-macro
description: Vendor-neutral PlanDefinition profile for a curated billing macro (Ziffernkette).\n\nCarries a practice-library recommendation of codes that are normally billed for a\ntreatment situation and contract constellation. It does not prove performance or\nbillability and must not be treated as authoritative contract membership.\n\nDistinct from:\n- ChargeItemDefinition catalog entries (individual billable codes)\n- Authoritative contract applicability evidence\n- PraxisWorkflowDefinition Jobs (multi-output workflows with typed inputs)\n\nPraxisBillingPattern remains readable only for compatibility. Macros use this\nprofile and its specialty/venue useContext contract.\n\nSpecialty (`usage-context-type#user`) and venue (`usage-context-type#venue`) are\ndistinct eligibility axes shared with PraxisWorkflowDefinition. Specialty matching\nis by Coding.system + Coding.code. Venue is an explicitly curated Organization\nreference. Specialty-to-organization resolution is advisory only and requires\ncurator confirmation; source-system ownership/mandate/tenant fields are never\nvenue authorization. Specialty evidence never replaces ChargeItemDefinition\nresolution.
package_name: de.cognovis.fhir.praxis
derivation: constraint
name: PraxisBillingMacro
type: PlanDefinition
elements:
  description: {mustSupport: true, index: 11}
  useContext:
    mustSupport: true
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: code, type: pattern}
      min: null
      slices:
        specialty:
          match:
            code: {code: user, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            short: Eligible practitioner specialty
            array: true
            index: 13
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: user, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 14
              value:
                choices: [valueCodeableConcept]
                index: 16
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 17}
              value[x]:
                elements:
                  coding:
                    index: 18
                    elements:
                      system: {index: 19}
                      code: {index: 20}
                    required: [system, code]
                required: [coding]
        venue:
          match:
            code: {code: venue, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
          schema:
            short: Curated organization venue
            array: true
            index: 21
            elements:
              code:
                pattern:
                  type: Coding
                  value: {code: venue, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
                index: 22
              value:
                choices: [valueReference]
                index: 24
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/StructureDefinition/Organization']
                index: 25
  type:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: order-set, system: 'http://terminology.hl7.org/CodeSystem/plan-definition-type'}
    index: 9
  topic:
    short: Discovery topic; macros use chain
    binding: {strength: extensible, valueSet: 'https://fhir.cognovis.de/praxis/ValueSet/praxis-plan-topic'}
    mustSupport: true
    index: 27
  title: {mustSupport: true, index: 8}
  library: {index: 28}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        stopfield:
          match: {url: null}
          schema: {type: Extension, url: 'https://fhir.cognovis.de/praxis/StructureDefinition/billingpattern-stopfield', index: 1}
          min: 0
          max: 0
  status:
    mustSupport: true
    pattern: {type: Code, value: active}
    index: 10
  url: {mustSupport: true, index: 2}
  identifier:
    mustSupport: true
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        billingMacroId:
          match: {system: 'https://fhir.cognovis.de/praxis/sid/billing-macro-id'}
          schema:
            index: 4
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.cognovis.de/praxis/sid/billing-macro-id'}
                index: 5
              value: {index: 6}
            required: [value, system]
  action:
    mustSupport: true
    index: 29
    elements:
      title: {mustSupport: true, index: 30}
      description: {short: Forbidden as a binding channel (all nesting levels), index: 31}
      condition: {index: 32}
      definition:
        choices: [definitionUri]
        index: 39
        slicing:
          slices:
            definitionUri:
              match: {}
              schema:
                choices: [definitionUri]
                index: 39
              min: 0
              max: 0
      definitionCanonical:
        type: canonical
        mustSupport: true
        choiceOf: definition
        index: 37
        slicing:
          slices:
            definitionCanonical:
              match: {}
              schema: {type: canonical, mustSupport: true, choiceOf: definition, index: 37}
              min: 0
              max: 1
      definitionUri:
        type: uri
        choiceOf: definition
        index: 40
        slicing:
          slices:
            definitionUri:
              match: {}
              schema: {type: uri, choiceOf: definition, index: 40}
              min: 0
              max: 0
      dynamicValue: {index: 41}
      action:
        type: BackboneElement
        index: 42
        elements:
          description: {index: 43}
          condition: {index: 44}
          definition:
            choices: []
            index: 46
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: $this, type: type}
              min: null
              slices:
                definitionUri:
                  match: {}
                  schema:
                    choices: [definitionUri]
                    index: 48
                  min: 0
                  max: 0
          definitionUri:
            type: uri
            choiceOf: definition
            index: 49
            slicing:
              slices:
                definitionUri:
                  match: {}
                  schema: {type: uri, choiceOf: definition, index: 49}
                  min: 0
                  max: 0
          dynamicValue: {index: 50}
          action:
            type: BackboneElement
            index: 51
            elements:
              description: {index: 52}
              condition: {index: 53}
              definition:
                choices: []
                index: 55
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: null
                  slices:
                    definitionUri:
                      match: {}
                      schema:
                        choices: [definitionUri]
                        index: 57
                      min: 0
                      max: 0
              definitionUri:
                type: uri
                choiceOf: definition
                index: 58
                slicing:
                  slices:
                    definitionUri:
                      match: {}
                      schema: {type: uri, choiceOf: definition, index: 58}
                      min: 0
                      max: 0
              dynamicValue: {index: 59}
  version: {mustSupport: true, index: 7}
  effectivePeriod: {mustSupport: true, index: 26}
package_version: 0.100.1
extensions:
  stopfield: {url: 'https://fhir.cognovis.de/praxis/StructureDefinition/billingpattern-stopfield', min: 0, max: 0, type: Extension, index: 1}
class: profile
kind: resource
url: https://fhir.cognovis.de/praxis/StructureDefinition/praxis-billing-macro
base: http://hl7.org/fhir/StructureDefinition/PlanDefinition
version: 0.100.1
required: [url, action, title, type, version, topic]