<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="CDA.xsl"?>
<!--
    This is the proposed Care Transfer Promise for the joint implementation venture with the Catharina Hospital Eindhoven. The header
    of the document contains information about the document itself (like id, creation time), the patient whose care transfer is confirmed, the author of the document
    and also its intended recipient. The body consists of one section, namely the authors message. The coding of the medical concepts has been done according to 
    the LOINC vocabulary. The patient is identified based on his BSN and the clinicians based on their Vectis AGB identification.
    
    Creation date: 14 June 2007.
    Author: Charalampos Xanthopoulakis

-->
<ClinicalDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="urn:hl7-org:v3 cdar2-2005/schemas/CDA.xsd" xmlns="urn:hl7-org:v3"
    xmlns:voc="urn:hl7-org:v3/voc">
    <!-- 
********************************************************
  CDA Header
********************************************************
-->
    <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>
    <templateId root="2.16.840.1.113883.3.27.1776"/>
    <!-- How can we uniquely identify the document? Create a new  OID or use an existing? -->
    <!-- How can we indicate that this document has a connection with the referral note sent before? -->
    <id extension="c267" root="2.16.840.1.113883.19.4"/>
    <code code="47040-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
        displayName="Confirmatory consultation note"/>
    <title>Zorg Overdracht Belofte</title>
    <!-- The creation time of the document -->
    <effectiveTime value="20070605"/>
    <!-- Confidentiality Normal-->
    <confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>
    <languageCode code="nl"/>
    <!-- No idea what this is for -->
    <setId extension="BB35" root="2.16.840.1.113883.19.7"/>
    <versionNumber value="1"/>
    <!-- The patient and the provider oranization -->
    <recordTarget>
        <patientRole>
            <!-- Patients are identified based on their BSN. The BSN value is hypothetical.-->
            <id extension="256326654" root="2.16.840.1.113883.2.4.6.3" assigningAuthorityName="BSN"/>
            <addr use="HP">
                <!-- The home address -->
                <streetName partType="STR">Dommelstraat</streetName>
                <houseNumber partType="BNR">22</houseNumber>
                <postalCode partType="ZIP">5612 RV</postalCode>
                <city partType="CTY">Eindhoven</city>
                <country partType="CNT">Nederland</country>
            </addr>
            <!-- The home telephone number -->
            <telecom use="HP" value="tel:+31409968379"/>
            <patient>
                <!-- The legal name of the patient -->
                <name use="L">
                    <!-- The initial (first) name -->
                    <given qualifier="IN">Nelleke</given>
                    <!-- Voorvoegsels -->
                    <prefix qualifier="VV">van der </prefix>
                    <!-- The family name given during birth -->
                    <family qualifier="BR">Wiel</family>
                </name>
                <administrativeGenderCode code="F" codeSystem="2.16.840.1.113883.5.1"/>
                <!-- Female gender -->
                <birthTime value="19400324"/>
                <!-- Date of birth: March, 24, 1940 -->
            </patient>
            <providerOrganization>
                <!-- This is the Catharina Ziekenhuis identification -->
                <id extension="06011009" root="2.16.840.1.113883.2.4.6.1"
                    assigningAuthorityName="Vektis AGB-Z"/>
                <name>CATHARINA ZIEKENHUIS</name>
                <telecom use="WP" value="tel:+310402399111"/>
                <addr use="WP">
                    <streetName partType="STR">Postbus</streetName>
                    <houseNumber partType="BNR">1350</houseNumber>
                    <postalCode partType="ZIP">5602 ZA</postalCode>
                    <city partType="CTY">Eindhoven</city>
                    <country partType="CNT">Nederland</country>
                </addr>
            </providerOrganization>
        </patientRole>
    </recordTarget>
    <author>
        <time value="20070605"/>
        <!-- The same TS as in ClinicalDocument/effectiveTime -->
        <assignedAuthor>
            <!-- The author of the Discharge note -->
            <id extension="03020547" root="2.16.840.1.113883.2.4.6.1"
                assigningAuthorityName="Vektis AGB-Z"/>
            <addr use="WP">
                <streetName partType="STR">Postbus</streetName>
                <houseNumber partType="BNR">1350</houseNumber>
                <postalCode partType="ZIP">5602 ZA</postalCode>
                <city partType="CTY">Eindhoven</city>
                <country partType="CNT">Nederland</country>
            </addr>
            <telecom use="WP" value="tel:+310402399111"/>
            <assignedPerson>
                <name use="L">
                    <prefix qualifier="AC">Dr.</prefix>
                    <given qualifier="IN">J</given>
                    <prefix qualifier="VV">J. </prefix>
                    <family qualifier="BR">Koolen</family>
                </name>
            </assignedPerson>
            <representedOrganization>
                <!-- This is the Catharina Ziekenhuis identification -->
                <id extension="06011009" root="2.16.840.1.113883.2.4.6.1"
                    assigningAuthorityName="Vektis AGB-Z"/>
                <name>CATHARINA ZIEKENHUIS</name>
                <telecom use="WP" value="tel:+310402399111"/>
                <addr use="WP">
                    <streetName partType="STR">Postbus</streetName>
                    <houseNumber partType="BNR">1350</houseNumber>
                    <postalCode partType="ZIP">5602 ZA</postalCode>
                    <city partType="CTY">Eindhoven</city>
                    <country partType="CNT">Nederland</country>
                </addr>
            </representedOrganization>
        </assignedAuthor>
    </author>
    <custodian>
        <assignedCustodian>
            <representedCustodianOrganization>
                <!-- This is the Catharina Ziekenhuis identification -->
                <id extension="06011009" root="2.16.840.1.113883.2.4.6.1"
                    assigningAuthorityName="Vektis AGB-Z"/>
                <name>CATHARINA ZIEKENHUIS</name>
                <telecom use="WP" value="tel:+310402399111"/>
                <addr use="WP">
                    <streetName partType="STR">Postbus</streetName>
                    <houseNumber partType="BNR">1350</houseNumber>
                    <postalCode partType="ZIP">5602 ZA</postalCode>
                    <city partType="CTY">Eindhoven</city>
                    <country partType="CNT">Nederland</country>
                </addr>
            </representedCustodianOrganization>
        </assignedCustodian>
    </custodian>
    <informationRecipient>
        <intendedRecipient>
            <!-- The intended recipient of the Discharge note (the Motiva nurse). The id is hypothetical -->
            <id extension="001040987" root="2.16.840.1.113883.2.4.6.1"
                assigningAuthorityName="Vektis AGB-Z"/>
            <informationRecipient>
                <name use="L">
                    <given qualifier="IN">Maggy</given>
                    <prefix qualifier="VV">van de </prefix>
                    <family qualifier="BR">Bos</family>
                </name>
            </informationRecipient>
            <receivedOrganization>
                <!-- is actually the organization of the motiva nurse -->
                <!-- The id is hypothetical. The root refers to Vectis AGB-Z-->
                <id extension="00000123" root="2.16.840.1.113883.2.4.6.1"
                    assigningAuthorityName="Vektis AGB-Z"/>
                <name>Noord Holland Gezondheid Centrum</name>
                <!-- The phone at working place -->
                <telecom use="WP" value="tel:+31208958869"/>
                <addr use="WP">
                    <!-- The address of the hypothetical institution -->
                    <streetName partType="STR">Prinsengracht</streetName>
                    <houseNumber partType="BNR">22</houseNumber>
                    <postalCode partType="ZIP">1000 PJ</postalCode>
                    <city partType="CTY">Amsterdam</city>
                    <country partType="CNT">Nederland</country>
                </addr>
            </receivedOrganization>
        </intendedRecipient>
    </informationRecipient>
    <legalAuthenticator>
        <time value="20070605"/>
        <signatureCode code="S"/>
        <assignedEntity>
            <!-- The legal authenticator is the same person as the author of the Discharge note -->
            <id extension="03020547" root="2.16.840.1.113883.2.4.6.1"
                assigningAuthorityName="Vektis AGB-Z"/>
            <addr use="WP">
                <streetName partType="STR">Postbus</streetName>
                <houseNumber partType="BNR">1350</houseNumber>
                <postalCode partType="ZIP">5602 ZA</postalCode>
                <city partType="CTY">Eindhoven</city>
                <country partType="CNT">Nederland</country>
            </addr>
            <telecom use="WP" value="tel:+310402399111"/>
            <assignedPerson>
                <name use="L">
                    <prefix qualifier="AC">Dr.</prefix>
                    <given qualifier="IN">J</given>
                    <prefix qualifier="VV">J. </prefix>
                    <family qualifier="BR">Koolen</family>
                </name>
            </assignedPerson>
            <representedOrganization>
                <!-- This is the Catharina Ziekenhuis identification -->
                <id extension="06011009" root="2.16.840.1.113883.2.4.6.1"
                    assigningAuthorityName="Vektis AGB-Z"/>
                <name>CATHARINA ZIEKENHUIS</name>
                <telecom use="WP" value="tel:+310402399111"/>
                <addr use="WP">
                    <streetName partType="STR">Postbus</streetName>
                    <houseNumber partType="BNR">1350</houseNumber>
                    <postalCode partType="ZIP">5602 ZA</postalCode>
                    <city partType="CTY">Eindhoven</city>
                    <country partType="CNT">Nederland</country>
                </addr>
            </representedOrganization>
        </assignedEntity>
    </legalAuthenticator>

    <!-- 
        ********************************************************
        CDA Body
        ********************************************************
    -->
    <component>
        <structuredBody>
            <!-- 
                ********************************************************
                Doctor's Visit Request section 
                ********************************************************
            -->
            <component>
                <!-- This section contains only literal text -->
                <section>
                    <code code="28568-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"
                        displayName="Visit note"/>
                    <title>Bezoek Instructies</title>
                    <text> Ik zal <content styleCode="Bold">Nelleke van der Wiel
                    </content> onderzoeken. Vraag maar haar om een afspraak met mijn secretaris te maken. </text>
                </section>
            </component>
        </structuredBody>
    </component>
</ClinicalDocument>

