PackagesCanonicalsLogsProblems
    Packages
    de.netzwerk@universitaetsmedizin.ebm-cpg-1.0.2
    https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/evidence-data-set
description: Definition of the outcome used as the observed measured variable for an evidence synthesis.
package_name: de.netzwerk
derivation: constraint
name: EvidenceDataSet
type: EvidenceVariable
elements:
  characteristic:
    constraint:
      evidence-variable-unique-definition:
        human: For each characteristic, one and only one type of definition must exist
        source: https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/evidence-data-set
        severity: error
        expression: |-
          (
            definitionReference.exists().toInteger()
            + definitionCanonical.exists().toInteger()
            + definitionCodeableConcept.exists().toInteger()
            + definitionExpression.exists().toInteger()
            + definitionId.exists().toInteger()
            + definitionByTypeAndValue.exists().toInteger()
            + definitionByCombination.exists().toInteger()
            ) = 1
    index: 0
    elements:
      exclude:
        pattern: {type: Boolean, value: false}
        index: 1
      definitionReference: {index: 2}
      definitionCanonical: {index: 3}
      definitionCodeableConcept: {index: 4}
      definitionExpression: {index: 5}
      definitionId: {index: 6}
      definitionByTypeAndValue: {index: 7}
      definitionByCombination:
        mustSupport: true
        index: 8
        elements:
          code:
            pattern: {type: Code, value: dataset}
            index: 9
          characteristic:
            type: BackboneElement
            constraint:
              evidence-variable-unique-definition:
                human: For each characteristic, one and only one type of definition must exist
                source: https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/evidence-data-set
                severity: error
                expression: |-
                  (
                    definitionReference.exists().toInteger()
                    + definitionCanonical.exists().toInteger()
                    + definitionCodeableConcept.exists().toInteger()
                    + definitionExpression.exists().toInteger()
                    + definitionId.exists().toInteger()
                    + definitionByTypeAndValue.exists().toInteger()
                    + definitionByCombination.exists().toInteger()
                    ) = 1
            index: 10
            elements:
              exclude:
                pattern: {type: Boolean, value: false}
                index: 11
              definitionReference:
                type: Reference
                mustSupport: true
                refers: ['https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/study-outcome-evidence']
                index: 12
              definitionCanonical: {index: 13}
              definitionCodeableConcept: {index: 14}
              definitionExpression: {index: 15}
              definitionId: {index: 16}
              definitionByTypeAndValue: {index: 17}
              definitionByCombination: {index: 18}
            required: [definitionReference]
    required: [definitionByCombination]
package_version: universitaetsmedizin.ebm-cpg-1.0.2
class: profile
kind: resource
url: https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/evidence-data-set
base: https://www.netzwerk-universitaetsmedizin.de/fhir/cpg-on-ebm-on-fhir/StructureDefinition/pico-evidence-variable
version: 0.1.1