User Tools

Site Tools


fmk:ddv:1.4.0:updatevaccination

UpdateVaccination

Denne service benyttes til opdatering af vaccinationer.

Forespørgsel
<ns2:UpdateVaccinationRequest>
    <ns2:PersonCivilRegistrationIdentifier>1111111118</ns2:PersonCivilRegistrationIdentifier>
    <ns2:Modified></ns2:Modified>
    <ns2:VaccinationUpdate>
        <ns2:OldVaccinationIdentifier>111805</ns2:OldVaccinationIdentifier>
        <ns2:OldVaccinationVersion>1</ns2:OldVaccinationVersion>
        <ns2:EffectuatedDateTime>2012-05-31T10:00:00Z</ns2:EffectuatedDateTime>
        <ns2:BatchNumber>567890</ns2:BatchNumber>
        <ns2:VaccineIdentifier>1617179308</ns2:VaccineIdentifier>
        <ns2:Approved>true</ns2:Approved>
        <!--Optional:-->
        <ns2:NegativeConsentIndicator>true</ns2:NegativeConsentIndicator>
    </ns2:VaccinationUpdate>
</ns2:UpdateVaccinationRequest>
Svar
<ns2:UpdateVaccinationResponse>
    <ns2:Vaccination>
        <ns2:VaccinationIdentifier>111805</ns2:VaccinationIdentifier>
        <ns2:VaccinationVersionIdentifier>2</ns2:VaccinationVersionIdentifier>
        <ns2:Modified></ns2:Modified>
        <ns2:Created></ns2:Created>
        <ns2:Reviewed></ns2:Reviewed>
        <ns2:Vaccine>
            <ns2:VaccineIdentifier>1617175465</ns2:VaccineIdentifier>
            <ns2:VaccineName>Rabies, inaktiveret, hele virus</ns2:VaccineName>
            <ns2:ATC>
                <ns2:Code>J07BG01</ns2:Code>
                <ns2:Text>Rabies, inaktiveret, hele virus</ns2:Text>
            </ns2:ATC>
        </ns2:Vaccine>
        <ns2:VaccinationCredibility>3</ns2:VaccinationCredibility>
        <ns2:BatchNumber>567890</ns2:BatchNumber>
        <ns2:EffectuatedDateTime>2012-05-31T10:00:00Z</ns2:EffectuatedDateTime>
        <ns2:ConfirmedByPrescriptionServer>false</ns2:ConfirmedByPrescriptionServer>
        <ns2:ActiveStatus>true</ns2:ActiveStatus>
        <ns2:IsPrevious>true</ns2:IsPrevious >
    </ns2:Vaccination>
</ns2:UpdateVaccinationResponse>
Fejl
  • PersonWithCprNotFound(4000, “Person med CPR-nr. {0} kunne ikke findes!”, CLIENT)
  • VaccinationNotFound(4002, “Vaccinationen kunne ikke findes!”, CLIENT)
  • CitizenNotAuthorizedToUpdateDoctorData(4102, “Som privatperson må man ikke opdatere data, der er registreret af en læge!”, CLIENT)
  • MismatchingData(1002, “De angivne oplysninger passer ikke sammen ({0})”, CLIENT)
    • “CPR-nr. på gammel og opdateret vaccination”
  • UpdateDeletedVaccinationNotAllowed(4100, “Det er ikke tilladt at opdatere en slettet vaccination!”, CLIENT)
  • MissingRequiredArgument(1003, “En obligarisk oplysning mangler ({0})”, CLIENT)
    • “OldVaccinationIdentifier/OldVaccinationVersion”
  • DrugNotFound(4004, “Lægemiddel kunne ikke findes!”, CLIENT)
  • MissingRequiredArgument(1003, “En obligarisk oplysning mangler ({0})”, CLIENT)
    • “vaccine eller lægemiddel”
  • VaccineNotFound(4003, “Vaccine kunne ikke findes!”, CLIENT)
  • MissingRequiredArgument(1003, “En obligarisk oplysning mangler ({0})”, CLIENT)
    • “vaccinationsdato”
  • CitizenRegistrationNotAllowedForVaccine(4101, “Den angivne vaccine må kun registreres af en læge!”, CLIENT)
fmk/ddv/1.4.0/updatevaccination.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki