PackagesCanonicalsLogsProblems
    Packages
    fhir.dgmc@0.1.3
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-answer
description: DGMC Consultation Answer
package_name: 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'}
            index: 5
          code:
            pattern: {type: Code, value: '11429006'}
            index: 6
          display:
            pattern: {type: String, value: Consultation}
            index: 7
        required: [display, system, code]
    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: [value, system]
  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'}
                    index: 18
                  code:
                    pattern: {type: Code, value: follow-up-needed}
                    index: 19
                  display:
                    pattern: {type: String, value: נדרש המשך מעקב}
                    index: 20
                required: [display, system, code]
        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'}
                    index: 22
                  code:
                    pattern: {type: Code, value: final-answer-needed}
                    index: 23
                  display:
                    pattern: {type: String, value: ממתין לתשובה סופית (תשובה זמנית)}
                    index: 24
                required: [display, system, code]
  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: [performedDateTime, id, performed, outcome]