DocumentReferences represent all documents stored in the patient record:

  • PDF files scanned and imported using the document upload
  • Images imported via document upload or interfaces such as GDT or DICOM
  • Letters created in RED (Erlkönig - Briefe)
  • Forms such as prescriptions, referrals (Erlkönig - Formulardruck)

Document references are assigned to a patient and may be searched. A search request (GET) for patient document references returns a bundle of one or more FHIR items of type KBV_PR_AW_Anlage.

Example for a SEARCH request for document references of a given patient with full content

Example: this search requests fetches all document references of patient 6006 using paging to limit the number of results

A search request for document references will return a base64 string representing the document content rendered as PDF file for each document item. In order to fetch document metadata only the request can be extended by adding the summary parameter to the request. A request with summary=true will return all document references with metadata but without document content. This is preferred if only selected documents with full content are to be fetched.

Example for a SEARCH request for document references of a given patient with summaries only

Data of a specific document reference may be fetched using a read request (GET) with the identifier of the specific document reference The request returns a FHIR item of type KBV_PR_AW_Anlage.

Example of a READ request for a specific document reference

Example: this read request returns the FHIR item for document reference with ID ehcRBg8T0ejevvTb. The ID may be retrieved by a search request sent before this request.

Example of a FHIR item for a document reference
<DocumentReference xmlns="">
    <id value="ehcRBg8T0ejevvTb"/>
        <versionId value="1"/>
        <lastUpdated value="2022-06-23T00:00:00+00:00"/>
        <profile value="|1.2.0"/>
        <status value="extensions"/>
        <div xmlns="">Referenz auf Dokument vom 23.06.2022 (V1) | ID ehcRBg8T0ejevvTb | Name Heilmittel Physiotherapie (ab 01.10.2020) | Anlagetyp KV-Muster_13 | Filetyp file_type_pdf | erstellt am 23.06.2022 | zuletzt bearbeitet 2022-06-23T00:00:00+00:00</div>
                <system value=""/>
                <code value="Spezifikationsversion"/>
        <value value="4Q2020"/>
                <system value=""/>
                <code value="Bezeichnung"/>
        <value value="Heilmittel Physiotherapie (ab 01.10.2020)"/>
    <status value="current"/>
            <system value=""/>
            <code value="KV-Muster_13"/>
            <system value=""/>
            <code value="Anlage"/>
    <date value="2022-06-23T00:00:00+00:00"/>
    <description value="Heilmittel Physiotherapie (ab 01.10.2020)"/>
            <extension url="">
                        <system value=""/>
                        <code value="1.00"/>
            <contentType value="application/pdf"/>
            <data value="JVBERi0xLjQKJfbk/N8K.....M3NTMKJSVFT0YK"/> // base64-string with document content
            <url value="Heilmittel Physiotherapie (ab 01.10.2020)"/>
            <title value="Heilmittel Physiotherapie (ab 01.10.2020)"/>
            <creation value="2022-06-23T00:00:00+00:00"/>
  • No labels