# Verwijzingen

VIPLive kan gegevens rondom een verwijzing binnen VIPLive beschikbaar stellen aan externe systemen. Deze gegevens worden middels de Notified Pull methode (zie [Notified Pull](/viplive-notified-pull/notified-pull.md)) aangeleverd in de vorm van een FHIR STU3 [*Bundle*](https://www.hl7.org/fhir/STU3/bundle.html) resource. Binnen deze bundle zijn alle resources en profielen te vinden welke informatie bevatten m.b.t. de verwijzing, namelijk:

* [Referral](/viplive-notified-pull/notified-pull/fhir-resources/verwijzingen/composition.md)
* [Organization](/viplive-notified-pull/notified-pull/fhir-resources/verwijzingen/organization.md)
* [Patient](/viplive-notified-pull/notified-pull/fhir-resources/verwijzingen/patient.md)
* [Practitioner](/viplive-notified-pull/notified-pull/fhir-resources/verwijzingen/practitioner.md)

Daarnaast wordt voor de Notified Pull methode nog gebruik gemaakt van de FHIR STU3 [*Task*](https://hl7.org/fhir/stu3/task.html) resource, voor het verzenden van de Notify (zie [3. Notify afleveren](/viplive-notified-pull/notified-pull/3.-notify-afleveren.md)).

## Voorbeeldbericht

<details>

<summary>Klik hier om uit te breiden...</summary>

```json
{
    "resourceType": "Bundle",
    "type": "transaction",
    "entry": [
        {
            "fullUrl": "urn:uuid:dbb55ea6-a612-458b-bab2-486ce7aeacb7",
            "resource": {
                "resourceType": "ReferralRequest",
                "id": "dbb55ea6-a612-458b-bab2-486ce7aeacb7",
                "meta": {
                    "profile": [
                        "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/Referral"
                    ]
                },
                "identifier": [
                    {
                        "system": "https://topicus.nl/en/sectors/healthcare/fhir/NamingSystem/viplive-regiozorg-verwijzing-identifier",
                        "value": "dbb55ea6-a612-458b-bab2-486ce7aeacb7"
                    }
                ],
                "status": "completed",
                "intent": "plan",
                "type": {
                    "coding": [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "3457005"
                        }
                    ],
                    "text": "Patient referral"
                },
                "subject": {
                    "reference": "urn:uuid:f618f9a4-12db-4582-902d-1c572088ec32"
                },
                "occurrencePeriod": {
                    "extension": [
                        {
                            "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ReferenceWithComment",
                            "extension": [
                                {
                                    "url": "http://nictiz.nl/fhir/StructureDefinition/Comment",
                                    "valueString": "Verwijzing afgerond"
                                },
                                {
                                    "url": "reference",
                                    "valueReference": {
                                        "reference": "Practitioner/e5b46345-70fd-4771-8d71-c4840fbe12e7"
                                    }
                                }
                            ]
                        }
                    ],
                    "start": "2024-11-17T11:28:34+01:00",
                    "end": "2024-01-17T11:28:34+01:00"
                },
                "requester": {
                    "agent": {
                        "reference": "urn:uuid:69a99980-90ed-46e2-963b-119cdfba5510"
                    },
                    "onBehalfOf": {
                        "reference": "urn:uuid:18043552-5736-4499-aa68-5d178d07fd8c"
                    }
                },
                "recipient": [
                    {
                        "reference": "urn:uuid:eb886a7a-54bf-4d9e-a260-16091ebccfc7"
                    }
                ],
                "reasonCode": [
                    {
                        "extension": [
                            {
                                "url": "http://nictiz.nl/fhir/StructureDefinition/Comment",
                                "valueString": "Knie links zit vast"
                            }
                        ],
                        "coding": [
                            {
                                "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor",
                                "code": "OTH"
                            }
                        ],
                        "text": "Bewegingstherapie"
                    }
                ],
                "description": "Als de rechter knie ook vast zit, die gelijk meepakken",
                "note": [
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueBoolean": true
                            }
                        ],
                        "text": "hasAttachment"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueBoolean": true
                            }
                        ],
                        "text": "hasMedicalData"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueString": "DM"
                            }
                        ],
                        "text": "integratedCareType"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueBoolean": false
                            }
                        ],
                        "text": "treatmentAtHome"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueString": "Dhr F. Isio"
                            }
                        ],
                        "text": "forTheAttentionOf"
                    },
                    {
                        "extension": [
                            {
                                "url": "https://topicus.nl/en/sectors/healthcare/fhir/StructureDefinition/ValueExtension",
                                "valueString": "01054321"
                            }
                        ],
                        "text": "declarationAgb"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:f618f9a4-12db-4582-902d-1c572088ec32",
            "resource": {
                "resourceType": "Patient",
                "id": "f618f9a4-12db-4582-902d-1c572088ec32",
                "meta": {
                    "profile": [
                        "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
                    ]
                },
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/bsn",
                        "value": "265490662"
                    }
                ],
                "name": [
                    {
                        "extension": [
                            {
                                "url": "http://fhir.org/fhir/StructureDefinition/humanname-assembly-order",
                                "valueCode": "NL1"
                            }
                        ],
                        "family": "van Dijk",
                        "_family": {
                            "extension": [
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-own-prefix",
                                    "valueString": "van"
                                },
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-own-name",
                                    "valueString": "Dijk"
                                }
                            ]
                        },
                        "given": [
                            "Johannes Willem",
                            "J.",
                            "Jan"
                        ],
                        "_given": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "BR"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "IN"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "CL"
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "telecom": [
                    {
                        "system": "phone",
                        "value": "0612345678"
                    },
                    {
                        "system": "email",
                        "value": "jan@voorbeeld.nl",
                        "use": "home"
                    }
                ],
                "gender": "male",
                "_gender": {
                    "extension": [
                        {
                            "url": "http://nictiz.nl/fhir/StructureDefinition/code-specification",
                            "valueCodeableConcept": {
                                "coding": [
                                    {
                                        "system": "http://hl7.org/fhir/v3/AdministrativeGender",
                                        "code": "M",
                                        "display": "Man"
                                    }
                                ]
                            }
                        }
                    ]
                },
                "birthDate": "1990-01-17",
                "address": [
                    {
                        "extension": [
                            {
                                "url": "http://fhir.org/fhir/StructureDefinition/nl-core-address-official",
                                "valueBoolean": true
                            }
                        ],
                        "use": "home",
                        "_use": {
                            "extension": [
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/iso21090-AD-use",
                                    "valueCode": "HP"
                                }
                            ]
                        },
                        "line": [
                            "Hoofdstraat 123A"
                        ],
                        "_line": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                                        "valueString": "Hoofdstraat"
                                    },
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                                        "valueString": "123"
                                    },
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
                                        "valueString": "A"
                                    }
                                ]
                            }
                        ],
                        "city": "Amsterdam",
                        "postalCode": "1234AB"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:18043552-5736-4499-aa68-5d178d07fd8c",
            "resource": {
                "resourceType": "Organization",
                "id": "18043552-5736-4499-aa68-5d178d07fd8c",
                "meta": {
                    "profile": [
                        "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
                    ]
                },
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/agb-z",
                        "value": "01054321"
                    }
                ],
                "name": "Huisartspraktijk Woud",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "0687654321",
                        "use": "work"
                    },
                    {
                        "system": "email",
                        "value": "boom.van.der.takken@huisartspraktijk-woud.nl",
                        "use": "work"
                    }
                ],
                "address": [
                    {
                        "type": "postal",
                        "line": [
                            "Bosweg 8"
                        ],
                        "_line": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                                        "valueString": "Bosweg"
                                    },
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                                        "valueString": "8"
                                    }
                                ]
                            }
                        ],
                        "city": "Woudenberg",
                        "postalCode": "4321BA"
                    }
                ],
                "partOf": {
                    "reference": "urn:uuid:8090acdd-18b7-4a69-bcf5-f79e3c0f34c6"
                }
            }
        },
        {
            "fullUrl": "urn:uuid:8090acdd-18b7-4a69-bcf5-f79e3c0f34c6",
            "resource": {
                "resourceType": "Organization",
                "id": "8090acdd-18b7-4a69-bcf5-f79e3c0f34c6",
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/agb-z",
                        "value": "10000031"
                    }
                ],
                "name": "Regio-organisatie"
            }
        },
        {
            "fullUrl": "urn:uuid:69a99980-90ed-46e2-963b-119cdfba5510",
            "resource": {
                "resourceType": "Practitioner",
                "id": "69a99980-90ed-46e2-963b-119cdfba5510",
                "meta": {
                    "profile": [
                        "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
                    ]
                },
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/agb-z",
                        "value": "01051234"
                    }
                ],
                "name": [
                    {
                        "extension": [
                            {
                                "url": "http://fhir.org/fhir/StructureDefinition/humanname-assembly-order",
                                "valueCode": "NL3"
                            }
                        ],
                        "family": "van der Takken Boom",
                        "_family": {
                            "extension": [
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-own-name",
                                    "valueString": "Boom"
                                },
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-partner-prefix",
                                    "valueString": "van der"
                                },
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-partner-name",
                                    "valueString": "Takken"
                                }
                            ]
                        },
                        "given": [
                            "Maria Johanna",
                            "M.J.",
                            "Marit"
                        ],
                        "_given": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "BR"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "IN"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "CL"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:eb886a7a-54bf-4d9e-a260-16091ebccfc7",
            "resource": {
                "resourceType": "Organization",
                "id": "eb886a7a-54bf-4d9e-a260-16091ebccfc7",
                "meta": {
                    "profile": [
                        "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
                    ]
                },
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/agb-z",
                        "value": "04654321"
                    }
                ],
                "name": "Fysiotherapie Bot",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "06 1234 8765"
                    },
                    {
                        "system": "email",
                        "value": "bot@fysio.nl",
                        "use": "home"
                    }
                ],
                "address": [
                    {
                        "type": "postal",
                        "line": [
                            "Beweginglaan 20B"
                        ],
                        "_line": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                                        "valueString": "Beweginglaan"
                                    },
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                                        "valueString": "20"
                                    },
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix",
                                        "valueString": "B"
                                    }
                                ]
                            }
                        ],
                        "city": "Friezenveen",
                        "postalCode": "1278CD"
                    }
                ]
            }
        },
        {
            "fullUrl": "urn:uuid:e5b46345-70fd-4771-8d71-c4840fbe12e7",
            "resource": {
                "resourceType": "Practitioner",
                "id": "e5b46345-70fd-4771-8d71-c4840fbe12e7",
                "meta": {
                    "profile": [
                        "http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner"
                    ]
                },
                "identifier": [
                    {
                        "system": "http://fhir.nl/fhir/NamingSystem/agb-z",
                        "value": "01051234"
                    }
                ],
                "name": [
                    {
                        "extension": [
                            {
                                "url": "http://fhir.org/fhir/StructureDefinition/humanname-assembly-order",
                                "valueCode": "NL3"
                            }
                        ],
                        "family": "van der Takken Boom",
                        "_family": {
                            "extension": [
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-own-name",
                                    "valueString": "Boom"
                                },
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-partner-prefix",
                                    "valueString": "van der"
                                },
                                {
                                    "url": "http://fhir.org/fhir/StructureDefinition/humanname-partner-name",
                                    "valueString": "Takken"
                                }
                            ]
                        },
                        "given": [
                            "Maria Johanna",
                            "M.J.",
                            "Marit"
                        ],
                        "_given": [
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "BR"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "IN"
                                    }
                                ]
                            },
                            {
                                "extension": [
                                    {
                                        "url": "http://fhir.org/fhir/StructureDefinition/iso21090-EN-qualifier",
                                        "valueString": "CL"
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        }
    ]
} 
```

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viplive-interop.gitbook.io/viplive-notified-pull/notified-pull/fhir-resources/verwijzingen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
