PackagesCanonicalsLogsProblems
    Packages
    tw.cohesion.fhir.clinemr@1.0.0
    https://fhir.cohesiondata.com/clinemr/StructureDefinition/practitioner-clinemr
description: 此健康照護服務提供人員(Practitioner ClinEMR)Profile說明本IG如何進一步定義臺灣核心-健康照護服務提供人員(TW Core Practitioner) Profile以呈現西醫/牙醫/中醫診所門診病摘之健康照護服務提供人員基本資料。
package_name: tw.cohesion.fhir.clinemr
derivation: constraint
name: PractitionerClinEMR
type: Practitioner
elements:
  identifier:
    short: 識別碼。[應填入看診醫師身分證字號]
    index: 0
    elements:
      type: {index: 1}
      system: {index: 2}
      value: {index: 3}
    required: [value, type, system]
    slicing:
      rules: closed
      discriminator:
      - {path: type.coding.code, type: value}
      - {path: type.coding.system, type: value}
      min: 1
      max: 1
      slices:
        idCardNumber:
          match:
            type:
              coding: {code: null, system: null}
          schema:
            _required: true
            index: 4
            elements:
              value:
                constraint:
                  PractitionerClinEMR-identifier-idCardNumber: {human: 身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。, source: 'https://fhir.cohesiondata.com/clinemr/StructureDefinition/practitioner-clinemr', severity: error, expression: 'value.matches(''^[A-Za-z][0-9]{9}$'')'}
                index: 5
        passportNumber:
          match:
            type:
              coding: {code: null, system: null}
          schema: {index: 6}
          max: 0
        residentNumber:
          match:
            type:
              coding: {code: null, system: null}
          schema: {index: 7}
          max: 0
  name:
    short: 中文的完整性名。[應填入於看診醫師姓名]
    index: 8
    elements:
      text: {index: 9}
    required: [text]
package_version: 1.0.0
class: profile
kind: resource
url: https://fhir.cohesiondata.com/clinemr/StructureDefinition/practitioner-clinemr
base: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore
version: 1.0.0
required: [name, identifier]