PackagesCanonicalsLogsProblems
    Packages
    ehealthplatform.be.r4.federalprofiles@1.1.0-beta
    https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-addiction
description: '*************!DRAFT!DRAFT!DRAFT! VALUESETS STILL TO BE DELIVERED FOR THIS PROFILE *********** Belgian federal profile for an addiction. Initially based on the functional description of the NIHDI.'
package_name: ehealthplatform.be.r4.federalprofiles
derivation: constraint
name: BeAddiction
type: Observation
elements:
  status: {mustSupport: true, index: 0}
  code: {mustSupport: true, index: 1}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-patient']
    index: 2
  encounter: {mustSupport: true, index: 3}
  effective:
    mustSupport: true
    choices: []
    index: 5
  performer:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/CareTeam', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-organization', 'https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-patient', 'https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-practitioner', 'https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-practitionerrole']
    index: 6
    extensions:
      PerformerFunction:
        url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
        type: Extension
        index: 8
        elements:
          value:
            choices: [valueCodeableConcept]
            index: 10
          valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            PerformerFunction:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/event-performerFunction
                index: 8
                elements:
                  value:
                    choices: [valueCodeableConcept]
                    index: 10
                  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 11}
  note: {mustSupport: true, index: 12}
  component:
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: code.coding, type: exists}
      - {path: code.text, type: exists}
      min: null
      slices:
        productAndQuantity:
          match: {}
          schema:
            mustSupport: true
            index: 14
            elements:
              code:
                elements:
                  coding:
                    elements:
                      system: {index: 15}
              value:
                choices: [valueQuantity]
                index: 17
              valueQuantity: {type: Quantity, choiceOf: value, index: 18}
              dataAbsentReason: {index: 19}
              interpretation: {index: 20}
              referenceRange: {index: 21}
package_version: 1.1.0-beta
class: profile
kind: resource
url: https://www.ehealth.fgov.be/standards/fhir/StructureDefinition/be-addiction
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.0.1
required: [subject, performer]