PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.1.0
    https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-opd-twpas
description: 此門診病歷-Encounter OPD TWPAS Profile說明本IG如何進一步定義臺灣核心-就醫事件(TW Core Encounter) Profile以呈現免疫製劑事前審查中門診病歷之醫事機構、門診日期、科別、門診醫師
package_name: tw.gov.mohw.nhi.pas
derivation: constraint
name: EncounterOpdTWPAS
type: Encounter
elements:
  diagnosis:
    index: 18
    elements:
      condition:
        type: Reference
        short: 診斷
        refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Condition-twpas']
        index: 19
      rank: {short: rank=1時為主要疾病;rank>=2代表共病。, index: 20}
    required: [rank]
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-opd-twpas'}
        index: 1
    required: [profile]
  serviceProvider:
    type: Reference
    short: 醫事機構代碼,必須存在於醫事機構基本資料檔內。
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Organization-twpas']
    index: 21
  participant:
    index: 14
    elements:
      individual:
        type: Reference
        short: 門診醫師
        refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Practitioner-twpas']
        index: 15
    required: [individual]
  serviceType:
    short: 科別,完整代碼對應表請參照就醫科別對應表。
    binding: {strength: preferred, valueSet: 'https://twcore.mohw.gov.tw/ig/twcore/ValueSet/medical-department-sct-tw'}
    index: 4
    elements:
      coding:
        index: 5
        elements:
          code: {index: 6}
        required: [code]
        slicing:
          rules: closed
          discriminator:
          - {path: system, type: pattern}
          min: 1
          max: 1
          slices:
            TWMedicalDepartmentSCT:
              match: {system: null}
              schema:
                short: 對應至SNOMED CT之就醫科別
                index: 7
                elements:
                  code: {index: 8}
                required: [code]
            TWMedicalConsultationDepartment:
              match: {system: null}
              schema:
                short: 無法對應至SNOMED CT之臺灣健保署就醫科別
                index: 9
                elements:
                  code: {index: 10}
                required: [code]
            TWMedicalTreatmentDepartment:
              match: {system: null}
              schema:
                short: 無法對應至SNOMED CT之臺灣健保署診療科別
                index: 11
                elements:
                  code: {index: 12}
                required: [code]
    required: [coding]
  status:
    short: 就醫現況。【因FHIR設計而需必填】
    pattern: {type: Code, value: finished}
    index: 2
  class:
    short: 就醫分類。【因FHIR設計而需必填】
    binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActEncounterCode'}
    pattern:
      type: Coding
      value: {code: AMB, system: 'http://terminology.hl7.org/CodeSystem/v3-ActCode'}
    index: 3
  period:
    index: 16
    elements:
      start: {short: 門診日期,YYYY-MM-DD,西元年月日。, index: 17}
    required: [start]
  subject:
    type: Reference
    refers: ['https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas']
    index: 13
package_version: 1.1.0
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/pas/StructureDefinition/Encounter-opd-twpas
base: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore
version: 1.1.0
required: [serviceType, diagnosis, serviceProvider, participant, subject, meta, period]