User Tools

Site Tools


fmk:generel:anvend_sendxml_til_testformal:por1.4.4eksempler

POR 1.4.4 SendXML eksempler

HentMedicinkort

<GetPatientOrganisationRelationRequest xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01" >
    <PersonIdentifier>3112791439</PersonIdentifier>
</GetPatientOrganisationRelationRequest>

Registrer patient tilknytning

<RegisterPatientOrganisationRelationRequest 
xsi:schemaLocation="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01 RegisterPatientOrganisationRelationRequest.xsd" 
xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <PersonIdentifier>2401010001</PersonIdentifier>
    <CreatedBy>
        <AuthorisedHealthcareProfessional xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01">
            <AuthorisationIdentifier>9K4BS</AuthorisationIdentifier>
            <Name>Tess Christoffersen</Name>
        </AuthorisedHealthcareProfessional>
        <Organisation xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01">
            <Name>Lægerne Vestergade</Name>
            <TelephoneNumber>86521348</TelephoneNumber>
            <Type>Yder</Type>
            <Identifier source="Yder">64459</Identifier>
        </Organisation>
   		<AuthorisedBy>
			<AuthorisedHealthcareProfessional>
				<AuthorisationIdentifier>9K4BS</AuthorisationIdentifier>
				<Name>Anita Andersen</Name>
				<SpecialityCode source="Medicinpriser" date="2009-02-16">PSYK</SpecialityCode>
			</AuthorisedHealthcareProfessional>
			<Organisation>
				<Name>Test praksis</Name>
				<AddressLine>Testvej 1</AddressLine>
				<AddressLine>1000 Testby</AddressLine>
				<TelephoneNumber>12345678</TelephoneNumber>
				<Type>Yder</Type>
				<Identifier source="Yder">1234</Identifier>
			</Organisation>
		</AuthorisedBy>
    </CreatedBy>
    <Relation>
        <Organisation>
            <Name>Aalborg Universitetshospital, Alb Nuklearmedicinsk Amb.</Name>
            <AddressLine>Hobrovej 18</AddressLine>
            <TelephoneNumber>97665500</TelephoneNumber>
            <EmailAddress>els@trifork.com</EmailAddress>
            <Type>Sygehus</Type>
            <Identifier source="SKS">8001149</Identifier>
        </Organisation>
        <Type>Indlagt</Type>
    </Relation>
</RegisterPatientOrganisationRelationRequest>

Ophæv patient tilknytning

<RemovePatientOrganisationRelationRequest
xsi:schemaLocation="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01 RegisterPatientOrganisationRelationRequest.xsd" 
xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <PersonIdentifier>2401010001</PersonIdentifier>
    <ModifiedBy>
        <AuthorisedHealthcareProfessional>
            <AuthorisationIdentifier>9K4BS</AuthorisationIdentifier>
            <Name>Tess Christoffersen</Name>
        </AuthorisedHealthcareProfessional>
        <Organisation>
            <Name>Aalborg Universitetshospital, Alb Nuklearmedicinsk Amb.</Name>
            <AddressLine>Hobrovej 18</AddressLine>
            <TelephoneNumber>97665500</TelephoneNumber>
            <EmailAddress>els@trifork.com</EmailAddress>
            <Type>Sygehus</Type>
            <Identifier source="SKS">8001149</Identifier>
        </Organisation>
    </ModifiedBy>
    <Relation>
        <Organisation>
		<Name>Aalborg Universitetshospital, Alb Nuklearmedicinsk Amb.</Name>
            <AddressLine>Hobrovej 18</AddressLine>
            <TelephoneNumber>97665500</TelephoneNumber>
            <EmailAddress>els@trifork.com</EmailAddress>
            <Type>Sygehus</Type>
            <Identifier source="SKS">8001149</Identifier>			
		</Organisation>
    </Relation>
</RemovePatientOrganisationRelationRequest>

I stedet for at angive en organisation, når en tilknytning ønskes ophævet, kan den specifikke id for tilknytningen angives.

Opret patient tilknytning, visiteret til medicinadministration på bosted vha. SOR id

<RegisterPatientOrganisationRelationRequest  xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01" >
    <PersonIdentifier>2512489996</PersonIdentifier>
    <CreatedBy>
        <AuthorisedHealthcareProfessional xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01">
            <AuthorisationIdentifier>BT5MB</AuthorisationIdentifier>
            <Name>Tess Christoffersen</Name>
        </AuthorisedHealthcareProfessional>
         <Organisation>
		<Name>Bostedet Nørbygaard</Name>
		<AddressLine>Nørbyvej 4</AddressLine>
		<AddressLine>7730 Hanstholm</AddressLine>
		<TelephoneNumber>99172500</TelephoneNumber>
		<Type>Bosted</Type>
		<Identifier source="SOR">698631000016005</Identifier>
	</Organisation>
    </CreatedBy>
    <Relation>
        <Organisation>
		<Name>Bostedet Nørbygaard</Name>
		<AddressLine>Nørbyvej 4</AddressLine>
		<AddressLine>7730 Hanstholm</AddressLine>
		<TelephoneNumber>99172500</TelephoneNumber>
		<Type>Bosted</Type>
		<Identifier source="SOR">698631000016005</Identifier>
	</Organisation>
        <Type>Visiteret til hjemmesygeplejen</Type>
    </Relation>
</RegisterPatientOrganisationRelationRequest>
fmk/generel/anvend_sendxml_til_testformal/por1.4.4eksempler.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki