PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.pocd@0.3.0
    http://hl7.org/fhir/uv/pocd/StructureDefinition/relation
description: Relation allows the modelling of relationships between a metric and other containment tree entries.\r\nRelated containment tree entries are defined in Entries, whereby the flavor of a relationship can be\r\nset up in Kind.
package_name: hl7.fhir.uv.pocd
derivation: constraint
name: Relation
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        kind:
          match: {url: kind}
          schema:
            short: Kind of relation
            _required: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: kind}
                index: 2
              valueCode:
                type: code
                binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/pocd/ValueSet/kind-of-relation'}
                index: 3
            required: [valueCode]
        entries:
          match: {url: entries}
          schema:
            short: Entries
            _required: true
            index: 4
            elements:
              url:
                pattern: {type: Uri, value: entries}
                index: 5
              valueReference:
                type: Reference
                index: 6
                elements:
                  reference: {index: 7}
                  identifier:
                    index: 8
                    elements:
                      system: {index: 9}
                      value: {index: 10}
            required: [valueReference]
        code:
          match: {url: code}
          schema:
            short: Description of relation
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: code}
                index: 12
              valueCoding:
                type: Coding
                index: 13
                elements:
                  system: {index: 14}
                  version: {index: 15}
                  code: {index: 16}
            required: [valueCoding]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/uv/pocd/StructureDefinition/relation'}
    index: 17
  value:
    choices: []
    index: 19
package_version: 0.3.0
extensions:
  kind:
    url: kind
    short: Kind of relation
    _required: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: kind}
        index: 2
      valueCode:
        type: code
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/pocd/ValueSet/kind-of-relation'}
        index: 3
    required: [valueCode]
  entries:
    url: entries
    short: Entries
    _required: true
    index: 4
    elements:
      url:
        pattern: {type: Uri, value: entries}
        index: 5
      valueReference:
        type: Reference
        index: 6
        elements:
          reference: {index: 7}
          identifier:
            index: 8
            elements:
              system: {index: 9}
              value: {index: 10}
    required: [valueReference]
  code:
    url: code
    short: Description of relation
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: code}
        index: 12
      valueCoding:
        type: Coding
        index: 13
        elements:
          system: {index: 14}
          version: {index: 15}
          code: {index: 16}
    required: [valueCoding]
class: extension
kind: complex-type
url: http://hl7.org/fhir/uv/pocd/StructureDefinition/relation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.3.0