FQL is a query language that allows you to retrieve, filter and project data from any data source containing FHIR Resources. It brings the power of three existing languages together: SQL, JSON and FhirPath. It allows you to create tables and is useful for gaining insight and perform quality control.
<Claim xmlns="http://hl7.org/fhir">
<identifier>
<system value="1.2.410.200071.1.1.1.1.3.1" />
<value value="2018-11-20-142554_00252-60133-00572-AA543" />
<!-- claim id -->
</identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/ex-claimtype" />
<code value="institutional" />
<display value="SI" />
<!-- SI 고정 -->
</coding>
</type>
<patient>
<reference value="#pat1" />
</patient>
<insurer>
<reference value="#insurer1" />
</insurer>
<organization>
<reference value="#org1" />
</organization>
<information>
<sequence value="1" />
<category>
<coding>
<code value="info" />
</coding>
</category>
<valueString value="D/N" />
<!-- 질병구분(D : 질병, I : 사고, O : 기타 ) / 사고내용(없을땐 N) -->
</information>
<information>
<sequence value="2" />
<category>
<coding>
<code value="bank" />
</coding>
</category>
<valueString value="N/본인기등록계좌" />
<!-- 은행명/계좌번호 (입력 없을때 N/기등록계좌) -->
</information>
<information>
<sequence value="3" />
<category>
<coding>
<code value="attachment" />
</coding>
</category>
<valueAttachment>
<data value="AAAAAAAAAAAAAAAAAAIjoiTyJ9XV0=" />
<title value="첨부자료" />
</valueAttachment>
</information>
<information>
<sequence value="4" />
<category>
<coding>
<code value="attachment" />
</coding>
</category>
<valueAttachment>
<data value="aaAAAAAAAAAAAAAAAAAAAAAAAAiXQ==" />
<title value="청구서이미지" />
</valueAttachment>
</information>
<information>
<sequence value="5" />
<category>
<coding>
<code value="attachment" />
</coding>
</category>
<valueAttachment>
<data value="aW9AAAAAAAAAAAAAAAAAAAAAAAAAAucyI6W119XV0=" />
<title value="영수증이미지" />
</valueAttachment>
</information>
<accident>
<date value="2018-10-11" />
<!-- 사고 일자 -->
</accident>
</Claim>