ETP message reshaping

A DMIM has been created for the PSClaim, ETPWithdraw and DispenseNotification messages. Abstract serializations will be used through this document to show the effects of message reshaping.

DMIM:
DMIM

PSClaim

RMIM:
RMIM

Instance:

<PSClaim xmlns="urn:hl7-org:v3">
	<id root="F04DF150-E4BE-11DA-8FCE-8062E6DC56F6"/>
	<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="163531000000103"/>
	<effectiveTime value="20050105173035"/>
	<typeId root="2.16.840.1.113883.2.1.3.2.4.18.7" extension="PORX_MT142002UK31"/>
	<primaryInformationRecipient>
		<AgentOrg.agentOrganization.id root="1.2.826.0.1285.0.1.10" extension="T1270"/>
		<AgentOrg.agentOrganization.name>Prescription Pricing Authority</AgentOrg.agentOrganization.name>
	</primaryInformationRecipient>
	<receiver>
		<agent.code code="01" displayName="Partner" codeSystem="2.16.840.1.113883.2.1.3.2.4.16.15"/>
		<agentPerson.name>
			<prefix>Mrs</prefix>
			<given>Kate</given>
			<family>Smith</family>
		</agentPerson.name>
	</receiver>
	<pertinentInformation2.pertinentSupplyHeader>
		<id root="184F0810-E4BF-11DA-A08E-CBE7E32E8FBA"/>
		<code code="225426007" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"/>
		<effectiveTime nullFlavor="NA"/>
		<legalAuthenticator>
			<time value="20050105173020"/>
			<signatureText nullFlavor="NA"/>
			<AgentPerson>
				<id root="1.2.826.0.1285.0.2.0.67" extension="125686540025"/>
				<code codeSystem="1.2.826.0.1285.0.2.1.104" code="R5240"/>
				<telecom use="WP" value="tel:01134567890"/>
				<agentPerson.id root="1.2.826.0.1285.0.2.1.54" extension="156968544265"/>
				<agentPerson.name>
					<prefix>Mr</prefix>
					<given>Peter</given>
					<family>Potion</family>
				</agentPerson.name>
				<representedOrganization>
					<id root="1.2.826.0.1285.0.1.10" extension="8AB12"/>
					<code codeSystem="1.2.826.0.1285.0.1.15" code="8"/>
					<name>Potion's Pharmacy</name>
					<telecom use="WP" value="tel:01234567890"/>
					<addr use="WP">
						<streetAddressLine>19, East Street</streetAddressLine>
						<city>Toytown</city>
						<postalCode>TT7 9LP</postalCode>
						<addressKey>32143567</addressKey>
					</addr>
				</representedOrganization>
			</AgentPerson>
		</legalAuthenticator>
		<pertinentInformation2.pertinentSuppliedLineItem>
			<id root="DD86A940-E4BE-11DA-93CC-D4FC1D763DDB"/>
			<code code="225426007" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"/>
			<effectiveTime nullFlavor="NA"/>
			<component.suppliedLineItemQuantity>
				<code code="373784005" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"/>
				<product contextControlCode="OP">
					<suppliedManufacturedProduct.manufacturedSuppliedMaterial.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="3358811000001109" displayName="Full Marks 0.5% liquid (SSL International Plc)"/>
				</product>
				<pertinentInformation1.pertinentChargePayment.value value="true"/>
				<pertinentInformation2.pertinentDispensingEndorsement.value nullFlavor="NA"/>
			</component.suppliedLineItemQuantity>
			<pertinentInformation.pertinentSuppliedLineItemRef>
				<id root="7D2ADAD5-5C40-707A-335C-7712E2D338DE"/>
			</pertinentInformation.pertinentSuppliedLineItemRef>
		</pertinentInformation2.pertinentSuppliedLineItem>
		<pertinentInformation1.pertinentSupplyHeaderRef>
			<id root="6112DA03-3ED5-B4A2-6E29-CA92C8EEBE84"/>
		</pertinentInformation1.pertinentSupplyHeaderRef>
	</pertinentInformation2.pertinentSupplyHeader>
	<coverage.coveringChargeExempt negationInd="true">
		<value codeSystem="2.16.840.1.113883.2.1.3.2.4.16.33" code="0001"/>
	</coverage.coveringChargeExempt>
</PSClaim>
		  

ETPWithdraw

RMIM:
RMIM

Instance:

<ETPWithdraw xmlns="urn:hl7-org:v3">
	<id root="78D2894D-DA0A-9066-A423-447168209931"/>
	<effectiveTime value="20040922101500"/>
	<recordTarget.patient.id root="2.16.840.1.113883.2.1.4.1" extension="9900002717"/>
	<author.AgentPersonSDS.id root="1.2.826.0.1285.0.2.0.67" extension="210987654322"/>
	<author.AgentPersonSDS.agentPersonSDS.id root="1.2.826.0.1285.0.2.0.65" extension="156968544265"/>
	<pertinentInformation3>
		<pertinentWithdrawID.value root="2.16.840.1.113883.2.1.3.2.4.18.8" extension="83C40E-A23856-00123C"/>
	</pertinentInformation3>
	<pertinentInformation2>
		<pertinentWithdrawType.value codeSystem="2.16.840.1.113883.2.1.3.2.4.17.109" code="LD"/>
	</pertinentInformation2>
	<pertinentInformation5>
		<pertinentWithdrawReason.value codeSystem="2.16.840.1.113883.2.1.3.2.4.17.110" code="QU"/>
	</pertinentInformation5>
	<pertinentInformation4>
		<pertinentDispenseNotificationRef.id root="3E13C91B-B6B7-D1D1-DA96-10E26C903CDD"/>
	</pertinentInformation4>
</ETPWithdraw>
		  

DispenseNotification

RMIM:
RMIM

Instance:

<DispenseNotification xmlns="urn:hl7-org:v3">
	<id root="3E13C91B-B6B7-D1D1-DA96-10E26C903CDD"/>
	<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="163541000000107" displayName="Dispensed Medication"/>
	<effectiveTime value="20040916163000"/>
	<typeId root="2.16.840.1.113883.2.1.3.2.4.18.7" extension="PORX_MT024001UK31"/>
	<recordTarget.patient.id root="2.16.840.1.113883.2.1.4.1" extension="2300992742"/>
	<primaryInformationRecipient.AgentOrg classCode="AGNT">
		<agentOrganization.id root="1.2.826.0.1285.0.1.10" extension="T1270"/>
		<agentOrganization.name>PPA</agentOrganization.name>
	</primaryInformationRecipient.AgentOrg>
	<pertinentInformation1.pertinentSupplyHeader>
		<id root="E9A71955-53BA-B15A-D4B6-BEA99D5017B3"/>
		<code code="225426007" codeSystemName="2.16.840.1.113883.2.1.3.2.4.15"/>
		<effectiveTime nullFlavor="NA"/>
		<author typeCode="AUT" contextControlCode="OP">
			<time value="20050321112719"/>
			<signatureText nullFlavor="NA"/>
			<AgentPerson classCode="AGNT">
				<id extension="210987654322" root="1.2.826.0.1285.0.2.0.67"/>
				<code codeSystem="1.2.826.0.1285.0.2.1.104" code="R5240"/>
				<telecom use="WP" value="tel:01134567890"/>
				<agentPerson.id root="1.2.826.0.1285.0.2.0.65" extension="156968544265"/>
				<agentPerson.name>
					<prefix>Mr</prefix>
					<given>Peter</given>
					<family>Potion</family>
				</agentPerson.name>
				<representedOrganization.id root="1.2.826.0.1285.0.1.10" extension="AB123"/>
				<representedOrganization.code codeSystem="2.16.840.1.113883.2.1.3.2.4.17.94" code="003"/>
				<representedOrganization.name>The Simple Pharmacy</representedOrganization.name>
				<representedOrganization.telecom use="WP" value="tel:01234567890"/>
				<representedOrganization.addr use="WP">
					<streetAddressLine>1</streetAddressLine>
					<streetAddressLine>The Midway</streetAddressLine>
					<streetAddressLine>Simple Town</streetAddressLine>
					<postalCode>AA3 3AA</postalCode>
				</representedOrganization.addr>
			</AgentPerson>
		</author>
		<pertinentInformation1.pertinentSuppliedLineItem>
			<id root="4509B70D-D8B8-EA03-1105-64557CB54A29"/>
			<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="225426007"/>
			<effectiveTime nullFlavor="NA"/>
			<consumable contextControlCode="ON" typeCode="CSM">
				<requestedManufacturedProduct.manufacturedRequestedMaterial.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="323465006" displayName="Flucloxacillin 500mg capsules"/>
			</consumable>
			<component.suppliedLineItemQuantity>
				<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="373784005"/>
				<quantity value="28" unit="1">
					<translation value="28" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="3316911000001105" displayName="capsule"/>
				</quantity>
				<product contextControlCode="OP">
					<suppliedManufacturedProduct.manufacturedSuppliedMaterial.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="1547011000001108" displayName="Flucloxacillin 500mg capsules (Alpharma Limited) 28 capsule 2 x 14 capsules"/>
				</product>
				<pertinentInformation1>
					<pertinentSupplyInstructions classCode="OBS" moodCode="EVN">
						<code code="SI" codeSystem="2.16.840.1.113883.2.1.3.2.4.17.30"/>
						<value>4 times a day for 7 days </value>
					</pertinentSupplyInstructions>
				</pertinentInformation1>
			</component.suppliedLineItemQuantity>
			<component1.supplyRequest>
				<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="373784005"/>
				<quantity value="28" unit="1">
					<translation value="28" code="3316911000001105" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="capsule"/>
				</quantity>
			</component1.supplyRequest>
			<pertinentInformation1.pertinentRunningTotal.value value="28" unit="1">
				<translation value="28" displayName="capsule" code="3316911000001105" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"/>
			</pertinentInformation1.pertinentRunningTotal.value>
			<pertinentInformation3.pertinentItemStatus.value codeSystem="2.16.840.1.113883.2.1.3.2.4.17.23" code="0001" displayName="Item fully dispensed"/>
			<inFulfillmentOf.priorOriginalItemRef.id root="66317E0C-CE13-59AD-9979-9B568E080160"/>
		</pertinentInformation1.pertinentSuppliedLineItem>
		<pertinentInformation1.pertinentSuppliedLineItem>
			<id root="06167339-9337-D030-0366-514A6A46DA17"/>
			<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="225426007"/>
			<effectiveTime nullFlavor="NA"/>
			<consumable contextControlCode="ON">
			<requestedManufacturedProduct.manufacturedRequestedMaterial.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="324512005" displayName="Metronidazole 400mg tablets"/>
			</consumable>
			<component.suppliedLineItemQuantity>
				<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="373784005"/>
				<quantity value="21" unit="1">
					<translation value="21" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="3319411000001109" displayName="tablet"/>
				</quantity>
				<product contextControlCode="OP">
				<suppliedManufacturedProduct.manufacturedSuppliedMaterial.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="585011000001109" displayName="Metronidazole 400mg tablets (Teva UK Ltd)"/>
				</product>
				<pertinentInformation1.pertinentSupplyInstructions>
					<code code="SI" codeSystem="2.16.840.1.113883.2.1.3.2.4.17.30"/>
					<value>3 times a day for 10 days </value>
				</pertinentInformation1.pertinentSupplyInstructions>
			</component.suppliedLineItemQuantity>
			<component1>
				<supplyRequest.code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="373784005"/>
				<supplyRequest.quantity value="30" unit="1">
					<translation value="30" code="3319411000001109" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="tablet"/>
				</supplyRequest.quantity>
			</component1>
			<pertinentInformation1.pertinentRunningTotal.value value="21" unit="1">
				<translation value="21" displayName="tablet" code="3319411000001109" codeSystem="2.16.840.1.113883.2.1.3.2.4.15"/>
			</pertinentInformation1.pertinentRunningTotal.value>
			<pertinentInformation3.pertinentItemStatus.value codeSystem="2.16.840.1.113883.2.1.3.2.4.17.23" code="0003" displayName="Item dispensed - partial"/>
			<inFulfillmentOf.priorOriginalItemRef.id root="E76622AE-E2DB-5683-2045-D1C229EDA3A2"/>
		</pertinentInformation1.pertinentSuppliedLineItem>
		<pertinentInformation3.pertinentPrescriptionStatus.value codeSystem="2.16.840.1.113883.2.1.3.2.4.16.35" code="0003" displayName="With Dispenser - Active"/>
		<pertinentInformation4.pertinentPrescriptionID.value root="2.16.840.1.113883.2.1.3.2.4.18.8" extension="83C40E-A23856-00123C"/>
		<inFulfillmentOf.priorOriginalPrescriptionRef.id root="66317E0C-CE13-59AD-9979-9B568E080160"/>
	</pertinentInformation1.pertinentSupplyHeader>
	<pertinentInformation2.pertinentCareRecordElementCategory>
		<code codeSystem="2.16.840.1.113883.2.1.3.2.4.15" code="185361000000102"/>
		<component>
			<actRef classCode="SBADM" moodCode="EVN">
				<id root="E9A71955-53BA-B15A-D4B6-BEA99D5017B3"/>
			</actRef>
		</component>
		<component>
			<actRef classCode="SBADM" moodCode="PRMS">
				<id root="4509B70D-D8B8-EA03-1105-64557CB54A29"/>
			</actRef>
		</component>
		<component>
			<actRef classCode="SBADM" moodCode="PRMS">
				<id root="06167339-9337-D030-0366-514A6A46DA17"/>
			</actRef>
		</component>
	</pertinentInformation2.pertinentCareRecordElementCategory>
	<sequelTo.priorPrescriptionReleaseEventRef.id root="9FBC4386-924F-4025-B8B3-E75819446A45"/>
</DispenseNotification>