The purpose of this Integration Agreement is to provide
VistA applications with a list of Transfusion Reactions associated with a
patient.
XML Mapping:
____________
XML Element.Attribute / VBECS SQL Table.Column or Function
Patient.dfn / Patient.VistaPatientId
Patient.firstName / Patient.PatientFirstName
Patient.lastName / Patient.PatientLastName
Patient.dob / fnPatientDobConversionToFileManDateTime(Patient.PatientGuid)
Patient.ssn / Patient.PatientSsn
Patient.abo / fnGetAbo(Patient.PatientGuid)
Patient.rh /fnGetRh(Patient.PatientGuid)
TransfusionReaction.type /
TransfusionReactionType.TransfusionReactionTypeText
TransfusionReaction.date /
fnDateTimeConversionToFileManDateTime(PatientTransfusionReaction.NotedDate
Time)
TransfusionReaction.unitId / BloodProduct.EyeReadableUnitId
TransfusionReaction.productTypeName / ProductType.ProductTypeName
TransfusionReaction.productTypePrintName / ProductType.ProductTypePrintName
TransfusionReaction.comment /
PatientTransfusionComment.PatientTransfusionCommentText
Function Description:
_____________________
fnGetAbo - This function returns the patient's current ABO Group.
fnGetRh - This function returns the patient's current Rh Type.
fnDateTimeConversionToFileManDateTime - This function converts a SQL DateTime
data type to FileMan format.
XML Example:
____________
<BloodBank>
<Patient dfn="5000" firstName="One" lastName="VBECSpatient"
dob="19500101" ssn="000000000" abo="A" rh="P" >
<TransfusionReactions>
<TransfusionReaction type="Acute Hemolytic"
date="20000101113555-0600" unitId="04215" productTypeName="RED BLOOD CELLS"
productTypePrintName="RBC" comment="The patient is also experiencing severe
headaches.">
</TransfusionReactions>
</Patient>
</BloodBank>
|