## Beispiele

### in XML

    <Bundle xmlns="http://hl7.org/fhir">
        <id value="Suchergebnis-Beispiel" />
        <meta>
            <profile value="https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenSuchergebnisse" />
        </meta>
        <type value="searchset" />
        <total value="1" />
        <entry>
            <fullUrl value="http://meinfhirserver.de/DocumentReference/dok-beispiel" />
            <resource>
                <DocumentReference>
                    <id value="dok-beispiel-server" />
                    <meta>
                        <profile value="https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenMetadaten" />
                        <security>
                            <system value="http://terminology.hl7.org/CodeSystem/v3-ActReason" />
                            <code value="HTEST" />
                        </security>
                    </meta>
                    <masterIdentifier>
                        <system value="urn:ietf:rfc:3986" />
                        <value value="urn:oid:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340" />
                    </masterIdentifier>
                    <status value="current" />
                    <type>
                        <coding>
                            <system value="http://dvmd.de/fhir/CodeSystem/kdl" />
                            <code value="PT130102" />
                            <display value="Molekularpathologiebefund" />
                        </coding>
                        <coding>
                            <system value="http://ihe-d.de/CodeSystem/IHEXDStypeCode" />
                            <code value="PATH" />
                            <display value="Pathologiebefundberichte" />
                        </coding>
                    </type>
                    <category>
                        <coding>
                            <system value="http://ihe-d.de/CodeSystems/IHEXDSclassCode" />
                            <code value="BEF" />
                            <display value="Befundbericht" />
                        </coding>
                    </category>
                    <subject>
                        <reference value="Patient/PatientinMusterfrau" />
                    </subject>
                    <description value="Molekularpathologiebefund vom 31.12.21" />
                    <securityLabel>
                        <coding>
                            <system value="http://terminology.hl7.org/CodeSystem/v3-Confidentiality" />
                            <code value="N" />
                        </coding>
                    </securityLabel>
                    <content>
                        <attachment>
                            <contentType value="application/pdf" />
                            <language value="de" />
                            <url value="https://mein-Dokumentenserver/dokumente/1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340.pdf" />
                            <creation value="2020-12-31T23:50:50-05:00" />
                        </attachment>
                        <format>
                            <system value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode" />
                            <code value="urn:ihe:iti:xds:2017:mimeTypeSufficient" />
                            <display value="mimeType Sufficient" />
                        </format>
                    </content>
                    <context>
                        <encounter>
                            <reference value="Encounter/BeispielBesuch" />
                        </encounter>
                        <facilityType>
                            <coding>
                                <system value="http://ihe-d.de/CodeSystems/PatientBezogenenGesundheitsversorgung" />
                                <code value="KHS" />
                                <display value="Krankenhaus" />
                            </coding>
                        </facilityType>
                        <practiceSetting>
                            <coding>
                                <system value="http://snomed.info/sct" />
                                <code value="408467006" />
                            </coding>
                        </practiceSetting>
                    </context>
                </DocumentReference>
            </resource>
        </entry>
    </Bundle>

### in JSON

    {
        "resourceType": "Bundle",
        "id": "Suchergebnis-Beispiel",
        "meta": {
            "profile":  [
                "https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenSuchergebnisse"
            ]
        },
        "type": "searchset",
        "total": 1,
        "entry":  [
            {
                "fullUrl": "http://meinfhirserver.de/DocumentReference/dok-beispiel",
                "resource": {
                    "resourceType": "DocumentReference",
                    "id": "dok-beispiel-server",
                    "meta": {
                        "security":  [
                            {
                                "code": "HTEST",
                                "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason"
                            }
                        ],
                        "profile":  [
                            "https://gematik.de/fhir/isik/v3/Dokumentenaustausch/StructureDefinition/ISiKDokumentenMetadaten"
                        ]
                    },
                    "masterIdentifier": {
                        "system": "urn:ietf:rfc:3986",
                        "value": "urn:oid:1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340"
                    },
                    "type": {
                        "coding":  [
                            {
                                "system": "http://dvmd.de/fhir/CodeSystem/kdl",
                                "code": "PT130102",
                                "display": "Molekularpathologiebefund"
                            },
                            {
                                "code": "PATH",
                                "system": "http://ihe-d.de/CodeSystem/IHEXDStypeCode",
                                "display": "Pathologiebefundberichte"
                            }
                        ]
                    },
                    "status": "current",
                    "category":  [
                        {
                            "coding":  [
                                {
                                    "code": "BEF",
                                    "system": "http://ihe-d.de/CodeSystems/IHEXDSclassCode",
                                    "display": "Befundbericht"
                                }
                            ]
                        }
                    ],
                    "description": "Molekularpathologiebefund vom 31.12.21",
                    "subject": {
                        "reference": "Patient/PatientinMusterfrau"
                    },
                    "securityLabel":  [
                        {
                            "coding":  [
                                {
                                    "code": "N",
                                    "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"
                                }
                            ]
                        }
                    ],
                    "content":  [
                        {
                            "attachment": {
                                "contentType": "application/pdf",
                                "url": "https://mein-Dokumentenserver/dokumente/1.2.840.113556.1.8000.2554.58783.21864.3474.19410.44358.58254.41281.46340.pdf",
                                "language": "de",
                                "creation": "2020-12-31T23:50:50-05:00"
                            },
                            "format": {
                                "code": "urn:ihe:iti:xds:2017:mimeTypeSufficient",
                                "system": "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode",
                                "display": "mimeType Sufficient"
                            }
                        }
                    ],
                    "context": {
                        "facilityType": {
                            "coding":  [
                                {
                                    "code": "KHS",
                                    "system": "http://ihe-d.de/CodeSystems/PatientBezogenenGesundheitsversorgung",
                                    "display": "Krankenhaus"
                                }
                            ]
                        },
                        "practiceSetting": {
                            "coding":  [
                                {
                                    "code": "408467006",
                                    "system": "http://snomed.info/sct"
                                }
                            ]
                        },
                        "encounter":  [
                            {
                                "reference": "Encounter/BeispielBesuch"
                            }
                        ]
                    }
                }
            }
        ]
    }