PackagesCanonicalsLogsProblems
    Packages
    rs/il.fhir.r4.dgmc@0.1.8
    http://fhir.dgmc.health.gov.il/StructureDefinition/dgmc-cml-consultation-answer
description: DGMC Consultation Answer
package_name: rs/il.fhir.r4.dgmc
derivation: constraint
name: DGMCConsultationAnswer
type: Procedure
elements:
  performed:
    choices: [performedDateTime]
    index: 13
    slicing:
      slices:
        performedDateTime:
          match: {}
          schema:
            choices: [performedDateTime]
            _required: true
            index: 13
          min: 1
  outcome:
    index: 17
    elements:
      text: {index: 18}
    required: [text]
  asserter:
    elements:
      reference: {index: 16}
    required: [reference]
  id: {index: 0}
  performedDateTime:
    type: dateTime
    choiceOf: performed
    index: 14
    slicing:
      slices:
        performedDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: performed, _required: true, index: 14}
          min: 1
  recorder:
    elements:
      reference: {index: 15}
    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/cml-counseling-answer-uri'}
        index: 1
      value: {index: 2}
    required: [system, value]
  basedOn:
    elements:
      reference: {index: 3}
    required: [reference]
  followUp:
    array: true
    max: 2
    index: 19
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: pattern}
      min: null
      max: 2
      slices:
        cml-follow-up:
          match:
            coding:
            - {code: follow-up-needed, system: 'http://fhir.dgmc.health.gov.il/cs/consultation-followup-flag'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: follow-up-needed, system: 'http://fhir.dgmc.health.gov.il/cs/consultation-followup-flag'}
            type: CodeableConcept
            index: 20
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: string, value: נדרש המשך מעקב}
                    type: string
                    index: 21
                required: [display]
        cml-final-answer-needed:
          match:
            coding:
            - {code: final-answer-needed, system: 'http://fhir.dgmc.health.gov.il/cs/consultation-followup-flag'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: final-answer-needed, system: 'http://fhir.dgmc.health.gov.il/cs/consultation-followup-flag'}
            type: CodeableConcept
            index: 22
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: string, value: תשובה זמנית (ממתין לתשובה סופית)}
                    type: string
                    index: 23
                required: [display]
  subject:
    elements:
      reference: {index: 8}
    required: [reference]
package_version: 0.1.8
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.8
required: [id, outcome, performed, performedDateTime]