User Tools

Site Tools


fmk:1.4.4:opslag_pa_laegemiddelordination_versioner

This is an old revision of the document!


Opslag på lægemiddelordination versionsnumre

Denne service returnerer alle versionsnumre for en specifik lægemiddelordination. Man kan så efterfølgende få information om hvordan en given lægemiddelordination så ud, ved at slå op på lægemiddelordinationen med versionsnummeret som parameter.

Forespørgsel

I requestet angives CPR-nummer for borger/patient og Identifier for lægemiddelordination.

GetDrugmedicationVersionsRequest.xml
<?xml version="1.0" encoding="UTF-8"?>
<GetDrugmedicationVersionsRequest
        xsi:schemaLocation="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01 GetDrugmedicationVersionsRequest.xsd"
        xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <PersonIdentifier>1111111118</PersonIdentifier>
    <Identifier>1221231331123</Identifier>
</GetDrugmedicationVersionsRequest>

Svar

Der returneres en liste af DrugmedicationVersion elementer, som hver indeholder oprettelsesdato for versionen og versionsnummeret.

GetDrugmedicationVersionsResponse.xml
<GetDrugmedicationVersionsResponse
        xsi:schemaLocation="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01 GetDrugmedicationVersionsResponse.xsd"
        xmlns="http://www.dkma.dk/medicinecard/xml.schema/2015/01/01"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <PersonIdentifier>1111111118</PersonIdentifier>
    <Identifier>1221231331123</Identifier>
    <DrugmedicationVersion>
        <Version>1342404077657004001</Version>
        <CreatedDateTime>2015-01-04T08:46:34.0Z</CreatedDateTime>
    </DrugmedicationVersion>
    <DrugmedicationVersion>
        <Version>1344404077657004001</Version>
        <CreatedDateTime>2015-02-18T14:40:34.0Z</CreatedDateTime>
    </DrugmedicationVersion>
    <DrugmedicationVersion>
        <Version>1346404077657004001</Version>
        <CreatedDateTime>2015-02-28T14:40:34.0Z</CreatedDateTime>
    </DrugmedicationVersion>
</GetDrugmedicationVersionsResponse>
fmk/1.4.4/opslag_pa_laegemiddelordination_versioner.1424429028.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki