國家級人體生物資料庫整合平台共同資料模式實作指引(NBCT Common Data Model IG)
0.1.0 - trial-use

Publication Build: This will be filled in by the publication tooling

## Resource Profile: ProcedureTOTFAB - TTL Profile

Active as of 2024-09-01

TTL representation of the ProcedureTOTFAB resource profile.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "ProcedureTOTFAB"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition ProcedureTOTFAB</b></p><a name=\"ProcedureTOTFAB\"> </a><a name=\"hcProcedureTOTFAB\"> </a><a name=\"ProcedureTOTFAB-en-US\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure\">Procedure</a><a name=\"Procedure\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://twcore.mohw.gov.tw/ig/twcore/0.3.1/StructureDefinition-Procedure-twcore.html\">TWCoreProcedure</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">正在或曾經對病人執行的動作</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.code\" title=\"所進行的特定處置/手術。如果不能對處置/手術的確切種類進行編碼，則使用文字（例如：「腹腔鏡闌尾切除術」）。\r\nTOTFA:\r\nTOTFA.d4對應至特定治療項目代號(一)\r\nTOTFA.d5對應至特定治療項目代號(二)\r\nTOTFA.d6對應至特定治療項目代號(三)\r\nTOTFA.d7對應至特定治療項目代號(四)\r\nTOTFA.d24對應至主手術(處置)代碼\r\nTOTFA.d25對應至次手術(處置)代碼(一)\r\nTOTFA.d26對應至次手術(處置)代碼(二)\r\nTOTFB:\r\nTOTFB.d45對應至主手術(處置)代碼\r\nTOTFB.d46對應至次手術(處置)代碼(一)\r\nTOTFB.d47對應至次手術(處置)代碼(二)\r\nTOTFB.d48對應至次手術(處置)代碼(三)\">code</a><a name=\"Procedure.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://twcore.mohw.gov.tw/ig/twcore/0.3.1/StructureDefinition-CodeableConcept-tw.html\" title=\"CodeableConcept\">CodeableConceptTW</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.code.text\">text</a><a name=\"Procedure.code.text\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]。或可由此補充說明此代碼用途，例如：特定治療項目代號(一)</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.subject\">subject</a><a name=\"Procedure.subject\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-PatientCDM.html\">Patient TOTFA、TOTFB、LABD、LAM、CASE-病患基本資料</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">處置/手術服務的對象</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.subject.reference\">reference</a><a name=\"Procedure.subject.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">患者Resource Link</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.encounter\">encounter</a><a name=\"Procedure.encounter\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-EncounterTOTFA.html\">Encounter TOTFA-案件分類</a> | <a href=\"StructureDefinition-EncounterTOTFB.html\">Encounter TOTFB-案件分類</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">就醫（Encounter）紀錄作為處置/手術的一部分</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.encounter.reference\">reference</a><a name=\"Procedure.encounter.reference\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Literal reference, Relative, internal or absolute URL</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.note\">note</a><a name=\"Procedure.note\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Annotation\">Annotation</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">可補充說明此資料用途。備註特定治療項目代碼或手術(處置)代碼</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck000.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-ProcedureTOTFAB-definitions.html#Procedure.note.text\">text</a><a name=\"Procedure.note.text\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#markdown\">markdown</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">The annotation  - text content (as markdown)</span><br/><span style=\"font-weight:bold\">Example Example: </span><span style=\"color: darkgreen\">特定治療項目代號(一)</span></td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
      ] ; #
      fhir:url [ fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/ProcedureTOTFAB"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "ProcedureTOTFAB"] ; #
      fhir:title [ fhir:v "Procedure TOTFA、TOTFB-特定治療項目代號與手術(處置)代碼"] ; #
      fhir:status [ fhir:v "active"] ; #
      fhir:date [ fhir:v "2024-09-01"^^xsd:date] ; #
      fhir:publisher [ fhir:v "國家級人體生物資料庫整合平台"] ; #
      fhir:contact ( [
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "https://ghd.tw/" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "此Profile用於描述門診醫療申報檔(TOTFA)與住院醫療申報檔案(TOTFB)中的特定治療項目代號與手術(處置)代碼。"] ; #
      fhir:fhirVersion [ fhir:v "4.0.1"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:uri [ fhir:v "http://hl7.org/fhir/workflow"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "Workflow Pattern" ]
      ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:uri [ fhir:v "http://hl7.org/fhir/fivews"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "FiveWs Pattern Mapping" ]
      ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v2"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "HL7 v2 Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "resource"] ; #
      fhir:abstract [ fhir:v "false"^^xsd:boolean] ; #
      fhir:type [ fhir:v "Procedure"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore>
      ] ; #
      fhir:derivation [ fhir:v "constraint"] ; #
      fhir:snapshot [
        ( fhir:element [
    fhir:id [ fhir:v "Procedure" ] ;
    fhir:path [ fhir:v "Procedure" ] ;
    fhir:short [ fhir:v "正在或曾經對病人執行的動作" ] ;
    fhir:definition [ fhir:v "正在或曾經對病人執行的動作。這可以是像手術這樣的身體介入，也可以是像長照服務、諮詢或催眠療法這樣的非侵入性介入。HL7 FHIR官網另有提到的例子包括例如包括診斷處置/手術、內視鏡處置/手術、活體組織切片、諮詢、物理治療、個人支持服務、日照服務、非緊急運輸、改善家居設施、健身活動等。處置/手術可以由醫護人員、服務提供人員、朋友或親屬或在某些情況下由病人自己執行。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:constraint [
    fhir:key [ fhir:v "dom-2" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ;
    fhir:expression [ fhir:v "contained.contained.empty()" ] ;
    fhir:xpath [ fhir:v "not(parent::f:contained and f:contained)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-3" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ;
    fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-4" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ;
    fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
    fhir:key [ fhir:v "dom-5" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ;
    fhir:expression [ fhir:v "contained.meta.security.empty()" ] ;
    fhir:xpath [ fhir:v "not(exists(f:contained/*/f:meta/f:security))" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]         ] ) ;
    fhir:key [ fhir:v "dom-6" ] ;
    fhir:severity [ fhir:v "warning" ] ;
    fhir:human [ fhir:v "A resource should have narrative for robust management" ] ;
    fhir:expression [ fhir:v "text.`div`.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:text/h:div)" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Entity. Role, or Act" ]       ] [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Procedure[moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.id" ] ;
    fhir:path [ fhir:v "Procedure.id" ] ;
    fhir:short [ fhir:v "不重複的ID用以識別儲存在特定FHIR Server中的Procedure紀錄，通常又稱為邏輯性ID。" ] ;
    fhir:definition [ fhir:v "resource的邏輯ID，在resource的URL中使用。一旦指定，這個值永遠不會改變。" ] ;
    fhir:comment [ fhir:v "一個resource使用新增操作（create operation）提交給伺服器時，此resource沒有id，它的id在resource被創建後由伺器分配/指定。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "id"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.meta" ] ;
    fhir:path [ fhir:v "Procedure.meta" ] ;
    fhir:short [ fhir:v "此Procedure Resource的metadata" ] ;
    fhir:definition [ fhir:v "關於resource的metadata。這是由基礎建設維護的內容。內容的更改可能並不總是與resource的版本更改相關聯。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.meta" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Meta"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.implicitRules" ] ;
    fhir:path [ fhir:v "Procedure.implicitRules" ] ;
    fhir:short [ fhir:v "創建此內容所依據的一組規則" ] ;
    fhir:definition [ fhir:v "構建resource時遵循的一系列規則的參照，在處理內容時必須理解這些規則。通常這是對IG所定義之特殊規則及其他profiles的參照。" ] ;
    fhir:comment [ fhir:v "宣告這套規則限制了內容只能被有限的交易夥伴所理解。這從本質上限制了資料的長期有用性。然而，現有的健康生態體系高度分裂，還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能，實作者和/或規範編寫者應該避免使用這個資料項目。通常在使用時，此URL是對IG的參照，此IG將這些特殊規則與其他profiles、value sets等一起定義為其敘述的一部分。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.implicitRules" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.language" ] ;
    fhir:path [ fhir:v "Procedure.language" ] ;
    fhir:short [ fhir:v "用以表述Procedure Resource內容的語言。" ] ;
    fhir:definition [ fhir:v "編寫此resource的語言" ] ;
    fhir:comment [ fhir:v "提供語言是為了支援索引和可存取性（通常，文字表述轉語音等服務使用此語言標籤）。html lanuage tag適用於此敘述。resource上的語言標籤可用於指定從resource中的資料所產成的其他表述之語言。不是所有的內容都必須使用此語言。不應該假定Resource.language自動適用於敘述。如果指定語言，它也應該被指定在html中的div資料項目（關於xml:lang和html lang屬性之間的關係，見HTML5中的規則）。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Resource.language" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
          ( fhir:example [
    fhir:label [ fhir:v "Value" ] ;
    fhir:value [ fhir:v "zh-TW" ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"^^xsd:anyURI ] ;
    fhir:value [
    fhir:v "http://hl7.org/fhir/ValueSet/all-languages"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ] [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Language" ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/languages"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/languages>         ]       ]     ] [
    fhir:id [ fhir:v "Procedure.text" ] ;
    fhir:path [ fhir:v "Procedure.text" ] ;
    fhir:short [ fhir:v "Procedure Resource之內容摘要以供人閱讀" ] ;
    fhir:definition [ fhir:v "人可讀的敘述，包含resource的摘要，可用於向人表述resource的內容。敘述不需要對所有的結構化資料進行編碼，但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource定義有哪些內容應該在敘述中表示，以確保臨床安全。" ] ;
    fhir:comment [ fhir:v "內嵌（contained）的resource沒有敘述，非內嵌（contained）的resource則 **建議應該（SHOULD）** 有敘述。有時resource可能只有文字表述，很少或沒有額外的結構化資料（只要滿足所有minOccurs=1的資料項目）。這可能出現在舊系統的資料，當資訊以 「文字表述區塊（text blob） 」的形式被取得，或者文字表述是原始輸入或說明，而編碼資訊稍後再添加。" ] ;
          ( fhir:alias [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Narrative"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text?" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.contained" ] ;
    fhir:path [ fhir:v "Procedure.contained" ] ;
    fhir:short [ fhir:v "Contained, inline Resources" ] ;
    fhir:definition [ fhir:v "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ;
    fhir:comment [ fhir:v "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ;
          ( fhir:alias [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.contained" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Resource"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.extension" ] ;
    fhir:path [ fhir:v "Procedure.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource. 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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.modifierExtension" ] ;
    fhir:path [ fhir:v "Procedure.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored" ] ;
    fhir:definition [ fhir:v "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "DomainResource.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.identifier" ] ;
    fhir:path [ fhir:v "Procedure.identifier" ] ;
    fhir:short [ fhir:v "此處置/手術的外部識別碼" ] ;
    fhir:definition [ fhir:v "由執行者或其他系統指定給此處置/手術的業務用識別碼，即使此resource作更新及在伺服器之間的傳遞，此識別碼仍保持不變。" ] ;
    fhir:comment [ fhir:v "這是一個業務識別碼，不是一個resource識別碼（詳見討論）。最好的做法是該識別碼只出現在單個resource實例上，但是業務實務有可能會規定可以在多個resource實例中具有相同識別碼—甚至可能具有不同的resource型例。例如：多個 「Patient（病人）」和 「Person（個人）」resource實例可能共用同一個社會保險號碼。" ] ;
    fhir:requirements [ fhir:v "允許識別各參與系統所知的此處置/手術資訊，並在各伺服器之間保持一致的方式。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.identifier" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.identifier" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".id" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.instantiatesCanonical" ] ;
    fhir:path [ fhir:v "Procedure.instantiatesCanonical" ] ;
    fhir:short [ fhir:v "實例化FHIR計畫書（protocol）或定義" ] ;
    fhir:definition [ fhir:v "指向此處置/手術全部或部分遵守的FHIR定義的計畫書（protocol）、指南（guideline）、醫令集（orderset）或其他定義的URL。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.instantiatesCanonical" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "canonical"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/PlanDefinition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/PlanDefinition>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/ActivityDefinition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/ActivityDefinition>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Measure"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Measure>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/OperationDefinition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/OperationDefinition>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Questionnaire"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.instantiatesCanonical" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=DEFN].target" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.instantiatesUri" ] ;
    fhir:path [ fhir:v "Procedure.instantiatesUri" ] ;
    fhir:short [ fhir:v "實例化外部計畫書（protocol）或定義" ] ;
    fhir:definition [ fhir:v "指向此處置/手術全部或部分的外部維護之計畫書（protocol）、指南（guideline）、醫令集（orderset）或其他定義的URL。" ] ;
    fhir:comment [ fhir:v "這可能是一個HTML頁面、PDF等，也可能只是一個不可分解的URI識別碼。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.instantiatesUri" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.instantiatesUri" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=DEFN].target" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.basedOn" ] ;
    fhir:path [ fhir:v "Procedure.basedOn" ] ;
    fhir:short [ fhir:v "此Procedure是基於什麼而履行" ] ;
    fhir:definition [ fhir:v "對一個resource的參照，此resource包含此處置/手術請求的細節。" ] ;
          ( fhir:alias [ fhir:v "fulfills" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.basedOn" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/CarePlan"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/CarePlan>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/ServiceRequest"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.basedOn" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT,  moodCode=RQO].code" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.partOf" ] ;
    fhir:path [ fhir:v "Procedure.partOf" ] ;
    fhir:short [ fhir:v "參照事件的一部分" ] ;
    fhir:definition [ fhir:v "這個特定的處置/手術是一個更大的事件中的一個組成部分或步驟" ] ;
    fhir:comment [ fhir:v "MedicationAdministration.partOf有一個Procedure參照，但這不是一個迴圈參照。例如：麻醉的給藥（MedicationAdministration）是手術處置/手術的一部分（MedicationAdministration.partOf = Procedure）。例如：為靜脈給藥插入靜脈口的處置/手術是給藥的一部分（Procedure.partOf = MedicationAdministration）。" ] ;
          ( fhir:alias [ fhir:v "container" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.partOf" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/MedicationAdministration"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationAdministration>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.partOf" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.status" ] ;
    fhir:path [ fhir:v "Procedure.status" ] ;
    fhir:short [ fhir:v "preparation ｜ in-progress ｜ not-done ｜on-hold ｜stopped ｜ completed ｜ entered-in-error ｜ unknown" ] ;
    fhir:definition [ fhir:v "一個指定處置/手術當前狀態的代碼。一般來說，它是進行中或完成的狀態。" ] ;
    fhir:comment [ fhir:v "「未知」代碼不能用來表達其他狀態。當其中一個狀態適用時但編輯系統不知道此處置/手術的當前狀態，應該使用「未知」代碼。 \n \n此資料項目被標記為修飾用，因為狀態包含標記resource當前無效的代碼。" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.status" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "code"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "ProcedureStatus" ]         ] ) ;
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中的其中一個代碼" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/event-status|4.0.1"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/event-status|4.0.1>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.status" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.status" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "statusCode" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.statusReason" ] ;
    fhir:path [ fhir:v "Procedure.statusReason" ] ;
    fhir:short [ fhir:v "當前狀態的原因。" ] ;
    fhir:definition [ fhir:v "捕捉Procedure當前狀態的原因" ] ;
    fhir:comment [ fhir:v "這通常只用於「例外」狀態像是「未完成」、「暫停」或「終止」。執行此處置/手術的原因是在reasonCode中說明，而不是在這裡。" ] ;
          ( fhir:alias [ fhir:v "Suspended Reason" ] [ fhir:v "Cancelled Reason" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.statusReason" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-not-performed-reason>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.category" ] ;
    fhir:path [ fhir:v "Procedure.category" ] ;
    fhir:short [ fhir:v "處置/手術的分類。" ] ;
    fhir:definition [ fhir:v "對處置/手術進行分類的代碼（例如：「手術處置/手術」）。主要為了搜尋、排序和顯示時使用。" ] ;
    fhir:comment [ fhir:v "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.category" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-category"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-category>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code" ] ;
    fhir:path [ fhir:v "Procedure.code" ] ;
    fhir:short [ fhir:v "特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]" ] ;
    fhir:definition [ fhir:v "所進行的特定處置/手術。如果不能對處置/手術的確切種類進行編碼，則使用文字（例如：「腹腔鏡闌尾切除術」）。\r\nTOTFA:\r\nTOTFA.d4對應至特定治療項目代號(一)\r\nTOTFA.d5對應至特定治療項目代號(二)\r\nTOTFA.d6對應至特定治療項目代號(三)\r\nTOTFA.d7對應至特定治療項目代號(四)\r\nTOTFA.d24對應至主手術(處置)代碼\r\nTOTFA.d25對應至次手術(處置)代碼(一)\r\nTOTFA.d26對應至次手術(處置)代碼(二)\r\nTOTFB:\r\nTOTFB.d45對應至主手術(處置)代碼\r\nTOTFB.d46對應至次手術(處置)代碼(一)\r\nTOTFB.d47對應至次手術(處置)代碼(二)\r\nTOTFB.d48對應至次手術(處置)代碼(三)" ] ;
    fhir:comment [ fhir:v "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." ] ;
    fhir:requirements [ fhir:v "0..1主要僅用於解釋敘述性的resource。" ] ;
          ( fhir:alias [ fhir:v "type" ] ) ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.code" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "ProcedureCode" ]         ] ) ;
    fhir:strength [ fhir:v "example" ] ;
    fhir:description [ fhir:v "A code to identify a specific procedure ." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-code>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.id" ] ;
    fhir:path [ fhir:v "Procedure.code.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "唯一可識別ID，以供資料項目間相互參照。" ] ;
    fhir:definition [ fhir:v "resource中資料項目的唯一ID（用於內部參照）。這可以是任何不含空格的字串。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.extension" ] ;
    fhir:path [ fhir:v "Procedure.code.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "擴充的資料項目" ] ;
    fhir:definition [ fhir:v "擴充的資料項目" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.code.coding" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "pattern" ] ;
    fhir:path [ fhir:v "$this" ]         ] ) ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "由專門術語系統（terminology system）定義的代碼。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:icd10-pcs-2023" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "icd10-pcs-2023" ] ;
    fhir:short [ fhir:v "此為臺灣衛生福利部中央健康保險署（NHI）維護之2023年中文版ICD-10-PCS代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "處置/手術的識別；應填入所綁定值集中的其中一個代碼。" ] ;
    fhir:valueSet [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2023-tw>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:icd10-pcs-2021" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "icd10-pcs-2021" ] ;
    fhir:short [ fhir:v "此為臺灣衛生福利部中央健康保險署（NHI）維護之2021年中文版ICD-10-PCS代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "處置/手術的識別；應填入所綁定值集中的其中一個代碼。" ] ;
    fhir:valueSet [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2021-tw>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:icd10-pcs-2014" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "icd10-pcs-2014" ] ;
    fhir:short [ fhir:v "此為臺灣衛生福利部中央健康保險署（NHI）維護之2014年中文版ICD-10-PCS代碼，涵蓋範圍相對完整，可免費使用，可優先選用此代碼。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "處置/手術的識別；應填入所綁定值集中的其中一個代碼。" ] ;
    fhir:valueSet [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/ValueSet/icd-10-pcs-2014-tw>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:medical-service-payment" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "medical-service-payment" ] ;
    fhir:short [ fhir:v "此為臺灣衛生福利部中央健康保險署（NHI）維護之醫療服務給付項目，主要針對申報使用，可免費使用，可依情境選用此代碼。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "處置/手術的識別；應填入所綁定值集中的其中一個代碼。" ] ;
    fhir:valueSet [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/ValueSet/procedure-tw>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:sct-procedures" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "sct-procedures" ] ;
    fhir:short [ fhir:v "此為SNOMED CT處置/手術代碼，若機構已有購買相關授權，亦可使用。" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照。" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，如SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許使用者在不知道識別碼系統的情況下利用識別碼" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:description [ fhir:v "處置/手術的識別；應填入所綁定值集中的其中一個代碼。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-code>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.coding:loinc-procedures" ] ;
    fhir:path [ fhir:v "Procedure.code.coding" ] ;
    fhir:sliceName [ fhir:v "loinc-procedures" ] ;
    fhir:short [ fhir:v "由專門術語系統（terminology system）定義的代碼" ] ;
    fhir:definition [ fhir:v "由專門術語系統（terminology system）所定義之代碼的參照" ] ;
    fhir:comment [ fhir:v "代碼可以在列舉清單（enumerations）或代碼清單（code lists）中非常隨意地定義，直至有非常正式的定義，例如：SNOMED CT—更多資訊見HL7 v3核心原則（Core Principles ）。編碼的排序是未定義的因而 **必須沒有（SHALL NOT）** 被用來推斷意義。一般來說，最多只有一個編碼值（coding values）會被標記為UserSelected = true。" ] ;
    fhir:requirements [ fhir:v "允許代碼系統中的替代編碼，以及翻譯到其他編碼系統。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.coding" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Coding"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Coding-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "required" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/observation-codes"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/observation-codes>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CV" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:Coding rdfs:subClassOf dt:CDCoding" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.code.text" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
    fhir:path [ fhir:v "Procedure.code.text" ] ;
    fhir:short [ fhir:v "特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]。或可由此補充說明此代碼用途，例如：特定治療項目代號(一)" ] ;
    fhir:definition [ fhir:v "輸入資料的使用者所見／所選／所說的人類可讀文字表述，和（或）其代表使用者的預期含義。" ] ;
    fhir:comment [ fhir:v "很多時候，此文字表述與其中一個代碼的顯示名稱相同。" ] ;
    fhir:requirements [ fhir:v "專門術語中的代碼並不總是能捕捉人類使用的細微差別的正確意義，或者根本就沒有合適的代碼；這些情況下，文字表述被用來捕捉來源的全部意義。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "CodeableConcept.text" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "C*E.9. But note many systems use C*E.2 for this" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "./originalText[mediaType/code=\"text/plain\"]/data" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject" ] ;
    fhir:path [ fhir:v "Procedure.subject" ] ;
    fhir:short [ fhir:v "處置/手術服務的對象" ] ;
    fhir:definition [ fhir:v "進行處置/手術的病人、動物或實體集合（例如：特定的一群人）。" ] ;
          ( fhir:alias [ fhir:v "patient" ] ) ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.subject" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.subject" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.subject[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PID-3" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=SBJ].role" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.subject" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.id" ] ;
    fhir:path [ fhir:v "Procedure.subject.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.extension" ] ;
    fhir:path [ fhir:v "Procedure.subject.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.reference" ] ;
    fhir:path [ fhir:v "Procedure.subject.reference" ] ;
    fhir:short [ fhir:v "患者Resource Link" ] ;
    fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
    fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ref-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.type" ] ;
    fhir:path [ fhir:v "Procedure.subject.type" ] ;
    fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ;
    fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
    fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "FHIRResourceTypeExt" ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/resource-types>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.identifier" ] ;
    fhir:path [ fhir:v "Procedure.subject.identifier" ] ;
    fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
    fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
    fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".identifier" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.display" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
    fhir:path [ fhir:v "Procedure.subject.display" ] ;
    fhir:short [ fhir:v "Text alternative for the resource" ] ;
    fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
    fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.display" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter" ] ;
    fhir:path [ fhir:v "Procedure.encounter" ] ;
    fhir:short [ fhir:v "就醫（Encounter）紀錄作為處置/手術的一部分" ] ;
    fhir:definition [ fhir:v "此「處置/手術（Procedure）」記載在哪次的「就醫（Encounter）」紀錄或者與此處置/手術紀錄密切相關的「就醫（Encounter）」紀錄" ] ;
    fhir:comment [ fhir:v "通常是此處置/手術發生的就醫事件（Encounter），雖然有些活動可能在就醫結束之前或之後開始，但仍與就醫事件的情境有關。這筆紀錄表明與此處置/手術紀錄相關的就醫事件。" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.encounter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFA"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFA>         ] [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFB"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFB>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.context" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.context" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "PV1-19" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.id" ] ;
    fhir:path [ fhir:v "Procedure.encounter.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.extension" ] ;
    fhir:path [ fhir:v "Procedure.encounter.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.reference" ] ;
    fhir:path [ fhir:v "Procedure.encounter.reference" ] ;
    fhir:short [ fhir:v "Literal reference, Relative, internal or absolute URL" ] ;
    fhir:definition [ fhir:v "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." ] ;
    fhir:comment [ fhir:v "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.reference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:condition [ fhir:v "ref-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.type" ] ;
    fhir:path [ fhir:v "Procedure.encounter.type" ] ;
    fhir:short [ fhir:v "Type the reference refers to (e.g. \"Patient\")" ] ;
    fhir:definition [ fhir:v "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." ] ;
    fhir:comment [ fhir:v "This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "uri"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "FHIRResourceTypeExt" ]         ] ) ;
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "Aa resource (or, for logical models, the URI of the logical model)." ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/resource-types"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/resource-types>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.identifier" ] ;
    fhir:path [ fhir:v "Procedure.encounter.identifier" ] ;
    fhir:short [ fhir:v "Logical reference, when literal reference is not known" ] ;
    fhir:definition [ fhir:v "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." ] ;
    fhir:comment [ fhir:v "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".identifier" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.encounter.display" ] ;
          ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]       ] ) ;
    fhir:path [ fhir:v "Procedure.encounter.display" ] ;
    fhir:short [ fhir:v "Text alternative for the resource" ] ;
    fhir:definition [ fhir:v "Plain text narrative that identifies the resource in addition to the resource reference." ] ;
    fhir:comment [ fhir:v "This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Reference.display" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performed[x]" ] ;
    fhir:path [ fhir:v "Procedure.performed[x]" ] ;
    fhir:short [ fhir:v "此處置/手術何時執行的？" ] ;
    fhir:definition [ fhir:v "進行處置/手術的估計或實際日期、日期時間、時間區間或年齡。允許一個時間區間來支持跨越一個日期以上的複雜處置/手術，也允許捕捉處置/手術的執行時間長度。" ] ;
    fhir:comment [ fhir:v "年齡一般用於病人報告其進行手術的年齡，像是20到25歲時。 dateTime支援一定的精度範圍，因為有些處置/手術被報告為過去的處置/手術，可能沒有毫秒的精度，而其他在就醫期間執行和記錄的處置/手術可能有更精確的UTC時間戳記和時區。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.performed[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "true"^^xsd:boolean ]         ] ) ;
    fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Period"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Age"^^xsd:anyURI ]       ] [
    fhir:code [ fhir:v "Range"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.occurrence[x]" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.done[x]" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "OBR-7" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.recorder" ] ;
    fhir:path [ fhir:v "Procedure.recorder" ] ;
    fhir:short [ fhir:v "誰記錄此處置/手術" ] ;
    fhir:definition [ fhir:v "記錄處置/手術內容並對其內容負責的個人" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.recorder" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.author" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=AUT].role" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.asserter" ] ;
    fhir:path [ fhir:v "Procedure.asserter" ] ;
    fhir:short [ fhir:v "聲稱有此處置/手術的人" ] ;
    fhir:definition [ fhir:v "提出此處置/手術說明的人" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.asserter" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.source" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=INF].role" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer" ] ;
    fhir:path [ fhir:v "Procedure.performer" ] ;
    fhir:short [ fhir:v "執行處置/手術的人員" ] ;
    fhir:definition [ fhir:v "限於「真正的」人而不是設備" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.performer" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=PRF]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.id" ] ;
    fhir:path [ fhir:v "Procedure.performer.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.extension" ] ;
    fhir:path [ fhir:v "Procedure.performer.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.modifierExtension" ] ;
    fhir:path [ fhir:v "Procedure.performer.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.function" ] ;
    fhir:path [ fhir:v "Procedure.performer.function" ] ;
    fhir:short [ fhir:v "執行的型別" ] ;
    fhir:definition [ fhir:v "區分執行者在處置/手術中的參與型別，例如：外科醫生、麻醉師、內視鏡醫生。" ] ;
    fhir:comment [ fhir:v "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." ] ;
    fhir:requirements [ fhir:v "允許針對不同執行者的參與型別進行澄清以消除歧義" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.performer.function" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/performer-role"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/performer-role>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.actor" ] ;
    fhir:path [ fhir:v "Procedure.performer.actor" ] ;
    fhir:short [ fhir:v "參照至健康照護服務提供者" ] ;
    fhir:definition [ fhir:v "參與處置/手術的健康照護服務提供者" ] ;
    fhir:requirements [ fhir:v "一個參照至裝置（Device）的使用案例，例如：心律調整器。" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.performer.actor" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Device>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.performer.actor" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.actor" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "ORC-19/PRT-5" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".role" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.performer.onBehalfOf" ] ;
    fhir:path [ fhir:v "Procedure.performer.onBehalfOf" ] ;
    fhir:short [ fhir:v "此裝置（Device）或健康照護服務提供者所屬機構（Organization）" ] ;
    fhir:definition [ fhir:v "此裝置或健康照護服務提供者所代表的機構" ] ;
    fhir:requirements [ fhir:v "健康照護服務提供者和裝置可以與多個機構相關聯，此資料項目表明他們在執行行動時代表哪個機構。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.performer.onBehalfOf" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".scoper" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.location" ] ;
    fhir:path [ fhir:v "Procedure.location" ] ;
    fhir:short [ fhir:v "處置/手術發生的地點（Location）？" ] ;
    fhir:definition [ fhir:v "實際發生處置/手術的地點（Location）。例如：新生兒在家裡出生、在餐廳做氣管切開術。" ] ;
    fhir:requirements [ fhir:v "將一個處置/手術與可能保存紀錄的地點（Location）聯繫起來" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.location" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Location-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Location-twcore>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.where[x]" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=LOC].role[classCode=SDLOC]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.reasonCode" ] ;
    fhir:path [ fhir:v "Procedure.reasonCode" ] ;
    fhir:short [ fhir:v "處置/手術執行原因代碼" ] ;
    fhir:definition [ fhir:v "進行此處置/手術的原因代碼。這可能是某種型別的編碼，也可能只是文字表述。" ] ;
    fhir:comment [ fhir:v "當一個代碼足以描述原因時，使用Procedure.reasonCode。當參照一個resource時，使用Procedure.reasonReference以傳達更多的資訊，如發病日期。Procedure.reasonCode和Procedure.reasonReference不應該是重複的。對於一個單一的原因，Procedure.reasonCode或Procedure.reasonReference都可以被使用。Procedure.reasonCode可以是一個摘要代碼，或者Procedure.reasonReference可以用Condition | Observation | Procedure | DiagnosticReport | DocumentReference來參照一個非常精確的原因定義。如果Procedure.reasonCode和Procedure.reasonReference描述的是處置/手術的不同原因，則兩者都可以使用。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.reasonCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-reason"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-reason>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.reasonReference" ] ;
    fhir:path [ fhir:v "Procedure.reasonReference" ] ;
    fhir:short [ fhir:v "執行此處置/手術的原因" ] ;
    fhir:definition [ fhir:v "為什麼進行此處置/手術的原因" ] ;
    fhir:comment [ fhir:v "一個處置/手術有可能成為另一個處置/手術（如C-Section）的理由（如硬膜外）。其他的例子包括擴張的內窺鏡檢查和活檢（診斷和治療的結合）。\n 當一個代碼充分地描述了原因時，使用Procedure.reasonCode。當引用一個resource時，使用Procedure.reasonReference，這樣可以傳達更多的資訊，如發病日期。Procedure.reasonCode和Procedure.reasonReference不應該是重複的。對於一個單一的原因，Procedure.reasonCode或Procedure.reasonReference都可以被使用。Procedure.reasonCode可以是一個摘要代碼，或者Procedure.reasonReference可以用Condition | Observation | Procedure | DiagnosticReport | DocumentReference來引用一個非常精確的原因定義。如果Procedure.reasonCode和Procedure.reasonReference描述的是處置/手術的不同原因，則兩者都可以使用。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.reasonReference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Observation-laboratoryResult-twcore>         ] [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Procedure-twcore>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DiagnosticReport>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DocumentReference>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.reasonReference" ]       ] [
    fhir:identity [ fhir:v "w5" ] ;
    fhir:map [ fhir:v "FiveWs.why[x]" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".reasonCode" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.bodySite" ] ;
    fhir:path [ fhir:v "Procedure.bodySite" ] ;
    fhir:short [ fhir:v "目標身體部位。" ] ;
    fhir:definition [ fhir:v "詳細和結構化的解剖學位置資訊。允許多個位置—例如：一個病灶的多個活體組織切片。" ] ;
    fhir:comment [ fhir:v "如果案例需要BodySite resource的屬性（例如：識別和各別追蹤），那麼就使用標準擴充[procedure-targetbodystructure]（擴充-procedure-targetbodystructure.html）。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.bodySite" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/body-site"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/body-site>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.outcome" ] ;
    fhir:path [ fhir:v "Procedure.outcome" ] ;
    fhir:short [ fhir:v "處置/手術的結果。" ] ;
    fhir:definition [ fhir:v "處置/手術的結果—它是否解決了當初執行處置/手術所要解決的問題？" ] ;
    fhir:comment [ fhir:v "如果結果只包含敘述性文字，可用CodeableConcept.text來說明。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.outcome" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-outcome"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-outcome>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.report" ] ;
    fhir:path [ fhir:v "Procedure.report" ] ;
    fhir:short [ fhir:v "此處置/手術產生的任何報告" ] ;
    fhir:definition [ fhir:v "這可能是組織學結果、病理學報告、手術報告等。" ] ;
    fhir:comment [ fhir:v "有可能會有多份報告—例如：如果這是一個需要進行多次活體組織切片的處置/手術，會產生一些解剖病理報告。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.report" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DiagnosticReport>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/DocumentReference"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/DocumentReference>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Composition"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Composition>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.complication" ] ;
    fhir:path [ fhir:v "Procedure.complication" ] ;
    fhir:short [ fhir:v "處置/手術後的併發症" ] ;
    fhir:definition [ fhir:v "在處置/手術過程中，或在處置/手術後不久發生的任何併發症。這些通常與紀錄分開追蹤，紀錄通常描述處置/手術本身，而不是任何 「處置/手術後」的問題。" ] ;
    fhir:comment [ fhir:v "如果併發症僅由敘述性文字表達，可用CodeableConcept.text來說明。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.complication" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/condition-code"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/condition-code>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.complicationDetail" ] ;
    fhir:path [ fhir:v "Procedure.complicationDetail" ] ;
    fhir:short [ fhir:v "處置/手術後發生的病情、問題或診斷" ] ;
    fhir:definition [ fhir:v "在處置/手術過程中或在執行結束後立即發生的任何併發症" ] ;
    fhir:requirements [ fhir:v "這是用來記錄作為處置/手術結果的病情、問題或診斷，而不是作為處置/手術原因的病情、問題或診斷。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.complicationDetail" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Condition-twcore>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.followUp" ] ;
    fhir:path [ fhir:v "Procedure.followUp" ] ;
    fhir:short [ fhir:v "追蹤說明。" ] ;
    fhir:definition [ fhir:v "如果該處置/手術需要特定的後續行動—例如拆除縫線。 後續行動可以表現為一個簡單的說明，也可能是更複雜的，在這種情況下，可以使用CarePlan resource。" ] ;
    fhir:comment [ fhir:v "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.followUp" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/procedure-followup"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/procedure-followup>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note" ] ;
    fhir:path [ fhir:v "Procedure.note" ] ;
    fhir:short [ fhir:v "可補充說明此資料用途。備註特定治療項目代碼或手術(處置)代碼" ] ;
    fhir:definition [ fhir:v "關於此處置/手術的任何其他註釋和意見" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.note" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Annotation"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "workflow" ] ;
    fhir:map [ fhir:v "Event.note" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "NTE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note.id" ] ;
    fhir:path [ fhir:v "Procedure.note.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note.extension" ] ;
    fhir:path [ fhir:v "Procedure.note.extension" ] ;
    fhir:slicing [
            ( fhir:discriminator [
    fhir:type [ fhir:v "value" ] ;
    fhir:path [ fhir:v "url" ]         ] ) ;
    fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
    fhir:rules [ fhir:v "open" ]       ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note.author[x]" ] ;
    fhir:path [ fhir:v "Procedure.note.author[x]" ] ;
    fhir:short [ fhir:v "Individual responsible for the annotation" ] ;
    fhir:definition [ fhir:v "The individual responsible for making the annotation." ] ;
    fhir:comment [ fhir:v "Organization is used when there's no need for specific attribution as to who made the comment." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.author[x]" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Practitioner"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Practitioner>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Patient"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/RelatedPerson"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/RelatedPerson>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Organization"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Organization>         ] )       ] [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.participant[typeCode=AUT].role" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note.time" ] ;
    fhir:path [ fhir:v "Procedure.note.time" ] ;
    fhir:short [ fhir:v "When the annotation was made" ] ;
    fhir:definition [ fhir:v "Indicates when this particular annotation was made." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.time" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.effectiveTime" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.note.text" ] ;
    fhir:path [ fhir:v "Procedure.note.text" ] ;
    fhir:short [ fhir:v "The annotation  - text content (as markdown)" ] ;
    fhir:definition [ fhir:v "The text of the annotation in markdown format." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Annotation.text" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "markdown"^^xsd:anyURI ]       ] ) ;
          ( fhir:example [
    fhir:label [ fhir:v "Example" ] ;
    fhir:value [ fhir:v "特定治療項目代號(一)" ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "N/A" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "Act.text" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice" ] ;
    fhir:short [ fhir:v "處理、植入的或移除的裝置" ] ;
    fhir:definition [ fhir:v "植入、移除或以其他方式操作的裝置（校準、更換電池、安裝義肢、安裝傷口真空裝置等），是處置/手術的重點部分。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.focalDevice" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "BackboneElement"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=DEV].role[classCode=MANU]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice.id" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice.id" ] ;
          ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
    fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
    fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.id" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "string"^^xsd:anyURI ]         ] ) ;
    fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice.extension" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice.extension" ] ;
    fhir:short [ fhir:v "Additional content defined by implementations" ] ;
    fhir:definition [ fhir:v "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." ] ;
    fhir:comment [ fhir:v "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." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Element.extension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice.modifierExtension" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice.modifierExtension" ] ;
    fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ;
    fhir:definition [ fhir:v "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)." ] ;
    fhir:comment [ fhir:v "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." ] ;
    fhir:requirements [ fhir:v "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)." ] ;
          ( fhir:alias [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Extension"^^xsd:anyURI ]       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
    fhir:key [ fhir:v "ext-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
    fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
    fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
    fhir:isModifier [ fhir:v "true"^^xsd:boolean ] ;
    fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ;
    fhir:isSummary [ fhir:v "true"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "N/A" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice.action" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice.action" ] ;
    fhir:short [ fhir:v "改變裝置的種類" ] ;
    fhir:definition [ fhir:v "處置/手術過程中，設備改變的類型。" ] ;
    fhir:comment [ fhir:v "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.focalDevice.action" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
            ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "DeviceActionKind" ]         ] ) ;
    fhir:strength [ fhir:v "preferred" ] ;
    fhir:description [ fhir:v "鼓勵使用所綁定值集中的代碼，但不強制一定要使用此值集，你也可使用其他值集的代碼或單純以文字表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/device-action"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/device-action>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.focalDevice.manipulated" ] ;
    fhir:path [ fhir:v "Procedure.focalDevice.manipulated" ] ;
    fhir:short [ fhir:v "被改變的裝置" ] ;
    fhir:definition [ fhir:v "在處置/手術中被處理（改變）的裝置" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.focalDevice.manipulated" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Device>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=DEV].role[classCode=SDLOC]" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.usedReference" ] ;
    fhir:path [ fhir:v "Procedure.usedReference" ] ;
    fhir:short [ fhir:v "處置/手術中使用的項目／物品" ] ;
    fhir:definition [ fhir:v "指明藥品、裝置和作為處置/手術一部分的任何其他物質" ] ;
    fhir:comment [ fhir:v "對於實際植入或取出的裝置，使用Procedure.device。" ] ;
    fhir:requirements [ fhir:v "用於追蹤污染等" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.usedReference" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Device"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Device>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Medication"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Medication>         ] [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Substance"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Substance>         ] )       ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:isSummary [ fhir:v "false"^^xsd:boolean ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v ".participation[typeCode=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)" ]       ] )     ] [
    fhir:id [ fhir:v "Procedure.usedCode" ] ;
    fhir:path [ fhir:v "Procedure.usedCode" ] ;
    fhir:short [ fhir:v "處置/手術中使用的項目之代碼" ] ;
    fhir:definition [ fhir:v "指明作為處置/手術的一部分而使用的編碼項目" ] ;
    fhir:comment [ fhir:v "對於實際植入或取出的裝置，使用Procedure.device。" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Procedure.usedCode" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ] ;
            ( fhir:profile [
    fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"^^xsd:anyURI ;
    fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw>         ] )       ] ) ;
          ( fhir:condition [ fhir:v "ele-1" ] ) ;
          ( fhir:constraint [
    fhir:key [ fhir:v "ele-1" ] ;
    fhir:severity [ fhir:v "error" ] ;
    fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
    fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
    fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
    fhir:source [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
    fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
    fhir:binding [
    fhir:strength [ fhir:v "extensible" ] ;
    fhir:description [ fhir:v "應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。" ] ;
    fhir:valueSet [
    fhir:v "http://hl7.org/fhir/ValueSet/device-kind"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/ValueSet/device-kind>         ]       ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] [
    fhir:identity [ fhir:v "v2" ] ;
    fhir:map [ fhir:v "CE/CNE/CWE" ]       ] [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "CD" ]       ] [
    fhir:identity [ fhir:v "orim" ] ;
    fhir:map [ fhir:v "fhir:CodeableConcept rdfs:subClassOf dt:CD" ]       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "Procedure" ] ;
    fhir:path [ fhir:v "Procedure" ]     ] [
    fhir:id [ fhir:v "Procedure.code" ] ;
    fhir:path [ fhir:v "Procedure.code" ] ;
    fhir:short [ fhir:v "特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]" ] ;
    fhir:definition [ fhir:v "所進行的特定處置/手術。如果不能對處置/手術的確切種類進行編碼，則使用文字（例如：「腹腔鏡闌尾切除術」）。\r\nTOTFA:\r\nTOTFA.d4對應至特定治療項目代號(一)\r\nTOTFA.d5對應至特定治療項目代號(二)\r\nTOTFA.d6對應至特定治療項目代號(三)\r\nTOTFA.d7對應至特定治療項目代號(四)\r\nTOTFA.d24對應至主手術(處置)代碼\r\nTOTFA.d25對應至次手術(處置)代碼(一)\r\nTOTFA.d26對應至次手術(處置)代碼(二)\r\nTOTFB:\r\nTOTFB.d45對應至主手術(處置)代碼\r\nTOTFB.d46對應至次手術(處置)代碼(一)\r\nTOTFB.d47對應至次手術(處置)代碼(二)\r\nTOTFB.d48對應至次手術(處置)代碼(三)" ]     ] [
    fhir:id [ fhir:v "Procedure.code.text" ] ;
    fhir:path [ fhir:v "Procedure.code.text" ] ;
    fhir:short [ fhir:v "特定治療項目代碼或手術(處置)代碼。對應至TOTFA:[TOTFA.d4/TOTFA.d5/TOTFA.d6/TOTFA.d7/TOTFA.d24/TOTFA.d25/TOTFA.d26]。對應至TOTFB:[TOTFB.d45/TOTFB.d46/TOTFB.d47/TOTFB.d48/TOTFB.d49]。或可由此補充說明此代碼用途，例如：特定治療項目代號(一)" ]     ] [
    fhir:id [ fhir:v "Procedure.subject" ] ;
    fhir:path [ fhir:v "Procedure.subject" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/PatientCDM>         ] )       ] )     ] [
    fhir:id [ fhir:v "Procedure.subject.reference" ] ;
    fhir:path [ fhir:v "Procedure.subject.reference" ] ;
    fhir:short [ fhir:v "患者Resource Link" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.encounter" ] ;
    fhir:path [ fhir:v "Procedure.encounter" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFA"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFA>         ] [
    fhir:v "https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFB"^^xsd:anyURI ;
    fhir:link <https://www.ghd.tw/cdm-fhir/fhir/StructureDefinition/EncounterTOTFB>         ] )       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.encounter.reference" ] ;
    fhir:path [ fhir:v "Procedure.encounter.reference" ] ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.note" ] ;
    fhir:path [ fhir:v "Procedure.note" ] ;
    fhir:short [ fhir:v "可補充說明此資料用途。備註特定治療項目代碼或手術(處置)代碼" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] [
    fhir:id [ fhir:v "Procedure.note.text" ] ;
    fhir:path [ fhir:v "Procedure.note.text" ] ;
          ( fhir:example [
    fhir:label [ fhir:v "Example" ] ;
    fhir:value [ fhir:v "特定治療項目代號(一)" ]       ] ) ;
    fhir:mustSupport [ fhir:v "true"^^xsd:boolean ]     ] )
      ] . #