PackagesCanonicalsLogsProblems
    Packages
    rs/fhir.dgmc@0.1.3
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-answer
description: DGMC Consultation Answer
package_name: rs/fhir.dgmc
derivation: constraint
name: DGMCConsultationAnswer
type: Procedure
elements:
  performed:
    choices: [performedDateTime]
    index: 10
    slicing:
      slices:
        performedDateTime:
          match: {}
          schema:
            choices: [performedDateTime]
            _required: true
            index: 10
          min: 1
  outcome:
    index: 14
    elements:
      text: {index: 15}
    required: [text]
  asserter:
    elements:
      reference: {index: 13}
    required: [reference]
  id: {index: 0}
  performedDateTime:
    type: dateTime
    choiceOf: performed
    index: 11
    slicing:
      slices:
        performedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: performed, _required: true, index: 11}
          min: 1
  recorder:
    elements:
      reference: {index: 12}
    required: [reference]
  code:
    elements:
      coding:
        index: 4
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            type: uri
            index: 5
          code:
            pattern: {type: code, value: '11429006'}
            type: code
            index: 6
          display:
            pattern: {type: string, value: Consultation}
            type: string
            index: 7
        required: [code, display, system]
    required: [coding]
  identifier:
    elements:
      system:
        binding: {strength: required, valueSet: 'http://fhir.dgmc.health.gov.il/ValueSet/hospitals-uri/cml-counseling-answer'}
        index: 1
      value: {index: 2}
    required: [system, value]
  basedOn:
    elements:
      reference: {index: 3}
    required: [reference]
  followUp:
    index: 16
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: coding.code, type: value}
      min: null
      slices:
        cml-follow-up:
          match:
            coding: {code: follow-up-needed}
          schema:
            index: 17
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.dgmc.health.gov.il/CodeSystem/consultation-followup-flag'}
                    type: uri
                    index: 18
                  code:
                    pattern: {type: code, value: follow-up-needed}
                    type: code
                    index: 19
                  display:
                    pattern: {type: string, value: נדרש המשך מעקב}
                    type: string
                    index: 20
                required: [code, display, system]
        cml-final-answer:
          match:
            coding: {code: final-answer-needed}
          schema:
            index: 21
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.dgmc.health.gov.il/CodeSystem/consultation-followup-flag'}
                    type: uri
                    index: 22
                  code:
                    pattern: {type: code, value: final-answer-needed}
                    type: code
                    index: 23
                  display:
                    pattern: {type: string, value: ממתין לתשובה סופית (תשובה זמנית)}
                    type: string
                    index: 24
                required: [code, display, system]
  subject:
    elements:
      reference: {index: 8}
    required: [reference]
package_version: 0.1.3
class: profile
kind: resource
url: http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-answer
base: http://fhir.health.gov.il/StructureDefinition/il-core-procedure
version: 0.1.3
required: [id, outcome, performed, performedDateTime]