PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.pas@1.0.1
    https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ApplyModel
{
  "description": "申請(Apply)癌症用藥癌藥事前審查之資料模型,此邏輯模型為定義癌症用藥事前審查情境下使用的所有資料欄位。  \\r\\n為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合[視覺化邏輯模型圖](vision.html#bundle%E6%9E%B6%E6%A7%8B%E5%9C%96)進行欄位對應",
  "_filename": "StructureDefinition-ApplyModel.json",
  "package_name": "tw.gov.mohw.nhi.pas",
  "date": "2024-12-12T17:02:42+08:00",
  "derivation": "specialization",
  "publisher": "衛生福利部中央健康保險署",
  "fhirVersion": "4.0.1",
  "name": "ApplyModel",
  "mapping": [ {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Claim-twpas",
    "name": "Mapping to TWPAS Claim",
    "identity": "TWPASClaim"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Organization-twpas",
    "name": "Mapping to TWPAS Organization",
    "identity": "TWPASOrganization"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Encounter-twpas",
    "name": "Mapping to TWPAS Encounter",
    "identity": "TWPASEncounter"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Patient-twpas",
    "name": "Mapping to TWPAS Patient",
    "identity": "TWPASPatient"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-image-twpas",
    "name": "Mapping to TWPAS DiagnosticReportImage",
    "identity": "TWPASDiagnosticReportImage"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ImagingStudy-twpas",
    "name": "Mapping to TWPAS ImagingStudy",
    "identity": "TWPASImagingStudy"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Media-twpas",
    "name": "Mapping to TWPAS Media",
    "identity": "TWPASMedia"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-cancer-stage-twpas",
    "name": "Mapping to TWPAS ObservationCancerStage",
    "identity": "TWPASObservationCancerStage"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DiagnosticReport-twpas",
    "name": "Mapping to TWPAS DiagnosticReport",
    "identity": "TWPASDiagnosticReport"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-diagnostic-twpas",
    "name": "Mapping to TWPAS ObservationDiagnostic",
    "identity": "TWPASObservationDiagnostic"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-laboratory-result-twpas",
    "name": "Mapping to TWPAS ObservationLaboratoryResult",
    "identity": "TWPASObservationLaboratoryResult"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-pat-assessment-twpas",
    "name": "Mapping to TWPAS ObservationPatientAssessment",
    "identity": "TWPASObservationPatientAssessment"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/MedicationRequest-treat-twpas",
    "name": "Mapping to TWPAS MedicationRequestTreatTWPAS",
    "identity": "TWPASMedicationRequestTreat"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Procedure-twpas",
    "name": "Mapping to TWPAS Procedure",
    "identity": "TWPASProcedure"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Substance-twpas",
    "name": "Mapping to TWPAS Substance",
    "identity": "TWPASSubstance"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/DocumentReference-twpas",
    "name": "Mapping to TWPAS DocumentReference",
    "identity": "TWPASDocumentReference"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Observation-tx-assessment-twpas",
    "name": "Mapping to TWPAS ObservationTreatmentAssessment",
    "identity": "TWPASObservationTreatmentAssessment"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/MedicationRequest-apply-twpas",
    "name": "Mapping to TWPAS MedicationRequestApply",
    "identity": "TWPASMedicationRequestApply"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ClaimResponse-self-assessment-twpas",
    "name": "Mapping to TWPAS ClaimResponse Self Assessment",
    "identity": "TWPASClaimResponseSelfAssessment"
  }, {
    "uri": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/Practitioner-twpas",
    "name": "Mapping to TWPAS Practitioner",
    "identity": "TWPASPractitioner"
  } ],
  "abstract": false,
  "type": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ApplyModel",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "申請(Apply)癌症用藥癌藥事前審查之資料模型",
  "package_version": "1.0.1",
  "snapshot": {
    "element": [ {
      "id": "ApplyModel",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      },
      "path": "ApplyModel",
      "short": "申請(Apply)癌症用藥癌藥事前審查之資料模型",
      "definition": "申請(Apply)癌症用藥癌藥事前審查之資料模型,此邏輯模型為定義癌症用藥事前審查情境下使用的所有資料欄位。  \r\n為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合[視覺化邏輯模型圖](vision.html#bundle%E6%9E%B6%E6%A7%8B%E5%9C%96)進行欄位對應",
      "isModifier": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.hosp",
      "min": 1,
      "definition": "院所資訊",
      "short": "院所資訊",
      "mapping": [ {
        "map": "(院所資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASOrganization"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASEncounter"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp"
      }
    }, {
      "path": "ApplyModel.hosp.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.hosp.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.hosp.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.hosp.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.hosp.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.hosp.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.hosp.hospId",
      "min": 1,
      "definition": "醫事機構代碼,必須存在於醫事機構基本資料檔內",
      "short": "醫事機構代碼,必須存在於醫事機構基本資料檔內",
      "mapping": [ {
        "map": "provider.reference(OrganizationTWPAS) (醫事機構代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.value (醫事機構代碼)",
        "identity": "TWPASOrganization"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.hospId",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp.hospId"
      }
    }, {
      "path": "ApplyModel.hosp.applType",
      "min": 1,
      "definition": "申報類別",
      "short": "申報類別",
      "mapping": [ {
        "map": "subType.coding.code (申報類別)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.applType",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp.applType"
      }
    }, {
      "path": "ApplyModel.hosp.funcType",
      "min": 1,
      "definition": "就醫科別",
      "short": "就醫科別",
      "mapping": [ {
        "map": "extension.where(url = 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter').valueReference.reference(EncounterTWPAS) (就醫科別)",
        "identity": "TWPASClaim"
      }, {
        "map": "serviceType.coding.code (就醫科別)",
        "identity": "TWPASEncounter"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.funcType",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp.funcType"
      }
    }, {
      "path": "ApplyModel.hosp.applPrsnId",
      "min": 1,
      "definition": "申請醫師身分證號",
      "short": "申請醫師身分證號",
      "mapping": [ {
        "map": "enterer.reference(PractitionerTWPAS) (申請醫師身分證號)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.value (申請醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.applPrsnId",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp.applPrsnId"
      }
    }, {
      "path": "ApplyModel.hosp.applDate",
      "min": 1,
      "definition": "申請日期,機構自填",
      "short": "申請日期,機構自填",
      "mapping": [ {
        "map": "created (申請日期)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.applDate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.hosp.applDate"
      }
    }, {
      "id": "ApplyModel.hosp.immediateDate",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.hosp.immediateDate"
      },
      "path": "ApplyModel.hosp.immediateDate",
      "type": [ {
        "code": "instant"
      } ],
      "short": "緊急報備日期,機構自填",
      "definition": "緊急報備日期,機構自填"
    }, {
      "path": "ApplyModel.hosp.tmhbType",
      "min": 0,
      "definition": "申請案件類型",
      "short": "申請案件類型",
      "mapping": [ {
        "map": "priority.coding.code (申請案件類型)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.tmhbType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.hosp.tmhbType"
      }
    }, {
      "path": "ApplyModel.hosp.oldAcptNo",
      "min": 0,
      "definition": "原受理編號",
      "short": "原受理編號",
      "mapping": [ {
        "map": "identifier.value (原受理編號)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.hosp.oldAcptNo",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.hosp.oldAcptNo"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.patient",
      "min": 1,
      "definition": "病人資訊",
      "short": "病人資訊",
      "mapping": [ {
        "map": "(病人資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(病人資訊)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.patient",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient"
      }
    }, {
      "path": "ApplyModel.patient.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.patient.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.patient.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.patient.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.patient.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.patient.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.patient.name",
      "min": 1,
      "definition": "姓名",
      "short": "姓名",
      "mapping": [ {
        "map": "name.text (姓名)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "HumanName"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.name",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.name"
      }
    }, {
      "path": "ApplyModel.patient.idCard",
      "min": 1,
      "definition": "身分證字號",
      "short": "身分證字號",
      "mapping": [ {
        "map": "patient.reference(PatientTWPAS) (身分證字號)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.where(type.coding.code = 'NNxxx').value (身分證字號)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.idCard",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.idCard"
      }
    }, {
      "path": "ApplyModel.patient.patId",
      "min": 0,
      "definition": "病歷號 (參與醫院必須註冊命名系統)",
      "short": "病歷號",
      "mapping": [ {
        "map": "identifier.where(type.coding.code = 'MR').value (病歷號)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.patId",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.patient.patId"
      }
    }, {
      "path": "ApplyModel.patient.birthday",
      "min": 1,
      "definition": "出生日期",
      "short": "出生日期",
      "mapping": [ {
        "map": "birthDate (出生日期)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.birthday",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.birthday"
      }
    }, {
      "path": "ApplyModel.patient.gender",
      "min": 1,
      "definition": "病人性別",
      "short": "病人性別",
      "mapping": [ {
        "map": "gender (病人性別)",
        "identity": "TWPASPatient"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.gender",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.gender"
      }
    }, {
      "path": "ApplyModel.patient.weight",
      "min": 1,
      "definition": "病人體重",
      "short": "病人體重",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'weight').valueQuantity.value (病人體重)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.weight",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.weight"
      }
    }, {
      "path": "ApplyModel.patient.height",
      "min": 1,
      "definition": "病人身高",
      "short": "病人身高",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'height').valueQuantity.value (病人身高)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.height",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.patient.height"
      }
    }, {
      "path": "ApplyModel.patient.pregnant",
      "min": 0,
      "definition": "是否懷孕或哺乳",
      "short": "是否懷孕或哺乳",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'pregnancyBreastfeedingStatus').valueBoolean (是否懷孕或哺乳)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "boolean"
      } ],
      "max": "1",
      "id": "ApplyModel.patient.pregnant",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.patient.pregnant"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.diagnosis",
      "min": 1,
      "definition": "疾病資訊",
      "short": "疾病資訊",
      "mapping": [ {
        "map": "(疾病資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASMedia"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis"
      }
    }, {
      "path": "ApplyModel.diagnosis.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.diagnosis.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.diagnosis.icd10cmCode",
      "min": 1,
      "definition": "國際疾病分類代碼 (sequence=1),共病症 (sequence>=2)",
      "short": "國際疾病分類代碼 (sequence=1),共病症 (sequence>=2)",
      "mapping": [ {
        "map": "diagnosis.diagnosisCodeableConcept.coding.code (國際疾病分類代碼)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.icd10cmCode",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.icd10cmCode"
      }
    }, {
      "path": "ApplyModel.diagnosis.diagDate",
      "min": 0,
      "definition": "YYYYMMDD,西元年月日,民國前為負數,sequence=1時為必填",
      "short": "診斷日期,sequence=1必填",
      "mapping": [ {
        "map": "diagnosis.extension.where(url = 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate').valueDate (診斷日期)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.diagDate",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.diagDate"
      }
    }, {
      "path": "ApplyModel.diagnosis.diagCurrentStatus",
      "min": 1,
      "definition": "簡要病摘。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。",
      "short": "簡要病摘。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。",
      "mapping": [ {
        "map": "diagnosis.type.text (簡要病摘)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.diagCurrentStatus",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.diagCurrentStatus"
      }
    }, {
      "path": "ApplyModel.diagnosis.medrec",
      "min": 1,
      "definition": "病歷資料(非屬影像報告檢查驗報告部分)",
      "short": "病歷資料(非屬影像報告檢查驗報告部分)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'medicalRecord').valueReference.reference(DocumentReferenceTWPAS) (病歷資料)",
        "identity": "TWPASClaim"
      }, {
        "map": "content.attachment.url (病歷資料(非屬影像報告檢查驗報告部分))",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.medrec",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.medrec"
      }
    }, {
      "path": "ApplyModel.diagnosis.medrecTitle",
      "min": 1,
      "definition": "病歷資料名稱",
      "short": "病歷資料名稱",
      "mapping": [ {
        "map": "content.attachment.title (病歷資料名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.medrecTitle",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.medrecTitle"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.diagnosis.imageStudy",
      "min": 0,
      "definition": "影像報告",
      "short": "影像報告",
      "mapping": [ {
        "map": "(影像報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASMedia"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.imageStudy"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.imageStudy.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.imageStudy.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.imageStudy.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.imageStudy.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgItem",
      "min": 0,
      "definition": "影像報告",
      "short": "影像報告",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'imagingReport').valueReference.reference(DiagnosticReportImageTWPAS) (影像報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (影像報告)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgItem",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.imageStudy.imgItem"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgResult",
      "min": 1,
      "definition": "影像報告結果",
      "short": "影像報告結果",
      "mapping": [ {
        "map": "conclusion (影像報告結果)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.imageStudy.imgResult",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.diagnosis.imageStudy.imgResult"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgBodySite",
      "min": 0,
      "definition": "影像檢查的身體部位",
      "short": "影像檢查的身體部位",
      "mapping": [ {
        "map": "code.text (影像檢查的身體部位)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "series.bodySite.code (影像檢查的身體部位)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "bodySite.coding.code (影像檢查的身體部位)",
        "identity": "TWPASMedia"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgBodySite",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.imageStudy.imgBodySite"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgDate",
      "min": 1,
      "definition": "影像報告日期",
      "short": "影像報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (影像報告日期)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgDate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.imageStudy.imgDate"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgDicom",
      "min": 0,
      "definition": "DICOM影像",
      "short": "DICOM影像",
      "mapping": [ {
        "map": "imagingStudy.reference(ImagingStudyTWPAS) (DICOM影像)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "series.instance.uid (DICOM影像)",
        "identity": "TWPASImagingStudy"
      } ],
      "type": [ {
        "code": "url"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgDicom",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.imageStudy.imgDicom"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgNonDicom",
      "min": 0,
      "definition": "非DICOM影像",
      "short": "非DICOM影像",
      "mapping": [ {
        "map": "media.link.reference(MediaTWPAS) (非DICOM影像)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "contnet.url (非DICOM影像)",
        "identity": "TWPASMedia"
      } ],
      "type": [ {
        "code": "url"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgNonDicom",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.imageStudy.imgNonDicom"
      }
    }, {
      "path": "ApplyModel.diagnosis.imageStudy.imgInterpreter",
      "min": 1,
      "definition": "簽發影像報告醫師身分證號",
      "short": "簽發影像報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (簽發影像報告醫師身分證號)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "identifier.value (簽發影像報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.imageStudy.imgInterpreter",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.diagnosis.imageStudy.imgInterpreter"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.diagnosis.cancerStage",
      "min": 0,
      "definition": "癌症分期量表",
      "short": "癌症分期量表",
      "mapping": [ {
        "map": "(癌症分期量表)",
        "identity": "TWPASClaim"
      }, {
        "map": "(癌症分期量表)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "(癌症分期量表)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.cancerStage",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.cancerStage"
      }
    }, {
      "path": "ApplyModel.diagnosis.cancerStage.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.diagnosis.cancerStage.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.cancerStage.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.cancerStage.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.cancerStage.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.cancerStage.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.diagnosis.cancerStage.assessItem",
      "min": 0,
      "definition": "癌症分期量表項目",
      "short": "癌症分期量表項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'cancerStage').valueReference.reference(ObservationCancerStageTWPAS) (癌症分期量表項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (癌症分期量表項目)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.cancerStage.assessItem",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.cancerStage.assessItem"
      }
    }, {
      "path": "ApplyModel.diagnosis.cancerStage.assessScore",
      "min": 0,
      "definition": "癌症分期分數或結果",
      "short": "癌症分期分數或結果",
      "mapping": [ {
        "map": "valueCodeableConcept.coding.code (癌症分期分數或結果)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.cancerStage.assessScore",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.cancerStage.assessScore"
      }
    }, {
      "path": "ApplyModel.diagnosis.cancerStage.assessDate",
      "min": 0,
      "definition": "癌症分期量表評估日期",
      "short": "癌症分期量表評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (癌症分期量表評估日期)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "type": [ {
        "code": "date"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.cancerStage.assessDate",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.cancerStage.assessDate"
      }
    }, {
      "path": "ApplyModel.diagnosis.cancerStage.assessPerformer",
      "min": 0,
      "definition": "簽發癌症分期報告醫師身分證號",
      "short": "簽發癌症分期報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (簽發癌症分期報告醫師身分證號)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "identifier.value (簽發癌症分期報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.cancerStage.assessPerformer",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.cancerStage.assessPerformer"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport",
      "min": 0,
      "definition": "檢查報告",
      "short": "檢查報告",
      "mapping": [ {
        "map": "(檢查報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "(檢查報告)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "(檢查報告)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportType",
      "min": 0,
      "definition": "報告類型",
      "short": "報告類型",
      "mapping": [ {
        "map": "code.coding.code (報告類型)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.reportType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportType"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.speType",
      "min": 0,
      "definition": "檢體種類",
      "short": "檢體種類",
      "mapping": [ {
        "map": "code.text (檢體種類)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.speType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.speType"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport.reportResult",
      "min": 0,
      "definition": "檢查報告結果",
      "short": "檢查報告結果",
      "mapping": [ {
        "map": "(檢查報告結果)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportResult"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultString",
      "min": 0,
      "definition": "檢查報告結果-文數字與base64Binary應擇一填寫",
      "short": "檢查報告結果(文數字)",
      "mapping": [ {
        "map": "conclusion (檢查報告結果(文數字))",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultString",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultString"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdf",
      "min": 0,
      "definition": "檢查報告結果-文數字與base64Binary應擇一填寫",
      "short": "檢查報告結果(檔案路徑)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'examinationReport').valueReference.reference(DiagnosticReportTWPAS) (檢查報告結果)",
        "identity": "TWPASClaim"
      }, {
        "map": "presentedForm.url (檢查報告結果(檔案路徑))",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdf",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdf"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle",
      "min": 0,
      "definition": "檢查報告名稱",
      "short": "檢查報告名稱",
      "mapping": [ {
        "map": "presentedForm.title (檢查報告名稱)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportDate",
      "min": 0,
      "definition": "報告日期",
      "short": "報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (報告日期)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.diagnosis.examinationReport.reportDate",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportDate"
      }
    }, {
      "path": "ApplyModel.diagnosis.examinationReport.reportPerformer",
      "min": 0,
      "definition": "檢查報告醫師身分證號",
      "short": "檢查報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (檢查報告醫師身分證號)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "identifier.value (檢查報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.diagnosis.examinationReport.reportPerformer",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.diagnosis.examinationReport.reportPerformer"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.gene",
      "min": 0,
      "definition": "基因資訊",
      "short": "基因資訊",
      "mapping": [ {
        "map": "(基因資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASOrganization"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASObservationDiagnostic"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.gene",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene"
      }
    }, {
      "path": "ApplyModel.gene.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.gene.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.gene.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.gene.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.gene.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.gene.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.gene.genTestCode",
      "min": 0,
      "definition": "基因檢測代碼",
      "short": "基因檢測代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'geneInfo').valueReference.reference(ObservationDiagnosticTWPAS) (基因檢測代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "component.code.coding.code (基因檢測代碼)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genTestCode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genTestCode"
      }
    }, {
      "path": "ApplyModel.gene.mutationType",
      "min": 0,
      "definition": "基因突變類型",
      "short": "基因突變類型",
      "mapping": [ {
        "map": "component.where(code.coding.code = '48019-4').valueCodeableConcept.coding.code (基因突變類型)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.mutationType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.mutationType"
      }
    }, {
      "path": "ApplyModel.gene.specimenType",
      "min": 0,
      "definition": "基因檢測檢體類型",
      "short": "基因檢測檢體類型",
      "mapping": [ {
        "map": "specimen.reference(SpecimenTWPAS) (基因檢測檢體類型)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.specimenType",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.specimenType"
      }
    }, {
      "path": "ApplyModel.gene.genMethod",
      "min": 0,
      "definition": "基因檢測方法",
      "short": "基因檢測方法",
      "mapping": [ {
        "map": "method.coding.code (基因檢測方法)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genMethod",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genMethod"
      }
    }, {
      "path": "ApplyModel.gene.genDate",
      "min": 0,
      "definition": "基因檢測日期",
      "short": "基因檢測日期",
      "mapping": [ {
        "map": "effectiveDateTime (基因檢測日期)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genDate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genDate"
      }
    }, {
      "path": "ApplyModel.gene.genOrg",
      "min": 0,
      "definition": "基因檢測機構",
      "short": "基因檢測機構",
      "mapping": [ {
        "map": "identifier.value (基因檢測機構)",
        "identity": "TWPASOrganization"
      }, {
        "map": "performer.reference(OrganizationTWPAS) (基因檢測機構)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genOrg",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genOrg"
      }
    }, {
      "path": "ApplyModel.gene.genResult",
      "min": 0,
      "definition": "基因檢測分析結果",
      "short": "基因檢測分析結果",
      "mapping": [ {
        "map": "valueCodeableConcept.coding.code (基因檢測分析結果)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genResult",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genResult"
      }
    }, {
      "path": "ApplyModel.gene.genInterpretation",
      "min": 0,
      "definition": "基因臨床判讀結果,醫師判讀結果",
      "short": "基因臨床判讀結果",
      "mapping": [ {
        "map": "interpretation.coding.code (基因臨床判讀結果)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genInterpretation",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genInterpretation"
      }
    }, {
      "path": "ApplyModel.gene.genPdf",
      "min": 0,
      "definition": "基因報告(檔案路徑)",
      "short": "基因報告(檔案路徑)",
      "mapping": [ {
        "map": "derivedFrom.reference(DocumentReferenceTWPAS) (基因報告(檔案路徑))",
        "identity": "TWPASObservationDiagnostic"
      }, {
        "map": "content.attachment.url (基因報告(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genPdf",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genPdf"
      }
    }, {
      "path": "ApplyModel.gene.genPdfTitle",
      "min": 0,
      "definition": "基因報告名稱",
      "short": "基因報告名稱",
      "mapping": [ {
        "map": "content.attachment.title (基因報告名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.gene.genPdfTitle",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.gene.genPdfTitle"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.evaluate",
      "min": 0,
      "definition": "評估資訊",
      "short": "評估資訊",
      "mapping": [ {
        "map": "(評估資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate"
      }
    }, {
      "path": "ApplyModel.evaluate.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.evaluate.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.evaluate.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.evaluate.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.evaluate.tests",
      "min": 0,
      "definition": "檢驗(查)",
      "short": "檢驗(查)",
      "mapping": [ {
        "map": "(檢驗(查))",
        "identity": "TWPASClaim"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.evaluate.tests.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.tests.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.tests.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.evaluate.tests.inspect",
      "min": 0,
      "definition": "檢驗(查)名稱或套組代碼",
      "short": "檢驗(查)名稱或套組代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'tests').valueReference.reference(ObservationLaboratoryResultTWPAS) (檢驗(查)名稱或套組代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (檢驗(查)名稱或套組代碼)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspect",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspect"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectResultTxt",
      "min": 0,
      "definition": "檢驗(查)結果判讀",
      "short": "檢驗(查)結果判讀",
      "mapping": [ {
        "map": "interpretation.coding.code (檢驗(查)結果判讀)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectResultTxt",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectResultTxt"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectResult[x]",
      "min": 0,
      "definition": "檢驗(查)結果",
      "short": "檢驗(查)結果",
      "mapping": [ {
        "map": "value (檢驗(查)結果)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "Quantity"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      }, {
        "code": "boolean"
      }, {
        "code": "integer"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectResult[x]",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectResult[x]"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.consultValueLower",
      "min": 0,
      "definition": "檢驗(查)結果之參考範圍下限",
      "short": "檢驗(查)結果之參考範圍下限",
      "mapping": [ {
        "map": "referenceRange.low.value (檢驗(查)結果之參考範圍下限)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.consultValueLower",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.consultValueLower"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.consultValueMax",
      "min": 0,
      "definition": "檢驗(查)結果之參考範圍上限",
      "short": "檢驗(查)結果之參考範圍上限",
      "mapping": [ {
        "map": "referenceRange.high.value (檢驗(查)結果之參考範圍上限)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.consultValueMax",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.consultValueMax"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.consultValueCat",
      "min": 0,
      "definition": "檢驗(查)結果之參考範圍類型",
      "short": "檢驗(查)結果之參考範圍類型",
      "mapping": [ {
        "map": "referenceRange.type.coding.code (檢驗(查)結果之參考範圍類型)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.consultValueCat",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.consultValueCat"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.consultValueDesc",
      "min": 0,
      "definition": "檢驗(查)結果之參考範圍說明",
      "short": "檢驗(查)結果之參考範圍說明",
      "mapping": [ {
        "map": "referenceRange.text (檢驗(查)結果之參考範圍說明)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.consultValueDesc",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.consultValueDesc"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectSet",
      "min": 0,
      "definition": "套組中的的檢驗",
      "short": "套組中的的檢驗",
      "mapping": [ {
        "map": "component (套組中的的檢驗)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "Observation"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectSet",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectSet"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.caseTime",
      "min": 0,
      "definition": "檢驗(查)報告日期",
      "short": "檢驗(查)報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (檢驗(查)報告日期)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.caseTime",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.caseTime"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectPdf",
      "min": 0,
      "definition": "檢驗(查)附件(檔案路徑)",
      "short": "檢驗(查)附件(檔案路徑)",
      "mapping": [ {
        "map": "derivedFrom.reference(DocumentReferenceTWPAS) (檢驗(查)附件(檔案路徑))",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "content.attachment.url (檢驗(查)附件(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectPdf",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectPdf"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectPdfTitle",
      "min": 0,
      "definition": "檢驗(查)附件名稱",
      "short": "檢驗(查)附件名稱",
      "mapping": [ {
        "map": "content.attachment.title (檢驗(查)附件名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectPdfTitle",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectPdfTitle"
      }
    }, {
      "path": "ApplyModel.evaluate.tests.inspectPerformer",
      "min": 0,
      "definition": "簽發檢驗(查)報告醫事人員身分證號",
      "short": "簽發檢驗(查)報告醫事人員身分證號",
      "mapping": [ {
        "map": "performer.reference(OrganizationTWPAS) (簽發檢驗(查)報告醫事人員身分證號)",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "identifier.value (簽發檢驗(查)報告醫事人員身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.tests.inspectPerformer",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.tests.inspectPerformer"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.evaluate.patientAssessment",
      "min": 0,
      "definition": "病人狀態評估",
      "short": "病人狀態評估",
      "mapping": [ {
        "map": "(病人狀態評估)",
        "identity": "TWPASClaim"
      }, {
        "map": "(病人狀態評估)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "(病人狀態評估)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.patientAssessment"
      }
    }, {
      "path": "ApplyModel.evaluate.patientAssessment.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.evaluate.patientAssessment.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.patientAssessment.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.evaluate.patientAssessment.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.evaluate.patientAssessment.patAst",
      "min": 0,
      "definition": "病人狀態評估項目代碼",
      "short": "病人狀態評估項目代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'patientAssessment').valueReference.reference(ObservationPatientAssessmentTWPAS) (病人狀態評估項目代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (病人狀態評估項目代碼)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.patAst",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.patientAssessment.patAst"
      }
    }, {
      "path": "ApplyModel.evaluate.patientAssessment.patAstResult",
      "min": 0,
      "definition": "病人狀態評估結果",
      "short": "病人狀態評估結果",
      "mapping": [ {
        "map": "value (病人狀態評估結果)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.patAstResult",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.patientAssessment.patAstResult"
      }
    }, {
      "path": "ApplyModel.evaluate.patientAssessment.patAstDate",
      "min": 0,
      "definition": "病人狀態評估日期",
      "short": "病人狀態評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (病人狀態評估日期)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.patAstDate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.patientAssessment.patAstDate"
      }
    }, {
      "path": "ApplyModel.evaluate.patientAssessment.patAstPerformer",
      "min": 0,
      "definition": "評估項目醫事人員身分證號",
      "short": "評估項目醫事人員身分證號",
      "mapping": [ {
        "map": "performer.reference(OrganizationTWPAS) (評估項目醫事人員身分證號)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "identifier.value (評估項目醫事人員身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.evaluate.patientAssessment.patAstPerformer",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.evaluate.patientAssessment.patAstPerformer"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.treat",
      "min": 0,
      "definition": "治療資訊",
      "short": "治療資訊",
      "mapping": [ {
        "map": "(治療資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASMedicationRequestTreat"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASProcedure"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASSubstance"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.treat",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat"
      }
    }, {
      "path": "ApplyModel.treat.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.treat.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.treat.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.treat.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.treat.medicationRequest",
      "min": 0,
      "definition": "用藥品項",
      "short": "用藥品項",
      "mapping": [ {
        "map": "(用藥品項)",
        "identity": "TWPASClaim"
      }, {
        "map": "(用藥品項)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.medicationRequest"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.medicationRequest.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.medicationRequest.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.treat.medicationRequest.drugType",
      "min": 0,
      "definition": "自費註記",
      "short": "自費註記",
      "mapping": [ {
        "map": "category.coding.code (自費註記)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.drugType",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.treat.medicationRequest.drugType"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.drugStatus",
      "min": 1,
      "definition": "藥物使用狀態",
      "short": "藥物使用狀態",
      "mapping": [ {
        "map": "status (藥物使用狀態)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.drugStatus",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.drugStatus"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.drugCode",
      "min": 1,
      "definition": "藥品代碼",
      "short": "藥品代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'medicationRequest').valueReference.reference(MedicationRequestTreatTWPAS) (藥品代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "medicationCodeableConcept.coding.code (藥品代碼)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest.drugCode",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.drugCode"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.drugFre",
      "min": 1,
      "definition": "藥品使用頻率及服用時間",
      "short": "藥品使用頻率及服用時間",
      "mapping": [ {
        "map": "dosageInstruction.timing.code.text (藥品使用頻率及服用時間)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest.drugFre",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.drugFre"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.drugRoute",
      "min": 1,
      "definition": "給藥途徑/作用部位",
      "short": "給藥途徑/作用部位",
      "mapping": [ {
        "map": "dosageInstruction.route (給藥途徑/作用部位)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.medicationRequest.drugRoute",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.drugRoute"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.dose",
      "min": 1,
      "definition": "藥物每次處方劑量",
      "short": "藥物每次處方劑量",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.value (藥物每次處方劑量)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.dose",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.dose"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.doseUnit",
      "min": 1,
      "definition": "藥物每次處方劑量單位",
      "short": "藥物每次處方劑量單位",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.code (藥物每次處方劑量單位)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.doseUnit",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.doseUnit"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.sDate",
      "min": 1,
      "definition": "藥物處方起始日期",
      "short": "藥物處方起始日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.start (藥物處方起始日期)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.sDate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.sDate"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.eDate",
      "min": 1,
      "definition": "藥物處方終止日期",
      "short": "藥物處方終止日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.end (藥物處方終止日期)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.eDate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.treat.medicationRequest.eDate"
      }
    }, {
      "path": "ApplyModel.treat.medicationRequest.eReason",
      "min": 0,
      "definition": "藥物處方終止原因",
      "short": "藥物處方終止原因",
      "mapping": [ {
        "map": "statusReason (藥物處方終止原因)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.treat.medicationRequest.eReason",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.treat.medicationRequest.eReason"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.treat.radiotherapy",
      "min": 0,
      "definition": "放射治療",
      "short": "放射治療",
      "mapping": [ {
        "map": "(放射治療)",
        "identity": "TWPASClaim"
      }, {
        "map": "(放射治療)",
        "identity": "TWPASProcedure"
      }, {
        "map": "(放射治療)",
        "identity": "TWPASSubstance"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.radiotherapy"
      }
    }, {
      "path": "ApplyModel.treat.radiotherapy.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.treat.radiotherapy.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.radiotherapy.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.treat.radiotherapy.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.treat.radiotherapy.rt",
      "min": 1,
      "definition": "放射治療項目",
      "short": "放射治療項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'radiotherapy').valueReference.reference(ProcedureTWPAS) (放射治療項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (放射治療項目)",
        "identity": "TWPASProcedure"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.rt",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.radiotherapy.rt"
      }
    }, {
      "path": "ApplyModel.treat.radiotherapy.rtStatus",
      "min": 1,
      "definition": "放射治療狀態",
      "short": "放射治療狀態",
      "mapping": [ {
        "map": "status (放射治療狀態)",
        "identity": "TWPASProcedure"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.rtStatus",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.radiotherapy.rtStatus"
      }
    }, {
      "path": "ApplyModel.treat.radiotherapy.realInspectTime",
      "min": 1,
      "definition": "放射治療日期",
      "short": "放射治療日期",
      "mapping": [ {
        "map": "performedDateTime (放射治療日期)",
        "identity": "TWPASProcedure"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.realInspectTime",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.radiotherapy.realInspectTime"
      }
    }, {
      "path": "ApplyModel.treat.radiotherapy.rtDose",
      "min": 1,
      "definition": "放射治療總劑量",
      "short": "放射治療總劑量",
      "mapping": [ {
        "map": "usedReference.reference(SubstanceTWPAS) (放射治療總劑量)",
        "identity": "TWPASProcedure"
      }, {
        "map": "ingredient.quantity.numerator.value (放射治療總劑量)",
        "identity": "TWPASSubstance"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.rtDose",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.radiotherapy.rtDose"
      }
    }, {
      "path": "ApplyModel.treat.radiotherapy.rtUnit",
      "min": 1,
      "definition": "放射治療總劑量單位",
      "short": "放射治療總劑量單位",
      "mapping": [ {
        "map": "ingredient.quantity.numerator.unit (放射治療總劑量單位)",
        "identity": "TWPASSubstance"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.radiotherapy.rtUnit",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.treat.radiotherapy.rtUnit"
      }
    }, {
      "path": "ApplyModel.treat.opCode",
      "min": 0,
      "definition": "手術(或其他處置)項目",
      "short": "手術(或其他處置)項目",
      "mapping": [ {
        "map": "procedure.procedureCodeableConcept.coding (手術(或其他處置)項目)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.opCode",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.opCode"
      }
    }, {
      "path": "ApplyModel.treat.opDate",
      "min": 0,
      "definition": "手術(或其他處置)日期",
      "short": "手術(或其他處置)日期",
      "mapping": [ {
        "map": "procedure.date (手術(或其他處置)日期)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.opDate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.opDate"
      }
    }, {
      "path": "ApplyModel.treat.carePlanDocument",
      "min": 0,
      "definition": "治療計畫文件(檔案路徑)",
      "short": "治療計畫文件(檔案路徑)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'carePlanDocument').valueReference.reference(DocumentReferenceTWPAS) (治療計畫文件)",
        "identity": "TWPASClaim"
      }, {
        "map": "content.attachment.url (治療計畫文件(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "base64Binary"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.carePlanDocument",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.carePlanDocument"
      }
    }, {
      "path": "ApplyModel.treat.carePlanDocumentTitle",
      "min": 0,
      "definition": "治療計畫文件名稱",
      "short": "治療計畫文件名稱",
      "mapping": [ {
        "map": "content.attachment.title (治療計畫文件名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "max": "*",
      "id": "ApplyModel.treat.carePlanDocumentTitle",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.treat.carePlanDocumentTitle"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.result",
      "min": 0,
      "definition": "結果資訊",
      "short": "結果資訊",
      "mapping": [ {
        "map": "(結果資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(結果資訊)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "ApplyModel.result",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.result"
      }
    }, {
      "path": "ApplyModel.result.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.result.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.result.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.result.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.result.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.result.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.result.txAst",
      "min": 0,
      "definition": "治療後疾病狀態評估項目",
      "short": "治療後疾病狀態評估項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'treatmentAssessment').valueReference.reference(ObservationTreatmentAssessmentTWPAS) (治療後疾病狀態評估項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (治療後疾病狀態評估項目)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.result.txAst",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.result.txAst"
      }
    }, {
      "path": "ApplyModel.result.txAstResult",
      "min": 0,
      "definition": "治療後疾病狀態評估結果",
      "short": "治療後疾病狀態評估結果",
      "mapping": [ {
        "map": "valueString (治療後疾病狀態評估結果)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.result.txAstResult",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.result.txAstResult"
      }
    }, {
      "path": "ApplyModel.result.txAstDate",
      "min": 0,
      "definition": "治療後疾病狀態評估日期",
      "short": "治療後疾病狀態評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (治療後疾病狀態評估日期)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.result.txAstDate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.result.txAstDate"
      }
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "ApplyModel.apply",
      "min": 1,
      "definition": "申請項目",
      "short": "申請項目",
      "mapping": [ {
        "map": "(申請項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "(申請項目)",
        "identity": "TWPASMedicationRequestApply"
      }, {
        "map": "(申請項目)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "ApplyModel.apply",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.apply"
      }
    }, {
      "path": "ApplyModel.apply.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "ApplyModel.apply.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.apply.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "ApplyModel.apply.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "ApplyModel.apply.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "ApplyModel.apply.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "path": "ApplyModel.apply.continuation",
      "min": 1,
      "definition": "續用註記",
      "short": "續用註記",
      "mapping": [ {
        "map": "item.modifier.where(coding.system = 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status').coding.code (續用註記)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.continuation",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.apply.continuation"
      }
    }, {
      "path": "ApplyModel.apply.lot",
      "min": 0,
      "definition": "用藥線別",
      "short": "用藥線別",
      "mapping": [ {
        "map": "item.modifier.where(coding.system = 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy').coding.code (用藥線別)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.lot",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.apply.lot"
      }
    }, {
      "path": "ApplyModel.apply.orderType",
      "min": 1,
      "definition": "醫令類別",
      "short": "醫令類別",
      "mapping": [ {
        "map": "item.productOrService.coding.code (醫令類別)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.orderType",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.orderType"
      }
    }, {
      "path": "ApplyModel.apply.cancerDrugType",
      "min": 1,
      "definition": "事前審查品項代碼",
      "short": "事前審查品項代碼",
      "mapping": [ {
        "map": "item.extension.where(url = 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService').valueReference.reference (事前審查品項代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "medicationCodeableConcept.coding.code (事前審查品項代碼)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.cancerDrugType",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.cancerDrugType"
      }
    }, {
      "path": "ApplyModel.apply.applyReason",
      "min": 1,
      "definition": "給付適應症條件",
      "short": "給付適應症條件",
      "mapping": [ {
        "map": "item.programCode (給付適應症條件)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applyReason",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applyReason"
      }
    }, {
      "path": "ApplyModel.apply.applySide",
      "min": 0,
      "definition": "申請部位",
      "short": "申請部位",
      "mapping": [ {
        "map": "item.bodySite (申請部位)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.applySide",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.apply.applySide"
      }
    }, {
      "path": "ApplyModel.apply.applQty",
      "min": 1,
      "definition": "事前審查申請數量",
      "short": "事前審查申請數量",
      "mapping": [ {
        "map": "item.quantity.value (事前審查申請數量)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applQty",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applQty"
      }
    }, {
      "path": "ApplyModel.apply.applQtyUnit",
      "min": 1,
      "definition": "事前審查申請數量單位",
      "short": "事前審查申請數量單位",
      "mapping": [ {
        "map": "item.quantity.unit (事前審查申請數量單位)",
        "identity": "TWPASClaim"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applQtyUnit",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applQtyUnit"
      }
    }, {
      "path": "ApplyModel.apply.applDrugFre",
      "min": 1,
      "definition": "事前審查藥品使用頻率及服用時間",
      "short": "事前審查藥品使用頻率及服用時間",
      "mapping": [ {
        "map": "dosageInstruction.timing.code.coding.code (事前審查藥品使用頻率及服用時間)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applDrugFre",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applDrugFre"
      }
    }, {
      "path": "ApplyModel.apply.applDrugRoute",
      "min": 1,
      "definition": "給藥途徑/作用部位",
      "short": "給藥途徑/作用部位",
      "mapping": [ {
        "map": "dosageInstruction.route (給藥途徑/作用部位)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applDrugRoute",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applDrugRoute"
      }
    }, {
      "path": "ApplyModel.apply.applDosage",
      "min": 1,
      "definition": "事前審查藥品每次處方劑量",
      "short": "事前審查藥品每次處方劑量",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.value (事前審查藥品每次處方劑量)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applDosage",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applDosage"
      }
    }, {
      "path": "ApplyModel.apply.applDosageUnit",
      "min": 1,
      "definition": "事前審查藥品每次處方劑量單位",
      "short": "事前審查藥品每次處方劑量單位",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.unit (事前審查藥品每次處方劑量單位)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applDosageUnit",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applDosageUnit"
      }
    }, {
      "path": "ApplyModel.apply.useSdate",
      "min": 1,
      "definition": "事前審查藥物預定處方起始日期",
      "short": "事前審查藥物預定處方起始日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.start (事前審查藥物預定處方起始日期)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.useSdate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.apply.useSdate"
      }
    }, {
      "path": "ApplyModel.apply.useEdate",
      "min": 1,
      "definition": "事前審查藥物預定處方終止日期",
      "short": "事前審查藥物預定處方終止日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.end (事前審查藥物預定處方終止日期)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.useEdate",
      "base": {
        "max": "1",
        "min": 1,
        "path": "ApplyModel.apply.useEdate"
      }
    }, {
      "path": "ApplyModel.apply.applDrugCycle",
      "min": 1,
      "definition": "事前審查藥品處方頻次",
      "short": "事前審查藥品處方頻次",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.count (事前審查藥品處方頻次)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.applDrugCycle",
      "base": {
        "max": "*",
        "min": 1,
        "path": "ApplyModel.apply.applDrugCycle"
      }
    }, {
      "path": "ApplyModel.apply.approveDate",
      "min": 0,
      "definition": "核定日期",
      "short": "核定日期",
      "mapping": [ {
        "map": "created (核定日期)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.approveDate",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.apply.approveDate"
      }
    }, {
      "path": "ApplyModel.apply.approveNum",
      "min": 0,
      "definition": "核定數量",
      "short": "核定數量",
      "mapping": [ {
        "map": "item.adjudication.reason.coding.code (核定數量)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "type": [ {
        "code": "decimal"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.approveNum",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.apply.approveNum"
      }
    }, {
      "path": "ApplyModel.apply.approveComment",
      "min": 0,
      "definition": "核定註記",
      "short": "核定註記",
      "mapping": [ {
        "map": "item.adjudication.value (核定註記)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "max": "*",
      "id": "ApplyModel.apply.approveComment",
      "base": {
        "max": "*",
        "min": 0,
        "path": "ApplyModel.apply.approveComment"
      }
    }, {
      "path": "ApplyModel.apply.acceptanceStatus",
      "min": 0,
      "definition": "案件受理狀態",
      "short": "案件受理狀態",
      "mapping": [ {
        "map": "disposition (案件受理狀態)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "max": "1",
      "id": "ApplyModel.apply.acceptanceStatus",
      "base": {
        "max": "1",
        "min": 0,
        "path": "ApplyModel.apply.acceptanceStatus"
      }
    } ]
  },
  "status": "active",
  "id": "1bc7a61d-0a42-44f0-8505-266471509ef3",
  "kind": "logical",
  "url": "https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/ApplyModel",
  "version": "1.0.1",
  "differential": {
    "element": [ {
      "id": "ApplyModel",
      "path": "ApplyModel",
      "short": "申請(Apply)癌症用藥癌藥事前審查之資料模型",
      "definition": "申請(Apply)癌症用藥癌藥事前審查之資料模型,此邏輯模型為定義癌症用藥事前審查情境下使用的所有資料欄位。  \r\n為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合[視覺化邏輯模型圖](vision.html#bundle%E6%9E%B6%E6%A7%8B%E5%9C%96)進行欄位對應"
    }, {
      "id": "ApplyModel.hosp",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "院所資訊",
      "mapping": [ {
        "map": "(院所資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASOrganization"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASEncounter"
      }, {
        "map": "(院所資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "院所資訊"
    }, {
      "id": "ApplyModel.hosp.hospId",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp.hospId",
      "type": [ {
        "code": "string"
      } ],
      "short": "醫事機構代碼,必須存在於醫事機構基本資料檔內",
      "mapping": [ {
        "map": "provider.reference(OrganizationTWPAS) (醫事機構代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.value (醫事機構代碼)",
        "identity": "TWPASOrganization"
      } ],
      "definition": "醫事機構代碼,必須存在於醫事機構基本資料檔內"
    }, {
      "id": "ApplyModel.hosp.applType",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp.applType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "申報類別",
      "mapping": [ {
        "map": "subType.coding.code (申報類別)",
        "identity": "TWPASClaim"
      } ],
      "definition": "申報類別"
    }, {
      "id": "ApplyModel.hosp.funcType",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp.funcType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "就醫科別",
      "mapping": [ {
        "map": "extension.where(url = 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-claim-encounter').valueReference.reference(EncounterTWPAS) (就醫科別)",
        "identity": "TWPASClaim"
      }, {
        "map": "serviceType.coding.code (就醫科別)",
        "identity": "TWPASEncounter"
      } ],
      "definition": "就醫科別"
    }, {
      "id": "ApplyModel.hosp.applPrsnId",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp.applPrsnId",
      "type": [ {
        "code": "string"
      } ],
      "short": "申請醫師身分證號",
      "mapping": [ {
        "map": "enterer.reference(PractitionerTWPAS) (申請醫師身分證號)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.value (申請醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "申請醫師身分證號"
    }, {
      "id": "ApplyModel.hosp.applDate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.hosp.applDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "申請日期,機構自填",
      "mapping": [ {
        "map": "created (申請日期)",
        "identity": "TWPASClaim"
      } ],
      "definition": "申請日期,機構自填"
    }, {
      "id": "ApplyModel.hosp.immediateDate",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.hosp.immediateDate",
      "type": [ {
        "code": "instant"
      } ],
      "short": "緊急報備日期,機構自填",
      "definition": "緊急報備日期,機構自填"
    }, {
      "id": "ApplyModel.hosp.tmhbType",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.hosp.tmhbType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "申請案件類型",
      "mapping": [ {
        "map": "priority.coding.code (申請案件類型)",
        "identity": "TWPASClaim"
      } ],
      "definition": "申請案件類型"
    }, {
      "id": "ApplyModel.hosp.oldAcptNo",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.hosp.oldAcptNo",
      "type": [ {
        "code": "string"
      } ],
      "short": "原受理編號",
      "mapping": [ {
        "map": "identifier.value (原受理編號)",
        "identity": "TWPASClaim"
      } ],
      "definition": "原受理編號"
    }, {
      "id": "ApplyModel.patient",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "病人資訊",
      "mapping": [ {
        "map": "(病人資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(病人資訊)",
        "identity": "TWPASPatient"
      } ],
      "definition": "病人資訊"
    }, {
      "id": "ApplyModel.patient.name",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.name",
      "type": [ {
        "code": "HumanName"
      } ],
      "short": "姓名",
      "mapping": [ {
        "map": "name.text (姓名)",
        "identity": "TWPASPatient"
      } ],
      "definition": "姓名"
    }, {
      "id": "ApplyModel.patient.idCard",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.idCard",
      "type": [ {
        "code": "string"
      } ],
      "short": "身分證字號",
      "mapping": [ {
        "map": "patient.reference(PatientTWPAS) (身分證字號)",
        "identity": "TWPASClaim"
      }, {
        "map": "identifier.where(type.coding.code = 'NNxxx').value (身分證字號)",
        "identity": "TWPASPatient"
      } ],
      "definition": "身分證字號"
    }, {
      "id": "ApplyModel.patient.patId",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.patient.patId",
      "type": [ {
        "code": "string"
      } ],
      "short": "病歷號",
      "mapping": [ {
        "map": "identifier.where(type.coding.code = 'MR').value (病歷號)",
        "identity": "TWPASPatient"
      } ],
      "definition": "病歷號 (參與醫院必須註冊命名系統)"
    }, {
      "id": "ApplyModel.patient.birthday",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.birthday",
      "type": [ {
        "code": "date"
      } ],
      "short": "出生日期",
      "mapping": [ {
        "map": "birthDate (出生日期)",
        "identity": "TWPASPatient"
      } ],
      "definition": "出生日期"
    }, {
      "id": "ApplyModel.patient.gender",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.gender",
      "type": [ {
        "code": "code"
      } ],
      "short": "病人性別",
      "mapping": [ {
        "map": "gender (病人性別)",
        "identity": "TWPASPatient"
      } ],
      "definition": "病人性別"
    }, {
      "id": "ApplyModel.patient.weight",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.weight",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "病人體重",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'weight').valueQuantity.value (病人體重)",
        "identity": "TWPASClaim"
      } ],
      "definition": "病人體重"
    }, {
      "id": "ApplyModel.patient.height",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.patient.height",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "病人身高",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'height').valueQuantity.value (病人身高)",
        "identity": "TWPASClaim"
      } ],
      "definition": "病人身高"
    }, {
      "id": "ApplyModel.patient.pregnant",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.patient.pregnant",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "是否懷孕或哺乳",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'pregnancyBreastfeedingStatus').valueBoolean (是否懷孕或哺乳)",
        "identity": "TWPASClaim"
      } ],
      "definition": "是否懷孕或哺乳"
    }, {
      "id": "ApplyModel.diagnosis",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "疾病資訊",
      "mapping": [ {
        "map": "(疾病資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASMedia"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(疾病資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "疾病資訊"
    }, {
      "id": "ApplyModel.diagnosis.icd10cmCode",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.icd10cmCode",
      "type": [ {
        "code": "code"
      } ],
      "short": "國際疾病分類代碼 (sequence=1),共病症 (sequence>=2)",
      "mapping": [ {
        "map": "diagnosis.diagnosisCodeableConcept.coding.code (國際疾病分類代碼)",
        "identity": "TWPASClaim"
      } ],
      "definition": "國際疾病分類代碼 (sequence=1),共病症 (sequence>=2)"
    }, {
      "id": "ApplyModel.diagnosis.diagDate",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.diagDate",
      "type": [ {
        "code": "date"
      } ],
      "short": "診斷日期,sequence=1必填",
      "mapping": [ {
        "map": "diagnosis.extension.where(url = 'http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-diagnosisRecordedDate').valueDate (診斷日期)",
        "identity": "TWPASClaim"
      } ],
      "definition": "YYYYMMDD,西元年月日,民國前為負數,sequence=1時為必填"
    }, {
      "id": "ApplyModel.diagnosis.diagCurrentStatus",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.diagCurrentStatus",
      "type": [ {
        "code": "code"
      } ],
      "short": "簡要病摘。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。",
      "mapping": [ {
        "map": "diagnosis.type.text (簡要病摘)",
        "identity": "TWPASClaim"
      } ],
      "definition": "簡要病摘。連結院內HIS系統之簡要病摘,或填寫原事前審查之申請理由。"
    }, {
      "id": "ApplyModel.diagnosis.medrec",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.medrec",
      "type": [ {
        "code": "code"
      } ],
      "short": "病歷資料(非屬影像報告檢查驗報告部分)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'medicalRecord').valueReference.reference(DocumentReferenceTWPAS) (病歷資料)",
        "identity": "TWPASClaim"
      }, {
        "map": "content.attachment.url (病歷資料(非屬影像報告檢查驗報告部分))",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "病歷資料(非屬影像報告檢查驗報告部分)"
    }, {
      "id": "ApplyModel.diagnosis.medrecTitle",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.medrecTitle",
      "type": [ {
        "code": "code"
      } ],
      "short": "病歷資料名稱",
      "mapping": [ {
        "map": "content.attachment.title (病歷資料名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "病歷資料名稱"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.imageStudy",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "影像報告",
      "mapping": [ {
        "map": "(影像報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASMedia"
      }, {
        "map": "(影像報告)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "影像報告"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgItem",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.imageStudy.imgItem",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "影像報告",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'imagingReport').valueReference.reference(DiagnosticReportImageTWPAS) (影像報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (影像報告)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "definition": "影像報告"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgResult",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.diagnosis.imageStudy.imgResult",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "影像報告結果",
      "mapping": [ {
        "map": "conclusion (影像報告結果)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "definition": "影像報告結果"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgBodySite",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.imageStudy.imgBodySite",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "影像檢查的身體部位",
      "mapping": [ {
        "map": "code.text (影像檢查的身體部位)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "series.bodySite.code (影像檢查的身體部位)",
        "identity": "TWPASImagingStudy"
      }, {
        "map": "bodySite.coding.code (影像檢查的身體部位)",
        "identity": "TWPASMedia"
      } ],
      "definition": "影像檢查的身體部位"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgDate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.imageStudy.imgDate",
      "type": [ {
        "code": "date"
      } ],
      "short": "影像報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (影像報告日期)",
        "identity": "TWPASDiagnosticReportImage"
      } ],
      "definition": "影像報告日期"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgDicom",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.imageStudy.imgDicom",
      "type": [ {
        "code": "url"
      } ],
      "short": "DICOM影像",
      "mapping": [ {
        "map": "imagingStudy.reference(ImagingStudyTWPAS) (DICOM影像)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "series.instance.uid (DICOM影像)",
        "identity": "TWPASImagingStudy"
      } ],
      "definition": "DICOM影像"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgNonDicom",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.imageStudy.imgNonDicom",
      "type": [ {
        "code": "url"
      } ],
      "short": "非DICOM影像",
      "mapping": [ {
        "map": "media.link.reference(MediaTWPAS) (非DICOM影像)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "contnet.url (非DICOM影像)",
        "identity": "TWPASMedia"
      } ],
      "definition": "非DICOM影像"
    }, {
      "id": "ApplyModel.diagnosis.imageStudy.imgInterpreter",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.diagnosis.imageStudy.imgInterpreter",
      "type": [ {
        "code": "string"
      } ],
      "short": "簽發影像報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (簽發影像報告醫師身分證號)",
        "identity": "TWPASDiagnosticReportImage"
      }, {
        "map": "identifier.value (簽發影像報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "簽發影像報告醫師身分證號"
    }, {
      "id": "ApplyModel.diagnosis.cancerStage",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.cancerStage",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "癌症分期量表",
      "mapping": [ {
        "map": "(癌症分期量表)",
        "identity": "TWPASClaim"
      }, {
        "map": "(癌症分期量表)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "(癌症分期量表)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "癌症分期量表"
    }, {
      "id": "ApplyModel.diagnosis.cancerStage.assessItem",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.cancerStage.assessItem",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "癌症分期量表項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'cancerStage').valueReference.reference(ObservationCancerStageTWPAS) (癌症分期量表項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (癌症分期量表項目)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "definition": "癌症分期量表項目"
    }, {
      "id": "ApplyModel.diagnosis.cancerStage.assessScore",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.cancerStage.assessScore",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "癌症分期分數或結果",
      "mapping": [ {
        "map": "valueCodeableConcept.coding.code (癌症分期分數或結果)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "definition": "癌症分期分數或結果"
    }, {
      "id": "ApplyModel.diagnosis.cancerStage.assessDate",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.cancerStage.assessDate",
      "type": [ {
        "code": "date"
      } ],
      "short": "癌症分期量表評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (癌症分期量表評估日期)",
        "identity": "TWPASObservationCancerStage"
      } ],
      "definition": "癌症分期量表評估日期"
    }, {
      "id": "ApplyModel.diagnosis.cancerStage.assessPerformer",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.cancerStage.assessPerformer",
      "type": [ {
        "code": "string"
      } ],
      "short": "簽發癌症分期報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (簽發癌症分期報告醫師身分證號)",
        "identity": "TWPASObservationCancerStage"
      }, {
        "map": "identifier.value (簽發癌症分期報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "簽發癌症分期報告醫師身分證號"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "檢查報告",
      "mapping": [ {
        "map": "(檢查報告)",
        "identity": "TWPASClaim"
      }, {
        "map": "(檢查報告)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "(檢查報告)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "檢查報告"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportType",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "報告類型",
      "mapping": [ {
        "map": "code.coding.code (報告類型)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "報告類型"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.speType",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.speType",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢體種類",
      "mapping": [ {
        "map": "code.text (檢體種類)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "檢體種類"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportResult",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportResult",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "檢查報告結果",
      "mapping": [ {
        "map": "(檢查報告結果)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "檢查報告結果"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultString",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultString",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢查報告結果(文數字)",
      "mapping": [ {
        "map": "conclusion (檢查報告結果(文數字))",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "檢查報告結果-文數字與base64Binary應擇一填寫"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdf",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdf",
      "type": [ {
        "code": "base64Binary"
      } ],
      "short": "檢查報告結果(檔案路徑)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'examinationReport').valueReference.reference(DiagnosticReportTWPAS) (檢查報告結果)",
        "identity": "TWPASClaim"
      }, {
        "map": "presentedForm.url (檢查報告結果(檔案路徑))",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "檢查報告結果-文數字與base64Binary應擇一填寫"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportResult.reportResultPdfTitle",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢查報告名稱",
      "mapping": [ {
        "map": "presentedForm.title (檢查報告名稱)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "檢查報告名稱"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportDate",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (報告日期)",
        "identity": "TWPASDiagnosticReport"
      } ],
      "definition": "報告日期"
    }, {
      "id": "ApplyModel.diagnosis.examinationReport.reportPerformer",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.diagnosis.examinationReport.reportPerformer",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢查報告醫師身分證號",
      "mapping": [ {
        "map": "performer.reference(PractitionerTWPAS) (檢查報告醫師身分證號)",
        "identity": "TWPASDiagnosticReport"
      }, {
        "map": "identifier.value (檢查報告醫師身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "檢查報告醫師身分證號"
    }, {
      "id": "ApplyModel.gene",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "基因資訊",
      "mapping": [ {
        "map": "(基因資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASOrganization"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASObservationDiagnostic"
      }, {
        "map": "(基因資訊)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "基因資訊"
    }, {
      "id": "ApplyModel.gene.genTestCode",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genTestCode",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因檢測代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'geneInfo').valueReference.reference(ObservationDiagnosticTWPAS) (基因檢測代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "component.code.coding.code (基因檢測代碼)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測代碼"
    }, {
      "id": "ApplyModel.gene.mutationType",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.mutationType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因突變類型",
      "mapping": [ {
        "map": "component.where(code.coding.code = '48019-4').valueCodeableConcept.coding.code (基因突變類型)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因突變類型"
    }, {
      "id": "ApplyModel.gene.specimenType",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.specimenType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因檢測檢體類型",
      "mapping": [ {
        "map": "specimen.reference(SpecimenTWPAS) (基因檢測檢體類型)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測檢體類型"
    }, {
      "id": "ApplyModel.gene.genMethod",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genMethod",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因檢測方法",
      "mapping": [ {
        "map": "method.coding.code (基因檢測方法)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測方法"
    }, {
      "id": "ApplyModel.gene.genDate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "基因檢測日期",
      "mapping": [ {
        "map": "effectiveDateTime (基因檢測日期)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測日期"
    }, {
      "id": "ApplyModel.gene.genOrg",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genOrg",
      "type": [ {
        "code": "string"
      } ],
      "short": "基因檢測機構",
      "mapping": [ {
        "map": "identifier.value (基因檢測機構)",
        "identity": "TWPASOrganization"
      }, {
        "map": "performer.reference(OrganizationTWPAS) (基因檢測機構)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測機構"
    }, {
      "id": "ApplyModel.gene.genResult",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genResult",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因檢測分析結果",
      "mapping": [ {
        "map": "valueCodeableConcept.coding.code (基因檢測分析結果)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因檢測分析結果"
    }, {
      "id": "ApplyModel.gene.genInterpretation",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genInterpretation",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "基因臨床判讀結果",
      "mapping": [ {
        "map": "interpretation.coding.code (基因臨床判讀結果)",
        "identity": "TWPASObservationDiagnostic"
      } ],
      "definition": "基因臨床判讀結果,醫師判讀結果"
    }, {
      "id": "ApplyModel.gene.genPdf",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genPdf",
      "type": [ {
        "code": "base64Binary"
      } ],
      "short": "基因報告(檔案路徑)",
      "mapping": [ {
        "map": "derivedFrom.reference(DocumentReferenceTWPAS) (基因報告(檔案路徑))",
        "identity": "TWPASObservationDiagnostic"
      }, {
        "map": "content.attachment.url (基因報告(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "基因報告(檔案路徑)"
    }, {
      "id": "ApplyModel.gene.genPdfTitle",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.gene.genPdfTitle",
      "type": [ {
        "code": "string"
      } ],
      "short": "基因報告名稱",
      "mapping": [ {
        "map": "content.attachment.title (基因報告名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "基因報告名稱"
    }, {
      "id": "ApplyModel.evaluate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "評估資訊",
      "mapping": [ {
        "map": "(評估資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(評估資訊)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "評估資訊"
    }, {
      "id": "ApplyModel.evaluate.tests",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "檢驗(查)",
      "mapping": [ {
        "map": "(檢驗(查))",
        "identity": "TWPASClaim"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASDocumentReference"
      }, {
        "map": "(檢驗(查))",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "檢驗(查)"
    }, {
      "id": "ApplyModel.evaluate.tests.inspect",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspect",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "檢驗(查)名稱或套組代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'tests').valueReference.reference(ObservationLaboratoryResultTWPAS) (檢驗(查)名稱或套組代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (檢驗(查)名稱或套組代碼)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)名稱或套組代碼"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectResultTxt",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectResultTxt",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "檢驗(查)結果判讀",
      "mapping": [ {
        "map": "interpretation.coding.code (檢驗(查)結果判讀)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果判讀"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectResult[x]",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectResult[x]",
      "type": [ {
        "code": "Quantity"
      }, {
        "code": "CodeableConcept"
      }, {
        "code": "string"
      }, {
        "code": "boolean"
      }, {
        "code": "integer"
      } ],
      "short": "檢驗(查)結果",
      "mapping": [ {
        "map": "value (檢驗(查)結果)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果"
    }, {
      "id": "ApplyModel.evaluate.tests.consultValueLower",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.consultValueLower",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "檢驗(查)結果之參考範圍下限",
      "mapping": [ {
        "map": "referenceRange.low.value (檢驗(查)結果之參考範圍下限)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果之參考範圍下限"
    }, {
      "id": "ApplyModel.evaluate.tests.consultValueMax",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.consultValueMax",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "檢驗(查)結果之參考範圍上限",
      "mapping": [ {
        "map": "referenceRange.high.value (檢驗(查)結果之參考範圍上限)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果之參考範圍上限"
    }, {
      "id": "ApplyModel.evaluate.tests.consultValueCat",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.consultValueCat",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢驗(查)結果之參考範圍類型",
      "mapping": [ {
        "map": "referenceRange.type.coding.code (檢驗(查)結果之參考範圍類型)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果之參考範圍類型"
    }, {
      "id": "ApplyModel.evaluate.tests.consultValueDesc",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.consultValueDesc",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢驗(查)結果之參考範圍說明",
      "mapping": [ {
        "map": "referenceRange.text (檢驗(查)結果之參考範圍說明)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)結果之參考範圍說明"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectSet",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectSet",
      "type": [ {
        "code": "Observation"
      } ],
      "short": "套組中的的檢驗",
      "mapping": [ {
        "map": "component (套組中的的檢驗)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "套組中的的檢驗"
    }, {
      "id": "ApplyModel.evaluate.tests.caseTime",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.caseTime",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢驗(查)報告日期",
      "mapping": [ {
        "map": "effectiveDateTime (檢驗(查)報告日期)",
        "identity": "TWPASObservationLaboratoryResult"
      } ],
      "definition": "檢驗(查)報告日期"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectPdf",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectPdf",
      "type": [ {
        "code": "base64Binary"
      } ],
      "short": "檢驗(查)附件(檔案路徑)",
      "mapping": [ {
        "map": "derivedFrom.reference(DocumentReferenceTWPAS) (檢驗(查)附件(檔案路徑))",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "content.attachment.url (檢驗(查)附件(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "檢驗(查)附件(檔案路徑)"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectPdfTitle",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectPdfTitle",
      "type": [ {
        "code": "string"
      } ],
      "short": "檢驗(查)附件名稱",
      "mapping": [ {
        "map": "content.attachment.title (檢驗(查)附件名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "檢驗(查)附件名稱"
    }, {
      "id": "ApplyModel.evaluate.tests.inspectPerformer",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.tests.inspectPerformer",
      "type": [ {
        "code": "string"
      } ],
      "short": "簽發檢驗(查)報告醫事人員身分證號",
      "mapping": [ {
        "map": "performer.reference(OrganizationTWPAS) (簽發檢驗(查)報告醫事人員身分證號)",
        "identity": "TWPASObservationLaboratoryResult"
      }, {
        "map": "identifier.value (簽發檢驗(查)報告醫事人員身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "簽發檢驗(查)報告醫事人員身分證號"
    }, {
      "id": "ApplyModel.evaluate.patientAssessment",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.patientAssessment",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "病人狀態評估",
      "mapping": [ {
        "map": "(病人狀態評估)",
        "identity": "TWPASClaim"
      }, {
        "map": "(病人狀態評估)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "(病人狀態評估)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "病人狀態評估"
    }, {
      "id": "ApplyModel.evaluate.patientAssessment.patAst",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.patientAssessment.patAst",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "病人狀態評估項目代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'patientAssessment').valueReference.reference(ObservationPatientAssessmentTWPAS) (病人狀態評估項目代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (病人狀態評估項目代碼)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "definition": "病人狀態評估項目代碼"
    }, {
      "id": "ApplyModel.evaluate.patientAssessment.patAstResult",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.patientAssessment.patAstResult",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "病人狀態評估結果",
      "mapping": [ {
        "map": "value (病人狀態評估結果)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "definition": "病人狀態評估結果"
    }, {
      "id": "ApplyModel.evaluate.patientAssessment.patAstDate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.patientAssessment.patAstDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "病人狀態評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (病人狀態評估日期)",
        "identity": "TWPASObservationPatientAssessment"
      } ],
      "definition": "病人狀態評估日期"
    }, {
      "id": "ApplyModel.evaluate.patientAssessment.patAstPerformer",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.evaluate.patientAssessment.patAstPerformer",
      "type": [ {
        "code": "string"
      } ],
      "short": "評估項目醫事人員身分證號",
      "mapping": [ {
        "map": "performer.reference(OrganizationTWPAS) (評估項目醫事人員身分證號)",
        "identity": "TWPASObservationPatientAssessment"
      }, {
        "map": "identifier.value (評估項目醫事人員身分證號)",
        "identity": "TWPASPractitioner"
      } ],
      "definition": "評估項目醫事人員身分證號"
    }, {
      "id": "ApplyModel.treat",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "治療資訊",
      "mapping": [ {
        "map": "(治療資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASMedicationRequestTreat"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASProcedure"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASSubstance"
      }, {
        "map": "(治療資訊)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "治療資訊"
    }, {
      "id": "ApplyModel.treat.medicationRequest",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.medicationRequest",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "用藥品項",
      "mapping": [ {
        "map": "(用藥品項)",
        "identity": "TWPASClaim"
      }, {
        "map": "(用藥品項)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "用藥品項"
    }, {
      "id": "ApplyModel.treat.medicationRequest.drugType",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.treat.medicationRequest.drugType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "自費註記",
      "mapping": [ {
        "map": "category.coding.code (自費註記)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "自費註記"
    }, {
      "id": "ApplyModel.treat.medicationRequest.drugStatus",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.drugStatus",
      "type": [ {
        "code": "code"
      } ],
      "short": "藥物使用狀態",
      "mapping": [ {
        "map": "status (藥物使用狀態)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物使用狀態"
    }, {
      "id": "ApplyModel.treat.medicationRequest.drugCode",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.drugCode",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "藥品代碼",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'medicationRequest').valueReference.reference(MedicationRequestTreatTWPAS) (藥品代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "medicationCodeableConcept.coding.code (藥品代碼)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥品代碼"
    }, {
      "id": "ApplyModel.treat.medicationRequest.drugFre",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.drugFre",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "藥品使用頻率及服用時間",
      "mapping": [ {
        "map": "dosageInstruction.timing.code.text (藥品使用頻率及服用時間)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥品使用頻率及服用時間"
    }, {
      "id": "ApplyModel.treat.medicationRequest.drugRoute",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.drugRoute",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "給藥途徑/作用部位",
      "mapping": [ {
        "map": "dosageInstruction.route (給藥途徑/作用部位)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "給藥途徑/作用部位"
    }, {
      "id": "ApplyModel.treat.medicationRequest.dose",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.dose",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "藥物每次處方劑量",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.value (藥物每次處方劑量)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物每次處方劑量"
    }, {
      "id": "ApplyModel.treat.medicationRequest.doseUnit",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.doseUnit",
      "type": [ {
        "code": "code"
      } ],
      "short": "藥物每次處方劑量單位",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.code (藥物每次處方劑量單位)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物每次處方劑量單位"
    }, {
      "id": "ApplyModel.treat.medicationRequest.sDate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.sDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "藥物處方起始日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.start (藥物處方起始日期)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物處方起始日期"
    }, {
      "id": "ApplyModel.treat.medicationRequest.eDate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.treat.medicationRequest.eDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "藥物處方終止日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.end (藥物處方終止日期)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物處方終止日期"
    }, {
      "id": "ApplyModel.treat.medicationRequest.eReason",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.treat.medicationRequest.eReason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "藥物處方終止原因",
      "mapping": [ {
        "map": "statusReason (藥物處方終止原因)",
        "identity": "TWPASMedicationRequestTreat"
      } ],
      "definition": "藥物處方終止原因"
    }, {
      "id": "ApplyModel.treat.radiotherapy",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.radiotherapy",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "放射治療",
      "mapping": [ {
        "map": "(放射治療)",
        "identity": "TWPASClaim"
      }, {
        "map": "(放射治療)",
        "identity": "TWPASProcedure"
      }, {
        "map": "(放射治療)",
        "identity": "TWPASSubstance"
      } ],
      "definition": "放射治療"
    }, {
      "id": "ApplyModel.treat.radiotherapy.rt",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.radiotherapy.rt",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "放射治療項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'radiotherapy').valueReference.reference(ProcedureTWPAS) (放射治療項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (放射治療項目)",
        "identity": "TWPASProcedure"
      } ],
      "definition": "放射治療項目"
    }, {
      "id": "ApplyModel.treat.radiotherapy.rtStatus",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.radiotherapy.rtStatus",
      "type": [ {
        "code": "code"
      } ],
      "short": "放射治療狀態",
      "mapping": [ {
        "map": "status (放射治療狀態)",
        "identity": "TWPASProcedure"
      } ],
      "definition": "放射治療狀態"
    }, {
      "id": "ApplyModel.treat.radiotherapy.realInspectTime",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.radiotherapy.realInspectTime",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "放射治療日期",
      "mapping": [ {
        "map": "performedDateTime (放射治療日期)",
        "identity": "TWPASProcedure"
      } ],
      "definition": "放射治療日期"
    }, {
      "id": "ApplyModel.treat.radiotherapy.rtDose",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.radiotherapy.rtDose",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "放射治療總劑量",
      "mapping": [ {
        "map": "usedReference.reference(SubstanceTWPAS) (放射治療總劑量)",
        "identity": "TWPASProcedure"
      }, {
        "map": "ingredient.quantity.numerator.value (放射治療總劑量)",
        "identity": "TWPASSubstance"
      } ],
      "definition": "放射治療總劑量"
    }, {
      "id": "ApplyModel.treat.radiotherapy.rtUnit",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.treat.radiotherapy.rtUnit",
      "type": [ {
        "code": "string"
      } ],
      "short": "放射治療總劑量單位",
      "mapping": [ {
        "map": "ingredient.quantity.numerator.unit (放射治療總劑量單位)",
        "identity": "TWPASSubstance"
      } ],
      "definition": "放射治療總劑量單位"
    }, {
      "id": "ApplyModel.treat.opCode",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.opCode",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "手術(或其他處置)項目",
      "mapping": [ {
        "map": "procedure.procedureCodeableConcept.coding (手術(或其他處置)項目)",
        "identity": "TWPASClaim"
      } ],
      "definition": "手術(或其他處置)項目"
    }, {
      "id": "ApplyModel.treat.opDate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.opDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "手術(或其他處置)日期",
      "mapping": [ {
        "map": "procedure.date (手術(或其他處置)日期)",
        "identity": "TWPASClaim"
      } ],
      "definition": "手術(或其他處置)日期"
    }, {
      "id": "ApplyModel.treat.carePlanDocument",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.carePlanDocument",
      "type": [ {
        "code": "base64Binary"
      } ],
      "short": "治療計畫文件(檔案路徑)",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'carePlanDocument').valueReference.reference(DocumentReferenceTWPAS) (治療計畫文件)",
        "identity": "TWPASClaim"
      }, {
        "map": "content.attachment.url (治療計畫文件(檔案路徑))",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "治療計畫文件(檔案路徑)"
    }, {
      "id": "ApplyModel.treat.carePlanDocumentTitle",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.treat.carePlanDocumentTitle",
      "type": [ {
        "code": "string"
      } ],
      "short": "治療計畫文件名稱",
      "mapping": [ {
        "map": "content.attachment.title (治療計畫文件名稱)",
        "identity": "TWPASDocumentReference"
      } ],
      "definition": "治療計畫文件名稱"
    }, {
      "id": "ApplyModel.result",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.result",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "結果資訊",
      "mapping": [ {
        "map": "(結果資訊)",
        "identity": "TWPASClaim"
      }, {
        "map": "(結果資訊)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "definition": "結果資訊"
    }, {
      "id": "ApplyModel.result.txAst",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.result.txAst",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "治療後疾病狀態評估項目",
      "mapping": [ {
        "map": "supportingInfo.where(category.coding.code = 'treatmentAssessment').valueReference.reference(ObservationTreatmentAssessmentTWPAS) (治療後疾病狀態評估項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "code.coding.code (治療後疾病狀態評估項目)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "definition": "治療後疾病狀態評估項目"
    }, {
      "id": "ApplyModel.result.txAstResult",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.result.txAstResult",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "治療後疾病狀態評估結果",
      "mapping": [ {
        "map": "valueString (治療後疾病狀態評估結果)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "definition": "治療後疾病狀態評估結果"
    }, {
      "id": "ApplyModel.result.txAstDate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.result.txAstDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "治療後疾病狀態評估日期",
      "mapping": [ {
        "map": "effectiveDateTime (治療後疾病狀態評估日期)",
        "identity": "TWPASObservationTreatmentAssessment"
      } ],
      "definition": "治療後疾病狀態評估日期"
    }, {
      "id": "ApplyModel.apply",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.apply",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "申請項目",
      "mapping": [ {
        "map": "(申請項目)",
        "identity": "TWPASClaim"
      }, {
        "map": "(申請項目)",
        "identity": "TWPASMedicationRequestApply"
      }, {
        "map": "(申請項目)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "definition": "申請項目"
    }, {
      "id": "ApplyModel.apply.continuation",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.apply.continuation",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "續用註記",
      "mapping": [ {
        "map": "item.modifier.where(coding.system = 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-continuation-status').coding.code (續用註記)",
        "identity": "TWPASClaim"
      } ],
      "definition": "續用註記"
    }, {
      "id": "ApplyModel.apply.lot",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.apply.lot",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "用藥線別",
      "mapping": [ {
        "map": "item.modifier.where(coding.system = 'https://twcore.mohw.gov.tw/ig/pas/CodeSystem/nhi-line-of-therapy').coding.code (用藥線別)",
        "identity": "TWPASClaim"
      } ],
      "definition": "用藥線別"
    }, {
      "id": "ApplyModel.apply.orderType",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.orderType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "醫令類別",
      "mapping": [ {
        "map": "item.productOrService.coding.code (醫令類別)",
        "identity": "TWPASClaim"
      } ],
      "definition": "醫令類別"
    }, {
      "id": "ApplyModel.apply.cancerDrugType",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.cancerDrugType",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "事前審查品項代碼",
      "mapping": [ {
        "map": "item.extension.where(url = 'https://twcore.mohw.gov.tw/ig/pas/StructureDefinition/extension-requestedService').valueReference.reference (事前審查品項代碼)",
        "identity": "TWPASClaim"
      }, {
        "map": "medicationCodeableConcept.coding.code (事前審查品項代碼)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查品項代碼"
    }, {
      "id": "ApplyModel.apply.applyReason",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applyReason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "給付適應症條件",
      "mapping": [ {
        "map": "item.programCode (給付適應症條件)",
        "identity": "TWPASClaim"
      } ],
      "definition": "給付適應症條件"
    }, {
      "id": "ApplyModel.apply.applySide",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.apply.applySide",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "申請部位",
      "mapping": [ {
        "map": "item.bodySite (申請部位)",
        "identity": "TWPASClaim"
      } ],
      "definition": "申請部位"
    }, {
      "id": "ApplyModel.apply.applQty",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applQty",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "事前審查申請數量",
      "mapping": [ {
        "map": "item.quantity.value (事前審查申請數量)",
        "identity": "TWPASClaim"
      } ],
      "definition": "事前審查申請數量"
    }, {
      "id": "ApplyModel.apply.applQtyUnit",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applQtyUnit",
      "type": [ {
        "code": "code"
      } ],
      "short": "事前審查申請數量單位",
      "mapping": [ {
        "map": "item.quantity.unit (事前審查申請數量單位)",
        "identity": "TWPASClaim"
      } ],
      "definition": "事前審查申請數量單位"
    }, {
      "id": "ApplyModel.apply.applDrugFre",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applDrugFre",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "事前審查藥品使用頻率及服用時間",
      "mapping": [ {
        "map": "dosageInstruction.timing.code.coding.code (事前審查藥品使用頻率及服用時間)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥品使用頻率及服用時間"
    }, {
      "id": "ApplyModel.apply.applDrugRoute",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applDrugRoute",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "給藥途徑/作用部位",
      "mapping": [ {
        "map": "dosageInstruction.route (給藥途徑/作用部位)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "給藥途徑/作用部位"
    }, {
      "id": "ApplyModel.apply.applDosage",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applDosage",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "事前審查藥品每次處方劑量",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.value (事前審查藥品每次處方劑量)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥品每次處方劑量"
    }, {
      "id": "ApplyModel.apply.applDosageUnit",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applDosageUnit",
      "type": [ {
        "code": "code"
      } ],
      "short": "事前審查藥品每次處方劑量單位",
      "mapping": [ {
        "map": "dosageInstruction.doseAndRate.doseQuantity.unit (事前審查藥品每次處方劑量單位)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥品每次處方劑量單位"
    }, {
      "id": "ApplyModel.apply.useSdate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.apply.useSdate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "事前審查藥物預定處方起始日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.start (事前審查藥物預定處方起始日期)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥物預定處方起始日期"
    }, {
      "id": "ApplyModel.apply.useEdate",
      "max": "1",
      "min": 1,
      "path": "ApplyModel.apply.useEdate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "事前審查藥物預定處方終止日期",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.boundsPeriod.end (事前審查藥物預定處方終止日期)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥物預定處方終止日期"
    }, {
      "id": "ApplyModel.apply.applDrugCycle",
      "max": "*",
      "min": 1,
      "path": "ApplyModel.apply.applDrugCycle",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "事前審查藥品處方頻次",
      "mapping": [ {
        "map": "dosageInstruction.timing.repeat.count (事前審查藥品處方頻次)",
        "identity": "TWPASMedicationRequestApply"
      } ],
      "definition": "事前審查藥品處方頻次"
    }, {
      "id": "ApplyModel.apply.approveDate",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.apply.approveDate",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "核定日期",
      "mapping": [ {
        "map": "created (核定日期)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "definition": "核定日期"
    }, {
      "id": "ApplyModel.apply.approveNum",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.apply.approveNum",
      "type": [ {
        "code": "decimal"
      } ],
      "short": "核定數量",
      "mapping": [ {
        "map": "item.adjudication.reason.coding.code (核定數量)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "definition": "核定數量"
    }, {
      "id": "ApplyModel.apply.approveComment",
      "max": "*",
      "min": 0,
      "path": "ApplyModel.apply.approveComment",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "核定註記",
      "mapping": [ {
        "map": "item.adjudication.value (核定註記)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "definition": "核定註記"
    }, {
      "id": "ApplyModel.apply.acceptanceStatus",
      "max": "1",
      "min": 0,
      "path": "ApplyModel.apply.acceptanceStatus",
      "type": [ {
        "code": "code"
      } ],
      "short": "案件受理狀態",
      "mapping": [ {
        "map": "disposition (案件受理狀態)",
        "identity": "TWPASClaimResponseSelfAssessment"
      } ],
      "definition": "案件受理狀態"
    } ]
  },
  "contact": [ {
    "name": "衛生福利部中央健康保險署",
    "telecom": [ {
      "value": "https://www.nhi.gov.tw",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}