同意書實作指引(Consent Form IG)
0.1.0 - CI Build

This page is part of the 同意書實作指引 (v0.1.0: Releases Ballot 1) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: 同意書-伺服端 - JSON Representation

Active as of 2022-12-20

Raw json | Download


{
  "resourceType" : "CapabilityStatement",
  "id" : "CapabilityStatementConsentServer",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><ul><li>實作指引版本:0.1.0</li><li>FHIR版本:4.0.1</li><li>發佈日:2022-12-20</li><li>發佈者:ABC科技股份有限公司</li></ul><h3 id=\"behavior\">Server的FHIR RESTful功能要求</h3><ul><li>同意書-伺服端 <strong>必須(SHALL)</strong></li><ol><li>可透過FHIR RESTful API查詢的Resources</li><li>根據FHIR規範實作RESTful</li><li>HTTP回傳狀態碼<ul><li>(Status 400):無效參數(invalid parameter)</li><li>(Status 401/4xx):未經授權的請求(unauthorized request)</li><li>(Status 403):未充分授權的資料存取範圍(insufficient premission scope)</li><li>(Status 404):未知的resource(unknown resource)</li></ul></li><li>Server提供的API操作皆支援JSON格式</li><li>可識別每個新增到Server的實例(instance)之 <code>meta.profile</code>是否為TW Core Profiles Defining URL,並確認實例是否依循profile製作。【註:實例是指依據profile實作,將真實資料以JSON、XML或Turtle格式存放的檔案】</li><li>支援每個profile的查詢參數</li></ol><li>同意書-伺服端 <strong>建議應該(SHOULD)</strong></li><ol><li>Server提供的API操作皆支援XML格式</li></ol><li><strong>安全性</strong></li><ol><li>Server必須(SHALL)透過回傳 <code>HTTP 401</code>「未授權」, <code>HTTP 403</code>「禁止」,或 <code>HTTP 404</code> 「未找到」,來拒絕任何未經授權的請求</li></ol></ul><h3 id=\"resource-details\" class=\"no_toc\">Resources或Profiles的RESTful功能</h3><ul><li><strong>共有四類Resources支援查詢,查詢參數如表列:</strong></li><table class=\"grid\"><thead><tr><th>Resources型別</th><th>Profile</th><th>支援的Profiles</th><th>支援的查詢參數</th><th>支援<code>_includes</code>(未來視情況新增)</th><th>支援<code>_revincludes</code>(未來視情況新增)</th><th>支援Operations(未來視情況新增)</th></tr></thead><tbody><tr><td><a href=\"#Bundle\">Bundle</a></td><td>-</td><td><a href=\"StructureDefinition-Bundle-doltc-afft.html\">長期照顧司籌備辦公室-切結書(Bundle-DOLTC-AFFT)</a>,<br/><a href=\"StructureDefinition-Bundle-doltc-ltcna.html\">長期照顧司籌備辦公室-長期照顧需要評估結果通知單(Bundle-DOLTC-LTCNA)</a>,<br/><a href=\"StructureDefinition-Bundle-doltc-pdcpua.html\">長期照顧司籌備辦公室-個人資料蒐集、處理及利用告知事項(Bundle-DOLTC-PDCPUA)</a>,<br/><a href=\"StructureDefinition-Bundle-doltc-cmaf.html\">長期照顧司籌備辦公室-個案服務管理申請書(Bundle-DOLTC-CMAF)</a>,<br/><a href=\"StructureDefinition-Bundle-hpa-cfk7-12y.html\">衛生福利部國民健康署-兒童版同意書(Bundle-HPA-CFK7-12Y)</a>,<br/><a href=\"StructureDefinition-Bundle-hpa-cfs7-20y.html\">衛生福利部國民健康署-受試者同意書(Bundle-HPA-CFS7-20Y)</a>,<br/><a href=\"StructureDefinition-Bundle-doma-cfpc.html\">醫事司-安寧療護意願書(Bundle-DOMA-CFPC)</a>,<br/><a href=\"StructureDefinition-Bundle-doma-cfod.html\">醫事司-器官捐贈同意書(Bundle-DOMA-CFOD)</a></td><td>_id, composition, timestamp</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href=\"#Composition\">Composition</a></td><td><a href=\"StructureDefinition-Composition-cf.html\">同意書Composition(Composition-CF)</a></td><td>-</td><td>author, subject</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href=\"#Consent\">Consent</a></td><td><a href=\"StructureDefinition-Consent-cf.html\">同意書(Consent-Base)</a></td><td><a href=\"StructureDefinition-Consent-doltc-afft.html\">長期照顧司籌備辦公室-切結書(Consent-DOLTC-AFFT)</a>,<br/><a href=\"StructureDefinition-Consent-doltc-ltcna.html\">長期照顧司籌備辦公室-長期照顧需要評估結果通知單(Consent-DOLTC-LTCNA)</a>,<br/><a href=\"StructureDefinition-Consent-doltc-pdcpua.html\">長期照顧司籌備辦公室-個人資料蒐集、處理及利用告知事項(Consent-DOLTC-PDCPUA)</a>,<br/><a href=\"StructureDefinition-Consent-doltc-cmaf.html\">長期照顧司籌備辦公室-個案服務管理申請書(Consent-DOLTC-CMAF)</a>,<br/><a href=\"StructureDefinition-Consent-hpa-cfk7-12y.html\">衛生福利部國民健康署-兒童版同意書(Consent-HPA-CFK7-12Y)</a>,<br/><a href=\"StructureDefinition-Consent-hpa-cfs7-20y.html\">衛生福利部國民健康署-受試者同意書(Consent-HPA-CFS7-20Y)</a>,<br/><a href=\"StructureDefinition-Consent-doma-cfpc.html\">醫事司-安寧療護意願書(Consent-DOMA-CFPC)</a>,<br/><a href=\"StructureDefinition-Consent-doma-cfod.html\">Consent-doma-cfod</a></td><td>_id, category</td><td>-</td><td>-</td><td>-</td></tr><tr><td><a href=\"#DocumentReference\">DocumentReference</a></td><td><a href=\"StructureDefinition-DocumentReference-cf.html\">同意書-參照的文件(DocumentReference-CF)</a></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr></tbody></table></ul><h4 id=\"Bundle\" class=\"no_toc\">Bundle</h4><ul><li>預期的符合性(Conformance Expectation): <strong>必須(SHALL)</strong></li><li>支援的Profiles: <a href=\"StructureDefinition-Bundle-doltc-afft.html\">長期照顧司籌備辦公室-切結書(Bundle-DOLTC-AFFT)</a>, <a href=\"StructureDefinition-Bundle-doltc-ltcna.html\">長期照顧司籌備辦公室-長期照顧需要評估結果通知單(Bundle-DOLTC-LTCNA)</a>, <a href=\"StructureDefinition-Bundle-doltc-pdcpua.html\">長期照顧司籌備辦公室-個人資料蒐集、處理及利用告知事項(Bundle-DOLTC-PDCPUA)</a>, <a href=\"StructureDefinition-Bundle-doltc-cmaf.html\">長期照顧司籌備辦公室-個案服務管理申請書(Bundle-DOLTC-CMAF)</a>, <a href=\"StructureDefinition-Bundle-hpa-cfk7-12y.html\">衛生福利部國民健康署-兒童版同意書(Bundle-HPA-CFK7-12Y)</a>, <a href=\"StructureDefinition-Bundle-hpa-cfs7-20y.html\">衛生福利部國民健康署-受試者同意書(Bundle-HPA-CFS7-20Y)</a>, <a href=\"StructureDefinition-Bundle-doma-cfpc.html\">醫事司-安寧療護意願書(Bundle-DOMA-CFPC)</a>, <a href=\"StructureDefinition-Bundle-doma-cfod.html\">醫事司-器官捐贈同意書(Bundle-DOMA-CFOD)</a></li><li><a href=\"https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves\">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>create</code>、 <code>read</code>、 <code>update</code>、 <code>vread</code>、 <code>search-type</code>、 <code>patch</code></li></ul><li>查詢參數摘要</li><table class=\"grid\"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Bundle-id.html\">_id</a></td><td>token</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?_id=[id]</code>,<br/><code class=\"highlighter-rouge\">GET [base]/Bundle/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Bundle-composition.html\">composition</a></td><td>reference</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?composition.author={Type/}[id]</code>,<br/><code class=\"highlighter-rouge\">GET [base]/Bundle?composition.subject={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Bundle-timestamp.html\">timestamp</a></td><td>date</td><td><code class=\"highlighter-rouge\">GET [base]/Bundle?timestamp={gt|lt|ge|le}[date]</code></td></tr></tbody></table></ul><h4 id=\"Composition\" class=\"no_toc\">Composition</h4><ul><li>預期的符合性(Conformance Expectation): <strong>必須(SHALL)</strong></li><li>Profiles: <a href=\"StructureDefinition-Composition-cf.html\">同意書Composition(Composition-CF</a></li><li><a href=\"https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves\">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>create</code>、 <code>read</code>、 <code>update</code>、 <code>vread</code>、 <code>search-type</code>、 <code>patch</code></li></ul><li>查詢參數摘要</li><table class=\"grid\"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Composition-author.html\">author</a></td><td>reference</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?author={Type/}[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Composition-subject.html\">subject</a></td><td>reference</td><td><code class=\"highlighter-rouge\">GET [base]/Composition?subject={Type/}[id]</code></td></tr></tbody></table></ul><h4 id=\"Consent\" class=\"no_toc\">Consent</h4><ul><li>預期的符合性(Conformance Expectation): <strong>必須(SHALL)</strong></li><li>Profiles: <a href=\"StructureDefinition-Consent-cf.html\">同意書(Consent-Base)</a></li><li>支援的Profiles: <a href=\"StructureDefinition-Consent-doltc-afft.html\">長期照顧司籌備辦公室-切結書(Consent-DOLTC-AFFT)</a>, <a href=\"StructureDefinition-Consent-doltc-ltcna.html\">長期照顧司籌備辦公室-長期照顧需要評估結果通知單(Consent-DOLTC-LTCNA)</a>, <a href=\"StructureDefinition-Consent-doltc-pdcpua.html\">長期照顧司籌備辦公室-個人資料蒐集、處理及利用告知事項(Consent-DOLTC-PDCPUA)</a>, <a href=\"StructureDefinition-Consent-doltc-cmaf.html\">長期照顧司籌備辦公室-個案服務管理申請書(Consent-DOLTC-CMAF)</a>, <a href=\"StructureDefinition-Consent-hpa-cfk7-12y.html\">衛生福利部國民健康署-兒童版同意書(Consent-HPA-CFK7-12Y)</a>, <a href=\"StructureDefinition-Consent-hpa-cfs7-20y.html\">衛生福利部國民健康署-受試者同意書(Consent-HPA-CFS7-20Y)</a>, <a href=\"StructureDefinition-Consent-doma-cfpc.html\">醫事司-安寧療護意願書(Consent-DOMA-CFPC)</a>, <a href=\"StructureDefinition-Consent-doma-cfod.html\">Consent-doma-cfod</a></li><li><a href=\"https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves\">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>create</code>、 <code>read</code>、 <code>update</code>、 <code>vread</code>、 <code>search-type</code>、 <code>patch</code></li></ul><li>查詢參數摘要</li><table class=\"grid\"><thead><tr><th>符合性(Conformance)</th><th>參數</th><th>類型</th><th>範例</th></tr></thead><tbody><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Consent-id.html\">_id</a></td><td>token</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?_id=[id]</code>,<br/><code class=\"highlighter-rouge\">GET [base]/Consent/[id]</code></td></tr><tr><td><strong>必須(SHALL)</strong></td><td><a href=\"SearchParameter-Consent-category.html\">category</a></td><td>token</td><td><code class=\"highlighter-rouge\">GET [base]/Consent?category={system|}[code]</code></td></tr></tbody></table></ul><h4 id=\"DocumentReference\" class=\"no_toc\">DocumentReference</h4><ul><li>預期的符合性(Conformance Expectation): <strong>必須(SHALL)</strong></li><li>Profiles: <a href=\"StructureDefinition-DocumentReference-cf.html\">同意書-參照的文件(DocumentReference-CF)</a></li><li><a href=\"https://build.fhir.org/codesystem-reference-handling-policy.html#reference-handling-policy-resolves\">支援的參照政策(Reference policy)</a>: <code>resolves</code>,Server會嘗試將邏輯參照(logical reference)解析為文字參照,意即轉換Reference.identifier為Reference.reference(但如果解析失敗,Server仍然會接收這個resource,請參閱 <code>logical</code>)。</li><li>Profile</li><ul><li><strong>必須(SHALL)</strong>支援 <code>create</code>、 <code>read</code>、 <code>update</code>、 <code>vread</code>、 <code>search-type</code>、 <code>patch</code></li></ul></ul></div>"
  },
  "url" : "http://hitstdio.ntunhs.edu.tw/consentForm/CapabilityStatement/CapabilityStatementConsentServer",
  "version" : "0.1.0",
  "name" : "CapabilityStatementConsentServer",
  "title" : "同意書-伺服端",
  "status" : "active",
  "experimental" : false,
  "date" : "2022-12-20",
  "publisher" : "ABC科技股份有限公司",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.infopro.tw"
        }
      ]
    }
  ],
  "description" : "同意書-伺服端(Server)之能力聲明",
  "kind" : "requirements",
  "fhirVersion" : "4.0.1",
  "format" : [
    "xml",
    "json"
  ],
  "patchFormat" : [
    "application/json-patch+json"
  ],
  "implementationGuide" : [
    "http://hitstdio.ntunhs.edu.tw/consentForm/ImplementationGuide/twcore.mohw.gov.tw"
  ],
  "rest" : [
    {
      "mode" : "server",
      "documentation" : "同意書-伺服端必須(SHALL):(1)支援本實作指引中所有profiles (2)根據FHIR規範實作RESTful (3)回傳狀態碼-①(Status 400):無效參數(invalid parameter)、②(Status 401/4xx):未經授權的請求(unauthorized request)、③(Status 403):未充分授權的資料存取範圍(insufficient premission scope)、④(Status 404):未知的resource(unknown resource) (4)支援JSON格式 (5)可識別每個新增到Server的實例(instance)之meta.profile是否為同意書Profiles Defining URL,並確認實例是否依循profile製作。 (6)支援每個profile的查詢參數。同意書-伺服端建議應該(SHOULD):(1)支援XML格式。",
      "resource" : [
        {
          "type" : "Bundle",
          "supportedProfile" : [
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doltc-afft",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doltc-ltcna",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doltc-pdcpua",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doltc-cmaf",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-hpa-cfk7-12y",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-hpa-cfs7-20y",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doma-cfpc",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Bundle-doma-cfod"
          ],
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "patch"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "_id",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Bundle-id",
              "type" : "token"
            },
            {
              "name" : "composition",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Bundle-composition",
              "type" : "reference"
            },
            {
              "name" : "timestamp",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Bundle-timestamp",
              "type" : "date"
            }
          ]
        },
        {
          "type" : "Composition",
          "profile" : "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Composition-cf",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "patch"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "author",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Composition-author",
              "type" : "reference"
            },
            {
              "name" : "subject",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Composition-subject",
              "type" : "reference"
            }
          ]
        },
        {
          "type" : "Consent",
          "profile" : "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-cf",
          "supportedProfile" : [
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doltc-afft",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doltc-ltcna",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doltc-pdcpua",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doltc-cmaf",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-hpa-cfk7-12y",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-hpa-cfs7-20y",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doma-cfpc",
            "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/Consent-doma-cfod"
          ],
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "patch"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ],
          "searchParam" : [
            {
              "name" : "_id",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Consent-id",
              "type" : "token"
            },
            {
              "name" : "category",
              "definition" : "http://hitstdio.ntunhs.edu.tw/consentForm/SearchParameter/Consent-category",
              "type" : "token"
            }
          ]
        },
        {
          "type" : "DocumentReference",
          "profile" : "http://hitstdio.ntunhs.edu.tw/consentForm/StructureDefinition/DocumentReference-cf",
          "interaction" : [
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "create"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "search-type"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "read"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "vread"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "update"
            },
            {
              "extension" : [
                {
                  "url" : "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
                  "valueCode" : "SHALL"
                }
              ],
              "code" : "patch"
            }
          ],
          "referencePolicy" : [
            "resolves"
          ]
        }
      ]
    }
  ]
}