FHIR © HL7.org  |  FHIRsmith 0.17.0  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagetw.cohesion.fhir.clinemr
Resource TypeStructureDefinition
IdStructureDefinition-MedicalClinicRecordModel.json
FHIR VersionR4
Sourcehttps://simplifier.net/resolve?scope=tw.cohesion.fhir.clinemr@1.1.0&canonical=https://fhir.cohesiondata.com/clinemr/StructureDefinition/MedicalClinicRecordModel
URLhttps://fhir.cohesiondata.com/clinemr/StructureDefinition/MedicalClinicRecordModel
Version1.1.0
Statusactive
Date2026-10-20T23:53:00+08:00
NameMedicalClinicRecordModel
Title西醫診所門診病摘(MedicalClinicRecord)之資料模型
Realmtw
Description西醫診所門診病摘(MedicalClinicRecord)之資料模型
Typehttps://fhir.cohesiondata.com/clinemr/StructureDefinition/MedicalClinicRecordModel
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition MedicalClinicRecordModel

NameFlagsCard.TypeDescription & Constraintsdoco
MedicalClinicRecordModel 0..*Base西醫診所門診病摘(MedicalClinicRecord)之資料模型
MedicalClinicRecordModel.documentInfo 1..1BackboneElement病歷文件資料
MedicalClinicRecordModel.documentInfo.hisdocPK 1..1IdentifierHIS病歷唯一碼
MedicalClinicRecordModel.documentInfo.hospitalId 1..1Identifier醫事機構代碼
MedicalClinicRecordModel.documentInfo.hospitalName 1..1string醫事機構名稱
MedicalClinicRecordModel.documentInfo.sheetInfo 1..1BackboneElement病歷表單資料
MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId 1..1Identifier病歷表單編號
MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName 1..1string病歷表單名稱
MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion 1..1id病歷表單版本
MedicalClinicRecordModel.documentInfo.docInfo 1..1BackboneElement病歷文件資料
MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode 1..1code文件敏感性
MedicalClinicRecordModel.documentInfo.docInfo.createTime 1..1dateTime文件產生時間
MedicalClinicRecordModel.patientInfo 1..1BackboneElement病人基本資料
MedicalClinicRecordModel.patientInfo.chatNo 1..1Identifier病歷號
MedicalClinicRecordModel.patientInfo.patientName 1..1HumanName病人姓名
MedicalClinicRecordModel.patientInfo.birthDate 0..1date出生日期
MedicalClinicRecordModel.patientInfo.visitIdentity 1..1CodeableConcept就醫身份
MedicalClinicRecordModel.patientInfo.gender 1..1code性別
MedicalClinicRecordModel.patientInfo.personalIDNumber 1..1Identifier身分證號
MedicalClinicRecordModel.patientInfo.contactInfo 0..1BackboneElement聯絡資訊
MedicalClinicRecordModel.patientInfo.contactInfo.homeTel 0..1ContactPoint住宅電話
MedicalClinicRecordModel.patientInfo.contactInfo.officeTel 0..1ContactPoint公司電話
MedicalClinicRecordModel.patientInfo.contactInfo.mobile 0..1ContactPoint行動電話
MedicalClinicRecordModel.patientInfo.bloodtype 0..1CodeableConcept自述血型
MedicalClinicRecordModel.patientInfo.marriageStatus 0..1CodeableConcept婚姻
MedicalClinicRecordModel.patientInfo.occupation 0..1CodeableConcept職業
MedicalClinicRecordModel.patientInfo.addressInfo 0..1BackboneElement病人相關住址
MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo 0..1BackboneElement病人戶籍地址資料
MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode 0..1code病人戶籍地址郵遞區號
MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation 0..1Address病人戶籍地址
MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo 0..1BackboneElement病人聯絡地址資料
MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode 0..1code病人聯絡地址郵遞區號
MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation 0..1Address病人聯絡地址
MedicalClinicRecordModel.patientInfo.email 0..1ContactPoint病人電子郵件地址
MedicalClinicRecordModel.patientInfo.history 0..1CodeableConcept過去病史
MedicalClinicRecordModel.patientInfo.allergy 0..1string過敏記錄
MedicalClinicRecordModel.patientInfo.emergencyContactInfo 0..*BackboneElement緊急聯絡人相關資訊
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName 0..1HumanName緊急聯絡人姓名
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp 0..1code緊急聯絡人與病人關係
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay 0..1BackboneElement緊急聯絡人聯絡方式
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel 0..1ContactPoint緊急聯絡人住宅電話
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel 0..1ContactPoint緊急聯絡人公司電話
MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile 0..1ContactPoint緊急聯絡人行動電話
MedicalClinicRecordModel.patientInfo.childNumber 0..1integer病人子女數
MedicalClinicRecordModel.patientInfo.education 0..1CodeableConcept病人教育程度
MedicalClinicRecordModel.encounter 1..1BackboneElement病人當次看診之相關資訊
MedicalClinicRecordModel.encounter.visitDate 1..1dateTime掛號(報到)日期時間
MedicalClinicRecordModel.encounter.visitSeq 1..1Identifier掛號序號
MedicalClinicRecordModel.encounter.department 1..1CodeableConcept看診科別
MedicalClinicRecordModel.encounter.doctorId 1..1Identifier看診醫師身分證號
MedicalClinicRecordModel.encounter.doctorName 1..1HumanName看診醫師姓名
MedicalClinicRecordModel.encounter.patientBloodPressure 0..1BackboneElement病人血壓
MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure 0..1Quantity收縮壓
MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure 0..1Quantity舒張壓
MedicalClinicRecordModel.encounter.pulse 0..1Quantity病人脈搏
MedicalClinicRecordModel.encounter.height 0..1decimal病人身高
MedicalClinicRecordModel.encounter.heightUnit 0..1code病人身高單位
MedicalClinicRecordModel.encounter.weight 0..1decimal病人體重
MedicalClinicRecordModel.encounter.weightUnit 0..1code病人體重單位
MedicalClinicRecordModel.encounter.bodytemperature 0..1Quantity病人體溫
MedicalClinicRecordModel.encounter.chiefComplain 1..1Annotation病人主訴
MedicalClinicRecordModel.encounter.majorInjuryInfo 1..*BackboneElement重大傷病相關資訊
MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag 1..1boolean重大傷病註記
MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent 0..*BackboneElement重大傷病代碼與病名
MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode 1..1code重大傷病代碼
MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName 1..1string重大傷病名稱
MedicalClinicRecordModel.encounter.diagnosisContent 1..*BackboneElement診斷代碼與名稱
MedicalClinicRecordModel.encounter.diagnosisContent.diagcode 1..1code診斷代碼
MedicalClinicRecordModel.encounter.diagnosisContent.diagName 1..1string診斷名稱
MedicalClinicRecordModel.encounter.treatmenInfo 0..*BackboneElement處置相關內容
MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode 0..1code處置部位代碼
MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode 0..1code處置健保碼
MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode 0..1code處置院內碼
MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription 0..1string處置說明
MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose 0..1decimal處置劑量
MedicalClinicRecordModel.encounter.doctorAdvise 0..1Annotation醫師囑咐
MedicalClinicRecordModel.drugInfo 0..*BackboneElement用藥紀錄相關內容
MedicalClinicRecordModel.drugInfo.drugNHICCode 0..1code藥品健保碼
MedicalClinicRecordModel.drugInfo.drugCode 1..1code藥品藥品碼
MedicalClinicRecordModel.drugInfo.drugName 1..1string藥品商品名
MedicalClinicRecordModel.drugInfo.dose 1..1decimal用量
MedicalClinicRecordModel.drugInfo.doseUnit 1..1string用量單位
MedicalClinicRecordModel.drugInfo.route 1..1CodeableConcept藥品服用方法
MedicalClinicRecordModel.drugInfo.frequency 1..1CodeableConcept藥品的使用頻率
MedicalClinicRecordModel.drugInfo.drugStartDate 1..1date用藥開始日期
MedicalClinicRecordModel.drugInfo.drugEndDate 1..1date用藥結束日期
MedicalClinicRecordModel.drugInfo.days 1..1decimal服藥天數
MedicalClinicRecordModel.drugInfo.totalAmount 1..1decimal藥品總劑量
MedicalClinicRecordModel.drugInfo.prescriptionMethod 0..1string藥品調劑方式
MedicalClinicRecordModel.drugInfo.drugUseRegion 0..1CodeableConcept藥品使用部位
MedicalClinicRecordModel.examiationInfo 0..*BackboneElement檢驗檢查相關內容
MedicalClinicRecordModel.examiationInfo.examOrderDate 0..1dateTime檢驗檢查開單日期
MedicalClinicRecordModel.examiationInfo.orderHospitalID 1..1code檢驗檢查開單醫事機構代碼
MedicalClinicRecordModel.examiationInfo.orderHospitalName 1..1string檢驗檢查開單醫事機構名稱
MedicalClinicRecordModel.examiationInfo.examHospitalID 1..1code檢驗檢查執行醫事機構代碼
MedicalClinicRecordModel.examiationInfo.examHospitalName 1..1string檢驗檢查執行醫事機構名稱
MedicalClinicRecordModel.examiationInfo.examDate 1..1dateTime檢查日期
MedicalClinicRecordModel.examiationInfo.verifyDate 0..1dateTime報告日期
MedicalClinicRecordModel.examiationInfo.testNHICode 0..1code健保檢驗檢查代碼
MedicalClinicRecordModel.examiationInfo.testName 1..1string檢驗檢查名稱
MedicalClinicRecordModel.examiationInfo.testResult 0..1string檢驗檢查結果值
MedicalClinicRecordModel.examiationInfo.resultUnit 0..1string檢驗檢查結果單位
MedicalClinicRecordModel.examiationInfo.resultFlag 0..1CodeableConcept檢驗檢查結果判斷註記
MedicalClinicRecordModel.examiationInfo.resultComment 0..1Annotation檢驗檢查結果備註說明
MedicalClinicRecordModel.imageInfo 0..*BackboneElement圖檔報告內容
MedicalClinicRecordModel.imageInfo.imageFileName 1..1string圖檔報告名稱
MedicalClinicRecordModel.imageInfo.imageContent 1..1Attachment圖檔報告內容
MedicalClinicRecordModel.referenceInfo 0..*BackboneElement參考附件資料內容
MedicalClinicRecordModel.referenceInfo.referenceDocFileName 1..1string附件檔名
MedicalClinicRecordModel.referenceInfo.referenceDocContent 1..1Attachment附件內容

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "MedicalClinicRecordModel",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://fhir.cohesiondata.com/clinemr/StructureDefinition/MedicalClinicRecordModel",
  "version": "1.1.0",
  "name": "MedicalClinicRecordModel",
  "title": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
  "status": "active",
  "date": "2026-10-20T23:53:00+08:00",
  "publisher": "睿傳數據",
  "contact": [
    {
      "name": "睿傳數據",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.cohesiondata.com/"
        }
      ]
    }
  ],
  "description": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "MedicalClinicRecord",
      "uri": "urn:cohesion:ClinEMR",
      "name": "ClinEMR"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://fhir.cohesiondata.com/clinemr/StructureDefinition/MedicalClinicRecordModel",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "MedicalClinicRecordModel",
        "path": "MedicalClinicRecordModel",
        "short": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
        "definition": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "BundleMCR"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo",
        "path": "MedicalClinicRecordModel.documentInfo",
        "short": "病歷文件資料",
        "definition": "病歷文件資料",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷文件資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.id",
        "path": "MedicalClinicRecordModel.documentInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.extension",
        "path": "MedicalClinicRecordModel.documentInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.documentInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hisdocPK",
        "path": "MedicalClinicRecordModel.documentInfo.hisdocPK",
        "short": "HIS病歷唯一碼",
        "definition": "HIS病歷唯一碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.hisdocPK",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "BundleMCR.identifier(HIS病歷唯一碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hospitalId",
        "path": "MedicalClinicRecordModel.documentInfo.hospitalId",
        "short": "醫事機構代碼",
        "definition": "醫事機構代碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.hospitalId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.identifier(醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hospitalName",
        "path": "MedicalClinicRecordModel.documentInfo.hospitalName",
        "short": "醫事機構名稱",
        "definition": "醫事機構名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.hospitalName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.name(醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo",
        "short": "病歷表單資料",
        "definition": "病歷表單資料",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.sheetInfo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷表單資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.id",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.extension",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId",
        "short": "病歷表單編號",
        "definition": "病歷表單編號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.identifier(病歷表單編號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName",
        "short": "病歷表單名稱",
        "definition": "病歷表單名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.title(病歷表單名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion",
        "short": "病歷表單版本",
        "definition": "病歷表單版本",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.meta.versionId(病歷表單版本)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo",
        "short": "病歷文件資料",
        "definition": "病歷文件資料",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.docInfo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷文件資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.id",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.extension",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode",
        "short": "文件敏感性",
        "definition": "文件敏感性",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.confidentiality(文件敏感性)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.createTime",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.createTime",
        "short": "文件產生時間",
        "definition": "文件產生時間",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.documentInfo.docInfo.createTime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.date(文件產生時間)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo",
        "path": "MedicalClinicRecordModel.patientInfo",
        "short": "病人基本資料",
        "definition": "病人基本資料",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人基本資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.chatNo",
        "path": "MedicalClinicRecordModel.patientInfo.chatNo",
        "short": "病歷號",
        "definition": "病歷號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.chatNo",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.identifier:medicalRecord(病歷號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.patientName",
        "path": "MedicalClinicRecordModel.patientInfo.patientName",
        "short": "病人姓名",
        "definition": "病人姓名",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.patientName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.name(病人姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.birthDate",
        "path": "MedicalClinicRecordModel.patientInfo.birthDate",
        "short": "出生日期",
        "definition": "出生日期",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.birthDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.birthDate(出生日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.visitIdentity",
        "path": "MedicalClinicRecordModel.patientInfo.visitIdentity",
        "short": "就醫身份",
        "definition": "就醫身份",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.visitIdentity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.extension:medicalIdentity.valueCodeableConcept(就醫身份)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.gender",
        "path": "MedicalClinicRecordModel.patientInfo.gender",
        "short": "性別",
        "definition": "性別",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.gender",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.gender(性別)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.personalIDNumber",
        "path": "MedicalClinicRecordModel.patientInfo.personalIDNumber",
        "short": "身分證號",
        "definition": "身分證號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.personalIDNumber",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.identifier:idCardNumber(身分證號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo",
        "short": "聯絡資訊",
        "definition": "聯絡資訊",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.contactInfo",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(聯絡資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.homeTel",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.homeTel",
        "short": "住宅電話",
        "definition": "住宅電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.contactInfo.homeTel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='home')(住宅電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.officeTel",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.officeTel",
        "short": "公司電話",
        "definition": "公司電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.contactInfo.officeTel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='work')(公司電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.mobile",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.mobile",
        "short": "行動電話",
        "definition": "行動電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.contactInfo.mobile",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='mobile')(行動電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.bloodtype",
        "path": "MedicalClinicRecordModel.patientInfo.bloodtype",
        "short": "自述血型",
        "definition": "自述血型",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.bloodtype",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationBloodtypeClinEMR.where(code='883-9').valueCodeableConcept(自述血型)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.marriageStatus",
        "path": "MedicalClinicRecordModel.patientInfo.marriageStatus",
        "short": "婚姻",
        "definition": "婚姻",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.marriageStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.maritalStatus(婚姻)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.occupation",
        "path": "MedicalClinicRecordModel.patientInfo.occupation",
        "short": "職業",
        "definition": "職業",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.occupation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationOccupationClinEMR.where(code='11341-5').valueCodeableConcept(職業)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo",
        "short": "病人相關住址",
        "definition": "病人相關住址",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人相關住址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo",
        "short": "病人戶籍地址資料",
        "definition": "病人戶籍地址資料",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人戶籍地址資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode",
        "short": "病人戶籍地址郵遞區號",
        "definition": "病人戶籍地址郵遞區號",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:home.postalCode.extension:tw-postal-code.valueCodeableConcept.coding.code(病人戶籍地址郵遞區號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation",
        "short": "病人戶籍地址",
        "definition": "病人戶籍地址",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:home(病人戶籍地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo",
        "short": "病人聯絡地址資料",
        "definition": "病人聯絡地址資料",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人聯絡地址資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode",
        "short": "病人聯絡地址郵遞區號",
        "definition": "病人聯絡地址郵遞區號",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:billing.postalCode.extension:tw-postal-code.valueCodeableConcept.coding.code(病人聯絡地址郵遞區號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation",
        "short": "病人聯絡地址",
        "definition": "病人聯絡地址",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:billing(病人聯絡地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.email",
        "path": "MedicalClinicRecordModel.patientInfo.email",
        "short": "病人電子郵件地址",
        "definition": "病人電子郵件地址",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.email",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system ='email')(病人電子郵件地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.history",
        "path": "MedicalClinicRecordModel.patientInfo.history",
        "short": "過去病史",
        "definition": "過去病史",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.history",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionPastMedicalHistoryClinEMR.code(過去病史)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.allergy",
        "path": "MedicalClinicRecordModel.patientInfo.allergy",
        "short": "過敏記錄",
        "definition": "過敏記錄",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.allergy",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:AllergyIntoleranceClinEMR.code.text(過敏記錄)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo",
        "short": "緊急聯絡人相關資訊",
        "definition": "緊急聯絡人相關資訊",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(緊急聯絡人相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.id",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.extension",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName",
        "short": "緊急聯絡人姓名",
        "definition": "緊急聯絡人姓名",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.name(緊急聯絡人姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp",
        "short": "緊急聯絡人與病人關係",
        "definition": "緊急聯絡人與病人關係",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.relationship.coding.code(緊急聯絡人與病人關係)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay",
        "short": "緊急聯絡人聯絡方式",
        "definition": "緊急聯絡人聯絡方式",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(緊急聯絡人聯絡方式)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.id",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.extension",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.modifierExtension",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel",
        "short": "緊急聯絡人住宅電話",
        "definition": "緊急聯絡人住宅電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='home')(緊急聯絡人住宅電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel",
        "short": "緊急聯絡人公司電話",
        "definition": "緊急聯絡人公司電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='work')(緊急聯絡人公司電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile",
        "short": "緊急聯絡人行動電話",
        "definition": "緊急聯絡人行動電話",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='mobile')(緊急聯絡人行動電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.childNumber",
        "path": "MedicalClinicRecordModel.patientInfo.childNumber",
        "short": "病人子女數",
        "definition": "病人子女數",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.childNumber",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.extension:childnumber.valueInteger(病人子女數)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.education",
        "path": "MedicalClinicRecordModel.patientInfo.education",
        "short": "病人教育程度",
        "definition": "病人教育程度",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.patientInfo.education",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationEducationLevelClinEMR.where(code='82589-3').valueCodeableConcept(病人教育程度)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter",
        "path": "MedicalClinicRecordModel.encounter",
        "short": "病人當次看診之相關資訊",
        "definition": "病人當次看診之相關資訊",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人當次看診之相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.id",
        "path": "MedicalClinicRecordModel.encounter.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.extension",
        "path": "MedicalClinicRecordModel.encounter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.visitDate",
        "path": "MedicalClinicRecordModel.encounter.visitDate",
        "short": "掛號(報到)日期時間",
        "definition": "掛號(報到)日期時間",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.visitDate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.period.start(掛號(報到)日期時間)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.visitSeq",
        "path": "MedicalClinicRecordModel.encounter.visitSeq",
        "short": "掛號序號",
        "definition": "掛號序號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.visitSeq",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.identifier(掛號序號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.department",
        "path": "MedicalClinicRecordModel.encounter.department",
        "short": "看診科別",
        "definition": "看診科別",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.department",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.serviceType(看診科別)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorId",
        "path": "MedicalClinicRecordModel.encounter.doctorId",
        "short": "看診醫師身分證號",
        "definition": "看診醫師身分證號",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.doctorId",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.participant.individual.Reference(PractitionerClinEMR).identifier:idCardNumber(看診醫師身分證號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorName",
        "path": "MedicalClinicRecordModel.encounter.doctorName",
        "short": "看診醫師姓名",
        "definition": "看診醫師姓名",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.doctorName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.participant.individual.Reference(PractitionerClinEMR).name(看診醫師姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure",
        "short": "病人血壓",
        "definition": "病人血壓",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.patientBloodPressure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人血壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.id",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.extension",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure",
        "short": "收縮壓",
        "definition": "收縮壓",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBloodPressureClinEMR).component.where(code='8480-6').valueQuantity(收縮壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure",
        "short": "舒張壓",
        "definition": "舒張壓",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBloodPressureClinEMR).component.where(code='8462-4').valueQuantity(舒張壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.pulse",
        "path": "MedicalClinicRecordModel.encounter.pulse",
        "short": "病人脈搏",
        "definition": "病人脈搏",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.pulse",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationHeartRateClinEMR).where(code='8867-4').valueQuantity(病人脈搏)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.height",
        "path": "MedicalClinicRecordModel.encounter.height",
        "short": "病人身高",
        "definition": "病人身高",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.height",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyHeightClinEMR).where(code='8302-2').valueQuantity.value(病人身高)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.heightUnit",
        "path": "MedicalClinicRecordModel.encounter.heightUnit",
        "short": "病人身高單位",
        "definition": "病人身高單位",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.heightUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyHeightClinEMR).where(code='8302-2').valueQuantity.code(病人身高單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.weight",
        "path": "MedicalClinicRecordModel.encounter.weight",
        "short": "病人體重",
        "definition": "病人體重",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.weight",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyWeightClinEMR).where(code='29463-7').valueQuantity.value(病人體重)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.weightUnit",
        "path": "MedicalClinicRecordModel.encounter.weightUnit",
        "short": "病人體重單位",
        "definition": "病人體重單位",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.weightUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyWeightClinEMR).where(code='29463-7').valueQuantity.code(病人體重單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.bodytemperature",
        "path": "MedicalClinicRecordModel.encounter.bodytemperature",
        "short": "病人體溫",
        "definition": "病人體溫",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.bodytemperature",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyTempClinEMR).where(code='8310-5').valueQuantity(病人體溫)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.chiefComplain",
        "path": "MedicalClinicRecordModel.encounter.chiefComplain",
        "short": "病人主訴",
        "definition": "病人主訴",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.chiefComplain",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionChiefComplaintClinEMR.note(病人主訴)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo",
        "short": "重大傷病相關資訊",
        "definition": "重大傷病相關資訊",
        "min": 1,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(重大傷病相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.id",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.extension",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag",
        "short": "重大傷病註記",
        "definition": "重大傷病註記",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationMajorIllnessClinEMR.where(code='11338-1').valueBoolean(重大傷病註記)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent",
        "short": "重大傷病代碼與病名",
        "definition": "重大傷病代碼與病名",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(重大傷病代碼與病名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.id",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.extension",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode",
        "short": "重大傷病代碼",
        "definition": "重大傷病代碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionMajorIllnessClinEMR.code.coding.code(重大傷病代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName",
        "short": "重大傷病名稱",
        "definition": "重大傷病名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionMajorIllnessClinEMR.code.coding.display(重大傷病名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent",
        "short": "診斷代碼與名稱",
        "definition": "診斷代碼與名稱",
        "min": 1,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.diagnosisContent",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(診斷代碼與名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.id",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.extension",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.diagcode",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagcode",
        "short": "診斷代碼",
        "definition": "診斷代碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagcode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionDiagnosisClinEMR.code.coding.code(診斷代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.diagName",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagName",
        "short": "診斷名稱",
        "definition": "診斷名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionDiagnosisClinEMR.code.coding.display(診斷名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo",
        "short": "處置相關內容",
        "definition": "處置相關內容",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(處置相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.id",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.extension",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode",
        "short": "處置部位代碼",
        "definition": "處置部位代碼",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.bodySite.coding.code(處置部位代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode",
        "short": "處置健保碼",
        "definition": "處置健保碼",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.code.coding.code(處置健保碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode",
        "short": "處置院內碼",
        "definition": "處置院內碼",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.identifier.value(處置院內碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription",
        "short": "處置說明",
        "definition": "處置說明",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.code.coding.display(處置說明)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose",
        "short": "處置劑量",
        "definition": "處置劑量",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.usedReference(處置劑量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorAdvise",
        "path": "MedicalClinicRecordModel.encounter.doctorAdvise",
        "short": "醫師囑咐",
        "definition": "醫師囑咐",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.encounter.doctorAdvise",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CarePlanClinEMR.note(醫師囑咐)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo",
        "path": "MedicalClinicRecordModel.drugInfo",
        "short": "用藥紀錄相關內容",
        "definition": "用藥紀錄相關內容",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(用藥紀錄相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.id",
        "path": "MedicalClinicRecordModel.drugInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.extension",
        "path": "MedicalClinicRecordModel.drugInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.drugInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugNHICCode",
        "path": "MedicalClinicRecordModel.drugInfo.drugNHICCode",
        "short": "藥品健保碼",
        "definition": "藥品健保碼",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugNHICCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.where(system='https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-nhi-tw').code(藥品健保碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugCode",
        "path": "MedicalClinicRecordModel.drugInfo.drugCode",
        "short": "藥品藥品碼",
        "definition": "藥品藥品碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugCode",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.code(藥品藥品碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugName",
        "path": "MedicalClinicRecordModel.drugInfo.drugName",
        "short": "藥品商品名",
        "definition": "藥品商品名",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.display(藥品商品名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.dose",
        "path": "MedicalClinicRecordModel.drugInfo.dose",
        "short": "用量",
        "definition": "用量",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.dose",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.doseAndRate.doseQuantity.value(用量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.doseUnit",
        "path": "MedicalClinicRecordModel.drugInfo.doseUnit",
        "short": "用量單位",
        "definition": "用量單位",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.doseUnit",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.doseAndRate.doseQuantity.unit(用量單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.route",
        "path": "MedicalClinicRecordModel.drugInfo.route",
        "short": "藥品服用方法",
        "definition": "藥品服用方法",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.route",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.route(藥品服用方法)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.frequency",
        "path": "MedicalClinicRecordModel.drugInfo.frequency",
        "short": "藥品的使用頻率",
        "definition": "藥品的使用頻率",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.frequency",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.code(藥品的使用頻率)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugStartDate",
        "path": "MedicalClinicRecordModel.drugInfo.drugStartDate",
        "short": "用藥開始日期",
        "definition": "用藥開始日期",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugStartDate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.boundsPeriod.start(用藥開始日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugEndDate",
        "path": "MedicalClinicRecordModel.drugInfo.drugEndDate",
        "short": "用藥結束日期",
        "definition": "用藥結束日期",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugEndDate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.boundsPeriod.end(用藥結束日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.days",
        "path": "MedicalClinicRecordModel.drugInfo.days",
        "short": "服藥天數",
        "definition": "服藥天數",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.days",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.duration(服藥天數)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.totalAmount",
        "path": "MedicalClinicRecordModel.drugInfo.totalAmount",
        "short": "藥品總劑量",
        "definition": "藥品總劑量",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.totalAmount",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dispenseRequest.quantity.value(藥品總劑量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.prescriptionMethod",
        "path": "MedicalClinicRecordModel.drugInfo.prescriptionMethod",
        "short": "藥品調劑方式",
        "definition": "藥品調劑方式",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.prescriptionMethod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.note.text(藥品調劑方式)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugUseRegion",
        "path": "MedicalClinicRecordModel.drugInfo.drugUseRegion",
        "short": "藥品使用部位",
        "definition": "藥品使用部位",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.drugInfo.drugUseRegion",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.site(藥品使用部位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo",
        "path": "MedicalClinicRecordModel.examiationInfo",
        "short": "檢驗檢查相關內容",
        "definition": "檢驗檢查相關內容",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(檢驗檢查相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.id",
        "path": "MedicalClinicRecordModel.examiationInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.extension",
        "path": "MedicalClinicRecordModel.examiationInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.examiationInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examOrderDate",
        "path": "MedicalClinicRecordModel.examiationInfo.examOrderDate",
        "short": "檢驗檢查開單日期",
        "definition": "檢驗檢查開單日期",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.examOrderDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ServiceRequestClinEMR.occurrenceDateTime(檢驗檢查開單日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.orderHospitalID",
        "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalID",
        "short": "檢驗檢查開單醫事機構代碼",
        "definition": "檢驗檢查開單醫事機構代碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.identifier.value(檢驗檢查開單醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.orderHospitalName",
        "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalName",
        "short": "檢驗檢查開單醫事機構名稱",
        "definition": "檢驗檢查開單醫事機構名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.name(檢驗檢查開單醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examHospitalID",
        "path": "MedicalClinicRecordModel.examiationInfo.examHospitalID",
        "short": "檢驗檢查執行醫事機構代碼",
        "definition": "檢驗檢查執行醫事機構代碼",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.examHospitalID",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationInspectionClinEMR.identifier.value(檢驗檢查執行醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examHospitalName",
        "path": "MedicalClinicRecordModel.examiationInfo.examHospitalName",
        "short": "檢驗檢查執行醫事機構名稱",
        "definition": "檢驗檢查執行醫事機構名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.examHospitalName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationInspectionClinEMR.name(檢驗檢查執行醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examDate",
        "path": "MedicalClinicRecordModel.examiationInfo.examDate",
        "short": "檢查日期",
        "definition": "檢查日期",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.examDate",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.effectiveDateTime(檢查日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.verifyDate",
        "path": "MedicalClinicRecordModel.examiationInfo.verifyDate",
        "short": "報告日期",
        "definition": "報告日期",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.verifyDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DiagnosticReportClinEMR.effectiveDateTime(報告日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testNHICode",
        "path": "MedicalClinicRecordModel.examiationInfo.testNHICode",
        "short": "健保檢驗檢查代碼",
        "definition": "健保檢驗檢查代碼",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.testNHICode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.code.coding.code(健保檢驗檢查代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testName",
        "path": "MedicalClinicRecordModel.examiationInfo.testName",
        "short": "檢驗檢查名稱",
        "definition": "檢驗檢查名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.testName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.code.coding.display(檢驗檢查名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testResult",
        "path": "MedicalClinicRecordModel.examiationInfo.testResult",
        "short": "檢驗檢查結果值",
        "definition": "檢驗檢查結果值",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.testResult",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.valueQuantity.value(檢驗檢查結果值)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultUnit",
        "path": "MedicalClinicRecordModel.examiationInfo.resultUnit",
        "short": "檢驗檢查結果單位",
        "definition": "檢驗檢查結果單位",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.resultUnit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.valueQuantity.unit(檢驗檢查結果單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultFlag",
        "path": "MedicalClinicRecordModel.examiationInfo.resultFlag",
        "short": "檢驗檢查結果判斷註記",
        "definition": "檢驗檢查結果判斷註記",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.resultFlag",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.interpretation(檢驗檢查結果判斷註記)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultComment",
        "path": "MedicalClinicRecordModel.examiationInfo.resultComment",
        "short": "檢驗檢查結果備註說明",
        "definition": "檢驗檢查結果備註說明",
        "min": 0,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.examiationInfo.resultComment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.note(檢驗檢查結果備註說明)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo",
        "path": "MedicalClinicRecordModel.imageInfo",
        "short": "圖檔報告內容",
        "definition": "圖檔報告內容",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.imageInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(圖檔報告內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.id",
        "path": "MedicalClinicRecordModel.imageInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.extension",
        "path": "MedicalClinicRecordModel.imageInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.imageInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.imageFileName",
        "path": "MedicalClinicRecordModel.imageInfo.imageFileName",
        "short": "圖檔報告名稱",
        "definition": "圖檔報告名稱",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.imageInfo.imageFileName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment.title(圖檔報告名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.imageContent",
        "path": "MedicalClinicRecordModel.imageInfo.imageContent",
        "short": "圖檔報告內容",
        "definition": "圖檔報告內容",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.imageInfo.imageContent",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment(圖檔報告內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo",
        "path": "MedicalClinicRecordModel.referenceInfo",
        "short": "參考附件資料內容",
        "definition": "參考附件資料內容",
        "min": 0,
        "max": "*",
        "base": {
          "path": "MedicalClinicRecordModel.referenceInfo",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(參考附件資料內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.id",
        "path": "MedicalClinicRecordModel.referenceInfo.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.extension",
        "path": "MedicalClinicRecordModel.referenceInfo.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.modifierExtension",
        "path": "MedicalClinicRecordModel.referenceInfo.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.referenceDocFileName",
        "path": "MedicalClinicRecordModel.referenceInfo.referenceDocFileName",
        "short": "附件檔名",
        "definition": "附件檔名",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.referenceInfo.referenceDocFileName",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment.title(附件檔名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.referenceDocContent",
        "path": "MedicalClinicRecordModel.referenceInfo.referenceDocContent",
        "short": "附件內容",
        "definition": "附件內容",
        "min": 1,
        "max": "1",
        "base": {
          "path": "MedicalClinicRecordModel.referenceInfo.referenceDocContent",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment(附件內容)"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "MedicalClinicRecordModel",
        "path": "MedicalClinicRecordModel",
        "short": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
        "definition": "西醫診所門診病摘(MedicalClinicRecord)之資料模型",
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "BundleMCR"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo",
        "path": "MedicalClinicRecordModel.documentInfo",
        "short": "病歷文件資料",
        "definition": "病歷文件資料",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷文件資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hisdocPK",
        "path": "MedicalClinicRecordModel.documentInfo.hisdocPK",
        "short": "HIS病歷唯一碼",
        "definition": "HIS病歷唯一碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "BundleMCR.identifier(HIS病歷唯一碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hospitalId",
        "path": "MedicalClinicRecordModel.documentInfo.hospitalId",
        "short": "醫事機構代碼",
        "definition": "醫事機構代碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.identifier(醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.hospitalName",
        "path": "MedicalClinicRecordModel.documentInfo.hospitalName",
        "short": "醫事機構名稱",
        "definition": "醫事機構名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.name(醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo",
        "short": "病歷表單資料",
        "definition": "病歷表單資料",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷表單資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetId",
        "short": "病歷表單編號",
        "definition": "病歷表單編號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.identifier(病歷表單編號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetName",
        "short": "病歷表單名稱",
        "definition": "病歷表單名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.title(病歷表單名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion",
        "path": "MedicalClinicRecordModel.documentInfo.sheetInfo.sheetVersion",
        "short": "病歷表單版本",
        "definition": "病歷表單版本",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.meta.versionId(病歷表單版本)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo",
        "short": "病歷文件資料",
        "definition": "病歷文件資料",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病歷文件資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.docConfidentialityCode",
        "short": "文件敏感性",
        "definition": "文件敏感性",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.confidentiality(文件敏感性)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.documentInfo.docInfo.createTime",
        "path": "MedicalClinicRecordModel.documentInfo.docInfo.createTime",
        "short": "文件產生時間",
        "definition": "文件產生時間",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CompositionMCR.date(文件產生時間)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo",
        "path": "MedicalClinicRecordModel.patientInfo",
        "short": "病人基本資料",
        "definition": "病人基本資料",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人基本資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.chatNo",
        "path": "MedicalClinicRecordModel.patientInfo.chatNo",
        "short": "病歷號",
        "definition": "病歷號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.identifier:medicalRecord(病歷號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.patientName",
        "path": "MedicalClinicRecordModel.patientInfo.patientName",
        "short": "病人姓名",
        "definition": "病人姓名",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.name(病人姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.birthDate",
        "path": "MedicalClinicRecordModel.patientInfo.birthDate",
        "short": "出生日期",
        "definition": "出生日期",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.birthDate(出生日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.visitIdentity",
        "path": "MedicalClinicRecordModel.patientInfo.visitIdentity",
        "short": "就醫身份",
        "definition": "就醫身份",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.extension:medicalIdentity.valueCodeableConcept(就醫身份)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.gender",
        "path": "MedicalClinicRecordModel.patientInfo.gender",
        "short": "性別",
        "definition": "性別",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.gender(性別)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.personalIDNumber",
        "path": "MedicalClinicRecordModel.patientInfo.personalIDNumber",
        "short": "身分證號",
        "definition": "身分證號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.identifier:idCardNumber(身分證號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo",
        "short": "聯絡資訊",
        "definition": "聯絡資訊",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(聯絡資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.homeTel",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.homeTel",
        "short": "住宅電話",
        "definition": "住宅電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='home')(住宅電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.officeTel",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.officeTel",
        "short": "公司電話",
        "definition": "公司電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='work')(公司電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.contactInfo.mobile",
        "path": "MedicalClinicRecordModel.patientInfo.contactInfo.mobile",
        "short": "行動電話",
        "definition": "行動電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system='phone' and use='mobile')(行動電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.bloodtype",
        "path": "MedicalClinicRecordModel.patientInfo.bloodtype",
        "short": "自述血型",
        "definition": "自述血型",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationBloodtypeClinEMR.where(code='883-9').valueCodeableConcept(自述血型)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.marriageStatus",
        "path": "MedicalClinicRecordModel.patientInfo.marriageStatus",
        "short": "婚姻",
        "definition": "婚姻",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.maritalStatus(婚姻)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.occupation",
        "path": "MedicalClinicRecordModel.patientInfo.occupation",
        "short": "職業",
        "definition": "職業",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationOccupationClinEMR.where(code='11341-5').valueCodeableConcept(職業)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo",
        "short": "病人相關住址",
        "definition": "病人相關住址",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人相關住址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo",
        "short": "病人戶籍地址資料",
        "definition": "病人戶籍地址資料",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人戶籍地址資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddressZipCode",
        "short": "病人戶籍地址郵遞區號",
        "definition": "病人戶籍地址郵遞區號",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:home.postalCode.extension:tw-postal-code.valueCodeableConcept.coding.code(病人戶籍地址郵遞區號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.originalAddressInfo.originalAddresLocation",
        "short": "病人戶籍地址",
        "definition": "病人戶籍地址",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:home(病人戶籍地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo",
        "short": "病人聯絡地址資料",
        "definition": "病人聯絡地址資料",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人聯絡地址資料)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressZipCode",
        "short": "病人聯絡地址郵遞區號",
        "definition": "病人聯絡地址郵遞區號",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:billing.postalCode.extension:tw-postal-code.valueCodeableConcept.coding.code(病人聯絡地址郵遞區號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation",
        "path": "MedicalClinicRecordModel.patientInfo.addressInfo.contactAddressInfo.contactAddressLocation",
        "short": "病人聯絡地址",
        "definition": "病人聯絡地址",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.address:billing(病人聯絡地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.email",
        "path": "MedicalClinicRecordModel.patientInfo.email",
        "short": "病人電子郵件地址",
        "definition": "病人電子郵件地址",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.telecom.where(system ='email')(病人電子郵件地址)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.history",
        "path": "MedicalClinicRecordModel.patientInfo.history",
        "short": "過去病史",
        "definition": "過去病史",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionPastMedicalHistoryClinEMR.code(過去病史)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.allergy",
        "path": "MedicalClinicRecordModel.patientInfo.allergy",
        "short": "過敏記錄",
        "definition": "過敏記錄",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:AllergyIntoleranceClinEMR.code.text(過敏記錄)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo",
        "short": "緊急聯絡人相關資訊",
        "definition": "緊急聯絡人相關資訊",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(緊急聯絡人相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emName",
        "short": "緊急聯絡人姓名",
        "definition": "緊急聯絡人姓名",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.name(緊急聯絡人姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emrelationshp",
        "short": "緊急聯絡人與病人關係",
        "definition": "緊急聯絡人與病人關係",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.relationship.coding.code(緊急聯絡人與病人關係)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay",
        "short": "緊急聯絡人聯絡方式",
        "definition": "緊急聯絡人聯絡方式",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(緊急聯絡人聯絡方式)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emHomeTel",
        "short": "緊急聯絡人住宅電話",
        "definition": "緊急聯絡人住宅電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='home')(緊急聯絡人住宅電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emOfficeTel",
        "short": "緊急聯絡人公司電話",
        "definition": "緊急聯絡人公司電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='work')(緊急聯絡人公司電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile",
        "path": "MedicalClinicRecordModel.patientInfo.emergencyContactInfo.emergencyContactWay.emMobile",
        "short": "緊急聯絡人行動電話",
        "definition": "緊急聯絡人行動電話",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.contact.telecom.where(system='phone' and use='mobile')(緊急聯絡人行動電話)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.childNumber",
        "path": "MedicalClinicRecordModel.patientInfo.childNumber",
        "short": "病人子女數",
        "definition": "病人子女數",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "integer"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:PatientClinEMR.extension:childnumber.valueInteger(病人子女數)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.patientInfo.education",
        "path": "MedicalClinicRecordModel.patientInfo.education",
        "short": "病人教育程度",
        "definition": "病人教育程度",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationEducationLevelClinEMR.where(code='82589-3').valueCodeableConcept(病人教育程度)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter",
        "path": "MedicalClinicRecordModel.encounter",
        "short": "病人當次看診之相關資訊",
        "definition": "病人當次看診之相關資訊",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人當次看診之相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.visitDate",
        "path": "MedicalClinicRecordModel.encounter.visitDate",
        "short": "掛號(報到)日期時間",
        "definition": "掛號(報到)日期時間",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.period.start(掛號(報到)日期時間)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.visitSeq",
        "path": "MedicalClinicRecordModel.encounter.visitSeq",
        "short": "掛號序號",
        "definition": "掛號序號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.identifier(掛號序號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.department",
        "path": "MedicalClinicRecordModel.encounter.department",
        "short": "看診科別",
        "definition": "看診科別",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.serviceType(看診科別)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorId",
        "path": "MedicalClinicRecordModel.encounter.doctorId",
        "short": "看診醫師身分證號",
        "definition": "看診醫師身分證號",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.participant.individual.Reference(PractitionerClinEMR).identifier:idCardNumber(看診醫師身分證號)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorName",
        "path": "MedicalClinicRecordModel.encounter.doctorName",
        "short": "看診醫師姓名",
        "definition": "看診醫師姓名",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:EncounterClinEMR.participant.individual.Reference(PractitionerClinEMR).name(看診醫師姓名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure",
        "short": "病人血壓",
        "definition": "病人血壓",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(病人血壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.systolicPressure",
        "short": "收縮壓",
        "definition": "收縮壓",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBloodPressureClinEMR).component.where(code='8480-6').valueQuantity(收縮壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure",
        "path": "MedicalClinicRecordModel.encounter.patientBloodPressure.diastoicPressure",
        "short": "舒張壓",
        "definition": "舒張壓",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBloodPressureClinEMR).component.where(code='8462-4').valueQuantity(舒張壓)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.pulse",
        "path": "MedicalClinicRecordModel.encounter.pulse",
        "short": "病人脈搏",
        "definition": "病人脈搏",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationHeartRateClinEMR).where(code='8867-4').valueQuantity(病人脈搏)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.height",
        "path": "MedicalClinicRecordModel.encounter.height",
        "short": "病人身高",
        "definition": "病人身高",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyHeightClinEMR).where(code='8302-2').valueQuantity.value(病人身高)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.heightUnit",
        "path": "MedicalClinicRecordModel.encounter.heightUnit",
        "short": "病人身高單位",
        "definition": "病人身高單位",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyHeightClinEMR).where(code='8302-2').valueQuantity.code(病人身高單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.weight",
        "path": "MedicalClinicRecordModel.encounter.weight",
        "short": "病人體重",
        "definition": "病人體重",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyWeightClinEMR).where(code='29463-7').valueQuantity.value(病人體重)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.weightUnit",
        "path": "MedicalClinicRecordModel.encounter.weightUnit",
        "short": "病人體重單位",
        "definition": "病人體重單位",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyWeightClinEMR).where(code='29463-7').valueQuantity.code(病人體重單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.bodytemperature",
        "path": "MedicalClinicRecordModel.encounter.bodytemperature",
        "short": "病人體溫",
        "definition": "病人體溫",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationVitalSignClinEMR.hasMember.Reference(ObservationBodyTempClinEMR).where(code='8310-5').valueQuantity(病人體溫)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.chiefComplain",
        "path": "MedicalClinicRecordModel.encounter.chiefComplain",
        "short": "病人主訴",
        "definition": "病人主訴",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionChiefComplaintClinEMR.note(病人主訴)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo",
        "short": "重大傷病相關資訊",
        "definition": "重大傷病相關資訊",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(重大傷病相關資訊)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryFlag",
        "short": "重大傷病註記",
        "definition": "重大傷病註記",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationMajorIllnessClinEMR.where(code='11338-1').valueBoolean(重大傷病註記)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent",
        "short": "重大傷病代碼與病名",
        "definition": "重大傷病代碼與病名",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(重大傷病代碼與病名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryCode",
        "short": "重大傷病代碼",
        "definition": "重大傷病代碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionMajorIllnessClinEMR.code.coding.code(重大傷病代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName",
        "path": "MedicalClinicRecordModel.encounter.majorInjuryInfo.majorInjuryContent.majorInjuryName",
        "short": "重大傷病名稱",
        "definition": "重大傷病名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionMajorIllnessClinEMR.code.coding.display(重大傷病名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent",
        "short": "診斷代碼與名稱",
        "definition": "診斷代碼與名稱",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(診斷代碼與名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.diagcode",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagcode",
        "short": "診斷代碼",
        "definition": "診斷代碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionDiagnosisClinEMR.code.coding.code(診斷代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.diagnosisContent.diagName",
        "path": "MedicalClinicRecordModel.encounter.diagnosisContent.diagName",
        "short": "診斷名稱",
        "definition": "診斷名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ConditionDiagnosisClinEMR.code.coding.display(診斷名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo",
        "short": "處置相關內容",
        "definition": "處置相關內容",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(處置相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentRegionNHICode",
        "short": "處置部位代碼",
        "definition": "處置部位代碼",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.bodySite.coding.code(處置部位代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentNHICCode",
        "short": "處置健保碼",
        "definition": "處置健保碼",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.code.coding.code(處置健保碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentHospCode",
        "short": "處置院內碼",
        "definition": "處置院內碼",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.identifier.value(處置院內碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDescription",
        "short": "處置說明",
        "definition": "處置說明",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.code.coding.display(處置說明)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose",
        "path": "MedicalClinicRecordModel.encounter.treatmenInfo.treatmentDose",
        "short": "處置劑量",
        "definition": "處置劑量",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ProcedureMCR.usedReference(處置劑量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.encounter.doctorAdvise",
        "path": "MedicalClinicRecordModel.encounter.doctorAdvise",
        "short": "醫師囑咐",
        "definition": "醫師囑咐",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:CarePlanClinEMR.note(醫師囑咐)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo",
        "path": "MedicalClinicRecordModel.drugInfo",
        "short": "用藥紀錄相關內容",
        "definition": "用藥紀錄相關內容",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(用藥紀錄相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugNHICCode",
        "path": "MedicalClinicRecordModel.drugInfo.drugNHICCode",
        "short": "藥品健保碼",
        "definition": "藥品健保碼",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.where(system='https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-nhi-tw').code(藥品健保碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugCode",
        "path": "MedicalClinicRecordModel.drugInfo.drugCode",
        "short": "藥品藥品碼",
        "definition": "藥品藥品碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.code(藥品藥品碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugName",
        "path": "MedicalClinicRecordModel.drugInfo.drugName",
        "short": "藥品商品名",
        "definition": "藥品商品名",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationClinEMR.code.coding.display(藥品商品名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.dose",
        "path": "MedicalClinicRecordModel.drugInfo.dose",
        "short": "用量",
        "definition": "用量",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.doseAndRate.doseQuantity.value(用量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.doseUnit",
        "path": "MedicalClinicRecordModel.drugInfo.doseUnit",
        "short": "用量單位",
        "definition": "用量單位",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.doseAndRate.doseQuantity.unit(用量單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.route",
        "path": "MedicalClinicRecordModel.drugInfo.route",
        "short": "藥品服用方法",
        "definition": "藥品服用方法",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.route(藥品服用方法)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.frequency",
        "path": "MedicalClinicRecordModel.drugInfo.frequency",
        "short": "藥品的使用頻率",
        "definition": "藥品的使用頻率",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.code(藥品的使用頻率)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugStartDate",
        "path": "MedicalClinicRecordModel.drugInfo.drugStartDate",
        "short": "用藥開始日期",
        "definition": "用藥開始日期",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.boundsPeriod.start(用藥開始日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugEndDate",
        "path": "MedicalClinicRecordModel.drugInfo.drugEndDate",
        "short": "用藥結束日期",
        "definition": "用藥結束日期",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.boundsPeriod.end(用藥結束日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.days",
        "path": "MedicalClinicRecordModel.drugInfo.days",
        "short": "服藥天數",
        "definition": "服藥天數",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.timing.repeat.duration(服藥天數)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.totalAmount",
        "path": "MedicalClinicRecordModel.drugInfo.totalAmount",
        "short": "藥品總劑量",
        "definition": "藥品總劑量",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dispenseRequest.quantity.value(藥品總劑量)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.prescriptionMethod",
        "path": "MedicalClinicRecordModel.drugInfo.prescriptionMethod",
        "short": "藥品調劑方式",
        "definition": "藥品調劑方式",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.note.text(藥品調劑方式)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.drugInfo.drugUseRegion",
        "path": "MedicalClinicRecordModel.drugInfo.drugUseRegion",
        "short": "藥品使用部位",
        "definition": "藥品使用部位",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:MedicationRequestClinEMR.dosageInstruction.site(藥品使用部位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo",
        "path": "MedicalClinicRecordModel.examiationInfo",
        "short": "檢驗檢查相關內容",
        "definition": "檢驗檢查相關內容",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(檢驗檢查相關內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examOrderDate",
        "path": "MedicalClinicRecordModel.examiationInfo.examOrderDate",
        "short": "檢驗檢查開單日期",
        "definition": "檢驗檢查開單日期",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ServiceRequestClinEMR.occurrenceDateTime(檢驗檢查開單日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.orderHospitalID",
        "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalID",
        "short": "檢驗檢查開單醫事機構代碼",
        "definition": "檢驗檢查開單醫事機構代碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.identifier.value(檢驗檢查開單醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.orderHospitalName",
        "path": "MedicalClinicRecordModel.examiationInfo.orderHospitalName",
        "short": "檢驗檢查開單醫事機構名稱",
        "definition": "檢驗檢查開單醫事機構名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationClinEMR.name(檢驗檢查開單醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examHospitalID",
        "path": "MedicalClinicRecordModel.examiationInfo.examHospitalID",
        "short": "檢驗檢查執行醫事機構代碼",
        "definition": "檢驗檢查執行醫事機構代碼",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationInspectionClinEMR.identifier.value(檢驗檢查執行醫事機構代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examHospitalName",
        "path": "MedicalClinicRecordModel.examiationInfo.examHospitalName",
        "short": "檢驗檢查執行醫事機構名稱",
        "definition": "檢驗檢查執行醫事機構名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:OrganizationInspectionClinEMR.name(檢驗檢查執行醫事機構名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.examDate",
        "path": "MedicalClinicRecordModel.examiationInfo.examDate",
        "short": "檢查日期",
        "definition": "檢查日期",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.effectiveDateTime(檢查日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.verifyDate",
        "path": "MedicalClinicRecordModel.examiationInfo.verifyDate",
        "short": "報告日期",
        "definition": "報告日期",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DiagnosticReportClinEMR.effectiveDateTime(報告日期)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testNHICode",
        "path": "MedicalClinicRecordModel.examiationInfo.testNHICode",
        "short": "健保檢驗檢查代碼",
        "definition": "健保檢驗檢查代碼",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.code.coding.code(健保檢驗檢查代碼)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testName",
        "path": "MedicalClinicRecordModel.examiationInfo.testName",
        "short": "檢驗檢查名稱",
        "definition": "檢驗檢查名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.code.coding.display(檢驗檢查名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.testResult",
        "path": "MedicalClinicRecordModel.examiationInfo.testResult",
        "short": "檢驗檢查結果值",
        "definition": "檢驗檢查結果值",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.valueQuantity.value(檢驗檢查結果值)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultUnit",
        "path": "MedicalClinicRecordModel.examiationInfo.resultUnit",
        "short": "檢驗檢查結果單位",
        "definition": "檢驗檢查結果單位",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.valueQuantity.unit(檢驗檢查結果單位)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultFlag",
        "path": "MedicalClinicRecordModel.examiationInfo.resultFlag",
        "short": "檢驗檢查結果判斷註記",
        "definition": "檢驗檢查結果判斷註記",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.interpretation(檢驗檢查結果判斷註記)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.examiationInfo.resultComment",
        "path": "MedicalClinicRecordModel.examiationInfo.resultComment",
        "short": "檢驗檢查結果備註說明",
        "definition": "檢驗檢查結果備註說明",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Annotation"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:ObservationClinEMR.note(檢驗檢查結果備註說明)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo",
        "path": "MedicalClinicRecordModel.imageInfo",
        "short": "圖檔報告內容",
        "definition": "圖檔報告內容",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(圖檔報告內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.imageFileName",
        "path": "MedicalClinicRecordModel.imageInfo.imageFileName",
        "short": "圖檔報告名稱",
        "definition": "圖檔報告名稱",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment.title(圖檔報告名稱)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.imageInfo.imageContent",
        "path": "MedicalClinicRecordModel.imageInfo.imageContent",
        "short": "圖檔報告內容",
        "definition": "圖檔報告內容",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment(圖檔報告內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo",
        "path": "MedicalClinicRecordModel.referenceInfo",
        "short": "參考附件資料內容",
        "definition": "參考附件資料內容",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "(參考附件資料內容)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.referenceDocFileName",
        "path": "MedicalClinicRecordModel.referenceInfo.referenceDocFileName",
        "short": "附件檔名",
        "definition": "附件檔名",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment.title(附件檔名)"
          }
        ]
      },
      {
        "id": "MedicalClinicRecordModel.referenceInfo.referenceDocContent",
        "path": "MedicalClinicRecordModel.referenceInfo.referenceDocContent",
        "short": "附件內容",
        "definition": "附件內容",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          }
        ],
        "mapping": [
          {
            "identity": "MedicalClinicRecord",
            "map": "entry:DocumentReferenceClinEMR.content.attachment(附件內容)"
          }
        ]
      }
    ]
  }
}