PackagesCanonicalsLogsProblems
    Packages
    de.basisprofil.r4@1.5.0-alpha6
    http://fhir.de/StructureDefinition/observation-de-ekg
description: null
package_name: de.basisprofil.r4
derivation: constraint
name: EkgDE
type: Observation
elements:
  category:
    index: 0
    elements:
      coding:
        pattern:
          type: Coding
          value: {code: procedure, system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
        index: 1
  code:
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: pattern}
          min: 1
          slices:
            loinc:
              match: {code: 11524-6, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 11524-6, system: 'http://loinc.org'}
                array: true
                min: 1
                _required: true
                index: 3
              min: 1
            snomed:
              match: {code: '271921002', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '271921002', system: 'http://snomed.info/sct'}
                array: true
                index: 4
              min: 0
    required: [coding]
  subject: {index: 5}
  effective:
    constraint:
      vs-de-1: {human: 'If Observation.effective[x] is dateTime and has a value then that value shall be precise to the day', source: 'http://fhir.de/StructureDefinition/observation-de-ekg', severity: error, expression: $this.toString().length() >= 8}
    mustSupport: true
    choices: [effectiveDateTime]
    index: 7
  effectiveDateTime:
    type: dateTime
    constraint:
      vs-de-1: {human: 'If Observation.effective[x] is dateTime and has a value then that value shall be precise to the day', source: 'http://fhir.de/StructureDefinition/observation-de-ekg', severity: error, expression: $this.toString().length() >= 8}
    mustSupport: true
    choiceOf: effective
    index: 8
  value:
    choices: []
    index: 10
  component:
    index: 11
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://fhir.de/ValueSet/EkgLeads'}
        index: 12
        elements:
          coding: {index: 13}
        required: [coding]
      value:
        choices: [valueSampledData]
        index: 15
      valueSampledData: {type: SampledData, choiceOf: value, index: 16}
      value[x]:
        elements:
          data: {index: 17}
        required: [data]
    required: [valueSampledData, value]
package_version: 1.5.0-alpha6
class: profile
kind: resource
url: http://fhir.de/StructureDefinition/observation-de-ekg
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.5.0
required: [effectiveDateTime, component, subject, category, effective]