User Tools

Site Tools


fmk:1.4.4:hent_laegemiddelordination_versionsnumre

This is an old revision of the document!


Hent lægemiddelordinations 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
<GetDrugMedicationVersionsRequest>
    <PersonIdentifier>1111111118</PersonIdentifier>
    <Identifier>1221231331123</Identifier>
</GetDrugMedicationVersionsRequest>

Svar

Der returneres en liste af DrugMedicationVersionInfo elementer, som hver indeholder oprettelsesdato for versionen og versionsnummeret. Listen er dato-sorteret med ældste version først.

GetDrugmedicationVersionsResponse.xml
<GetDrugMedicationVersionsResponse>
    <PersonIdentifier>1111111118</PersonIdentifier>
    <Identifier>1221231331123</Identifier>
    <DrugMedicationVersionInfo>
        <DrugMedicationVersion>1344404077657004001</DrugMedicationVersion>
        <VersionCreatedDateTime>2015-02-18T14:40:34.0Z</VersionCreatedDateTime>
    </DrugMedicationVersionInfo>
    <DrugMedicationVersionInfo>
        <DrugMedicationVersion>1346404077657004001</DrugMedicationVersion>
        <VersionCreatedDateTime>2015-02-28T14:40:34.0Z</VersionCreatedDateTime>
    </DrugMedicationVersionInfo>
    <DrugMedicationVersionInfo>
        <DrugMedicationVersion>1342404077657004001</DrugMedicationVersion>
        <VersionCreatedDateTime>2015-01-04T08:46:34.0Z</VersionCreatedDateTime>
    </DrugMedicationVersionInfo>
</GetDrugMedicationVersionsResponse>
fmk/1.4.4/hent_laegemiddelordination_versionsnumre.1438934037.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki