Table of Contents

Hent historik for Dosissispenseringsperiode

Denne service hente den fulde historik for den angivede periode i forespørgslen, det vil sige man får den fulde historik over samtlige ændringer der er foretaget på perioden, og hvem der så har foretaget disse ændringer.

Request

I requesten angives en PersonIdentifier på patienten, samt en DoseDispensingPeriodIdentifier som er Id på den periode man ønsker historik på. Perioden skal være lavet på et DD kort som er/var tilknyttet til patienten. Ellers vil kaldet fejl.

GetDoseDispensingPeriodHistoryRequest.xml
<GetDoseDispensingPeriodHistoryRequest>
    <PersonIdentifier source="CPR">1111111118</PersonIdentifier>
    <DoseDispensingPeriodIdentifier>2131412524515125</DoseDispensingPeriodIdentifier>
</GetDoseDispensingPeriodHistoryRequest>

Response

Som svar fra servicen får man en liste med alle versioner af dosisdispenseringsperioden, samt information omkring hvem modifikatoren på den enkelte version er, samt tidstempel for hvornår ændringen er trådt i kraft.

GetDoseDispensingPeriodHistoryResponse.xml
<GetDoseDispensingPeriodHistoryResponse>
	<PersonIdentifier source="CPR">1111111118</PersonIdentifier>
	<DoseDispensingPeriod>
		<Identifier>1606132608997009194</Identifier>
		<Created>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-22T11:56:48Z</DateTime>
		</Created>
		<ReportedBy>
			<Other>
				...
			</Other>
			<Role>Apoteksansat</Role>
			<Organisation>
				...
			</Organisation>
		</ReportedBy>
		<Modified>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-22T11:56:48Z</DateTime>
		</Modified>
		<StartDate>2020-11-24</StartDate>
		<EndDate>2020-12-07</EndDate>
		<Deadline>2020-11-22T11:56:49Z</Deadline>
		<ExpectedDelivery>2020-11-23T11:56:48Z</ExpectedDelivery>
		<Status>Planlagt</Status>
		<ProductionIdentifier>1234</ProductionIdentifier>
		<AcutePacking>Akut erstatningspakning for mistet medicin</AcutePacking>
	</DoseDispensingPeriod>
	<DoseDispensingPeriod>
		<Identifier>1606132608997009194</Identifier>
		<Created>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-23T11:56:48Z</DateTime>
		</Created>
		<Modified>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-24T11:56:48Z</DateTime>
		</Modified>
		<StartDate>2020-11-24</StartDate>
		<EndDate>2020-12-07</EndDate>
		<Deadline>2020-11-23T11:56:48Z</Deadline>
		<ExpectedDelivery>2020-11-23T11:56:48Z</ExpectedDelivery>
		<Status>Klar til pakning</Status>
		<ProductionIdentifier>1234</ProductionIdentifier>
		<AcutePacking>Akut erstatningspakning for mistet medicin</AcutePacking>
	</DoseDispensingPeriod>
	<DoseDispensingPeriod>
		<Identifier>1606132608997009194</Identifier>
		<Created>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-23T11:56:48Z</DateTime>
		</Created>
		<ReportedBy>
			<Other>
				...
			</Other>
			<Role>Apoteksansat</Role>
			<Organisation>
				....
			</Organisation>
		</ReportedBy>
		<Modified>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-25T11:56:48Z</DateTime>
		</Modified>
		<StartDate>2020-11-24</StartDate>
		<EndDate>2020-12-07</EndDate>
		<Deadline>2020-11-23T11:56:48Z</Deadline>
		<ExpectedDelivery>2020-11-23T11:56:48Z</ExpectedDelivery>
		<Status>Pakning påbegyndt</Status>
		<ProductionIdentifier>1234</ProductionIdentifier>
		<AcutePacking>Akut erstatningspakning for mistet medicin</AcutePacking>
	</DoseDispensingPeriod>
	<DoseDispensingPeriod>
		<Identifier>1606132608997009194</Identifier>
		<Created>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-23T11:56:48Z</DateTime>
		</Created>
		<ReportedBy>
			<Other>
				...
			</Other>
			<Role>Apoteksansat</Role>
			<Organisation>
				...
			</Organisation>
		</ReportedBy>
		<Modified>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-26T11:56:48Z</DateTime>
		</Modified>
		<StartDate>2020-11-24</StartDate>
		<EndDate>2020-12-07</EndDate>
		<Deadline>2020-11-23T11:56:48Z</Deadline>
		<ExpectedDelivery>2020-11-23T11:56:48Z</ExpectedDelivery>
		<Status>Slettet</Status>
		<ProductionIdentifier>1234</ProductionIdentifier>
		<AcutePacking>Akut erstatningspakning for mistet medicin</AcutePacking>
	</DoseDispensingPeriod>
	<DoseDispensingPeriod>
		<Identifier>1606132608997009194</Identifier>
		<Created>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-23T11:56:48Z</DateTime>
		</Created>
		<ReportedBy>
			<Other>
				...
			</Other>
			<Role>Apoteksansat</Role>
			<Organisation>
				...
			</Organisation>
		</ReportedBy>
		<Modified>
			<By>
				<Other>
					...
				</Other>
				<Role>Apoteksansat</Role>
				<Organisation>
					...
				</Organisation>
			</By>
			<DateTime>2020-11-27T11:56:48Z</DateTime>
		</Modified>
		<StartDate>2020-11-24</StartDate>
		<EndDate>2020-12-07</EndDate>
		<Deadline>2020-11-23T11:56:48Z</Deadline>
		<ExpectedDelivery>2020-11-23T11:56:50Z</ExpectedDelivery>
		<Status>Ekspederet</Status>
		<ProductionIdentifier>1234</ProductionIdentifier>
		<AcutePacking>Akut erstatningspakning for mistet medicin</AcutePacking>
	</DoseDispensingPeriod>
</GetDoseDispensingPeriodHistoryResponse>