PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.pl.laboratory.r5@0.1.0
    http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/observationDefinition-nfzContractedServiceCode
description: Kod świadczenia kontraktowanego NFZ
package_name: hl7.fhir.pl.laboratory.r5
derivation: constraint
name: ObservationDefinitionNfzContractedServiceCode
type: Extension
elements:
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      rules: closed
      ordered: false
      description: Extensions are always sliced by (at least) url
      discriminator:
      - {path: url, type: value}
      min: 3
      slices:
        type:
          match: {url: type}
          schema:
            mustSupport: true
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: type}
                index: 3
              value:
                pattern:
                  type: Coding
                  value: {code: KSK, system: 'http://hl7.org.pl/fhir/ig/pl-lab/CodeSystem/pl-term-nfzReimbursementCodeType-CS', display: Kod świadczenia kontraktowanego NFZ}
                choices: [valueCoding]
                index: 5
              valueCoding:
                type: Coding
                pattern:
                  type: Coding
                  value: {code: KSK, system: 'http://hl7.org.pl/fhir/ig/pl-lab/CodeSystem/pl-term-nfzReimbursementCodeType-CS', display: Kod świadczenia kontraktowanego NFZ}
                choiceOf: value
                index: 6
            required: [valueCoding, value]
        code:
          match: {url: code}
          schema:
            mustSupport: true
            _required: true
            index: 7
            extensions: {}
            elements:
              extension: {index: 8}
              url:
                pattern: {type: Uri, value: code}
                index: 9
              value:
                choices: [valueCoding]
                index: 11
              valueCoding: {type: Coding, choiceOf: value, index: 12}
            required: [valueCoding, value]
        name:
          match: {url: name}
          schema:
            mustSupport: true
            index: 13
            extensions: {}
            elements:
              extension: {index: 14}
              url:
                pattern: {type: Uri, value: name}
                index: 15
              value:
                choices: [valueString]
                index: 17
              valueString: {type: string, choiceOf: value, index: 18}
        explicite:
          match: {url: explicite}
          schema:
            mustSupport: true
            _required: true
            index: 19
            extensions: {}
            elements:
              extension: {index: 20}
              url:
                pattern: {type: Uri, value: explicite}
                index: 21
              value:
                choices: [valueBoolean]
                index: 23
              valueBoolean: {type: boolean, choiceOf: value, index: 24}
            required: [value, valueBoolean]
  url:
    pattern: {type: Uri, value: 'http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/observationDefinition-nfzContractedServiceCode'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 0.1.0
extensions:
  type:
    url: type
    mustSupport: true
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: type}
        index: 3
      value:
        pattern:
          type: Coding
          value: {code: KSK, system: 'http://hl7.org.pl/fhir/ig/pl-lab/CodeSystem/pl-term-nfzReimbursementCodeType-CS', display: Kod świadczenia kontraktowanego NFZ}
        choices: [valueCoding]
        index: 5
      valueCoding:
        type: Coding
        pattern:
          type: Coding
          value: {code: KSK, system: 'http://hl7.org.pl/fhir/ig/pl-lab/CodeSystem/pl-term-nfzReimbursementCodeType-CS', display: Kod świadczenia kontraktowanego NFZ}
        choiceOf: value
        index: 6
    required: [valueCoding, value]
  code:
    url: code
    mustSupport: true
    _required: true
    index: 7
    extensions: {}
    elements:
      extension: {index: 8}
      url:
        pattern: {type: Uri, value: code}
        index: 9
      value:
        choices: [valueCoding]
        index: 11
      valueCoding: {type: Coding, choiceOf: value, index: 12}
    required: [valueCoding, value]
  name:
    url: name
    mustSupport: true
    index: 13
    extensions: {}
    elements:
      extension: {index: 14}
      url:
        pattern: {type: Uri, value: name}
        index: 15
      value:
        choices: [valueString]
        index: 17
      valueString: {type: string, choiceOf: value, index: 18}
  explicite:
    url: explicite
    mustSupport: true
    _required: true
    index: 19
    extensions: {}
    elements:
      extension: {index: 20}
      url:
        pattern: {type: Uri, value: explicite}
        index: 21
      value:
        choices: [valueBoolean]
        index: 23
      valueBoolean: {type: boolean, choiceOf: value, index: 24}
    required: [value, valueBoolean]
class: extension
kind: complex-type
url: http://hl7.org.pl/fhir/ig/pl-lab/StructureDefinition/observationDefinition-nfzContractedServiceCode
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0