【问题标题】:Read a section in FHIR Document Reference Data阅读 FHIR 文档参考数据中的部分
【发布时间】:2022-01-13 09:41:02
【问题描述】:

有没有办法使用 R4 中的 FhirSerialization 读取 CCDA XML 中的 CCD 数据部分。 我有一个 DocumentReference FHIR 对象,并且我有一个字节格式的 DATA 部分。我已使用以下行将其转换为字符串。

string decodedSamlRequest = System.Text.Encoding.UTF8.GetString(dfv);

现在在这个 decodedSamlRequest 我有 CCD XML 内容。

<?xml version="1.0" encoding="UTF-8"?> 
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="xyz" xmlns:sdtc="xyz" xmlns:xsi="xyz">
    <realmCode code="US"/>       
            <assignedCustodian>
              <representedCustodianOrganization>
                <id root="123" extension="92"/>
                <name>some xyz</name>
                <telecom use="WP" value="tel:1234"/>
                <addr use="WP">
                  <streetAddressLine>address</streetAddressLine>
                  <city>city</city>
                  <state>state</state>
                  <postalCode>12345</postalCode>
                  <country>US</country>
                </addr>
              </representedCustodianOrganization>
            </assignedCustodian>
          </custodian>
    </ClinicalDocument>

在此我需要阅读 Custodian Tag 下的 CITY 元素。

【问题讨论】:

    标签: c# xml hl7-fhir


    【解决方案1】:

    从 FHIR 的角度来看,附件中的所有内容都是不透明的。您当然可以编写代码来解析、访问和操作该内容 - 甚至可以创建可以基于它进行过滤的自定义 SearchParameters。但是您无法使用 FHIRPath 或使用任何参考实现中的导航机制导航到其中。

    【讨论】:

      猜你喜欢
      • 2023-03-20
      • 1970-01-01
      • 1970-01-01
      • 2017-07-03
      • 2014-02-01
      • 1970-01-01
      • 2021-05-23
      • 2012-11-08
      • 2018-04-21
      相关资源
      最近更新 更多