Patient Request Data Object (Schemas)

📃

Note:

An empty string "" is considered a value and validation rules will apply (length/valid code/etc). Only null or missing elements will use default values.

Patient Request Data Object

Patient

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyString50RequiredUnique patient ID in Client system.
firstNameString35RequiredPatient's first name.
lastNameString35RequiredPatient's last name.
birthDateDateTimeYYYY-MM-DDRequiredPatient's Date of Birth
genderString1RequiredPatient’s Gender – M, F or U
patientLanguageString3OptionalPatient language must be ENG or SPA.
addressObject (address)RequiredObject containing patient’s address information. See Address table.
contactObject (contact)RequiredObject containing patient’s contact information. See Contact table.
allergiesArray [allergies]RequiredArray containing patient’s allergy information. See the Allergies table for valid list of allergies.
externalMedicationsArray [externalMedications]OptionalArray containing patient’s external medications objects. List any external Medications the patient is taking for pharmacy to know if there is any drug interaction. If there are external medications, then ensure all the object elements are populated. See External Medications table.

Patient (Update Api)

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyString50RequiredUnique patient ID in Client system.
firstNameString35RequiredPatient's first name.
lastNameString35RequiredPatient's last name.
birthDateDateTimeYYYY-MM-DDRequiredPatient's Date of Birth
genderString1RequiredPatient’s Gender – M, F or U
patientLanguageString3OptionalPatient language must be ENG or SPA.
pregnancyIndicatorBoolOptionalPatient's pregnancy state
addressObject (address)RequiredObject containing patient’s address information. See Address table.
contactObject (contact)RequiredObject containing patient’s contact information. See Contact table.
allergiesArray [allergies]RequiredArray containing patient’s allergy information. See the Allergies table for valid list of allergies.
externalMedicationsArray [externalMedications]OptionalArray containing patient’s external medications objects. List any external Medications the patient is taking for pharmacy to know if there is any drug interaction. If there are external medications, then ensure all the object elements are populated. See External Medications table.
identificationObject (identification)Optional

This object is used to update the Patient identification documents like driving license and its details in epost.

See List of Identification Documents.

Address

FieldTypeCharacter LimitRequired/OptionalDescription
addressTypeString15OptionalDefines the type of address. If the filed is not sent by client, then defaults to HOME. Valid values include HOME, PRIMARY OFFICE, TEMPORARY, CORPORATE, ALTERNATE
line1String40RequiredStreet Address
line2String40OptionalStreet Address
line3String40OptionalStreet Address
cityString35RequiredCity
stateString2RequiredUS State Abbreviation Code
zipCodeString10RequiredFormat NNNNN or NNNNN-NNNN
countryCodeString2OptionalISO-3166 2 character country code. Defaults to US.
defaultAddressBooleanOptionalValues = true/false. When the address is to be used as the default address for patient, then populate True; otherwise default to FALSE.

Contact

FieldTypeCharacter LimitRequired/OptionalDescription
contactTypeString15OptionalPatient Contact – Phone, Home Phone, Day Phone, Work Phone, Fax Number, Cellular Number, Alternate
contactAddressString10RequiredContact Details. For instance: Populate phone number if contact type is phone. Format:XXXXXXXXXX
emailAddressString60OptionalPatient Email Address or Email Id.
Note: This field will be visible only if value is not null.

*Required if the Contact object is being provided in the Patient object.

Allergies

FieldTypeCharacter LimitRequired/OptionalDescription
allergiesArray40RequiredArray of string. Character limit is for each string in Array. See valid allergy types below. The allergies field is required, if patient has no allergies pass "NO KNOWN".
Allergy NameAllergy Class
ACE INHIBITORSACE INHIBITORS
ACETAMINOPHENACETAMINOPHEN
AmoxicillinPenicillins
AspirinSalicylates
AtenololBETA ADRENERGIC BLOCKERS
AtorvastatinSTATINS
BenazeprilACE INHIBITORS
BETA ADRENERGIC BLOCKERSBETA ADRENERGIC BLOCKERS
CephalosporinsCephalosporins
CiprofloxacinQUINOLONES
CodeineMorphine and Related
DemerolMEPERIDINE AND RELATED
ErythromycinMacrolides and Ketolides
FosinoprilACE INHIBITORS
IBUPROFENNSAIDS
IODIDESIODINATED CONTRAST MEDIA
IODINATED CONTRAST MEDIAIODINATED CONTRAST MEDIA
IODINATED DIAGNOSTIC AGENTSIODINATED CONTRAST MEDIA
LevofloxacinQUINOLONES
LisinoprilACE INHIBITORS
Macrolides and KetolidesMacrolides and Ketolides
MEPERIDINE AND RELATEDMEPERIDINE AND RELATED
MetoprololBETA ADRENERGIC BLOCKERS
MISC. SULFONAMIDE CONTAINING COMPOUNDSMISC. SULFONAMIDE CONTAINING COMPOUNDS
Morphine and RelatedMorphine and Related
No KnownNo Known Drug Allergy
No Known Drug AllergyNo Known Drug Allergy
NSAIDSNSAIDS
PenicillinsPenicillins
QUINOLONESQUINOLONES
RosuvastatinSTATINS
SalicylatesSalicylates
SHELLFISH-DERIVED PRODUCTSSHELLFISH-DERIVED PRODUCTS
SimvastatinSTATINS
STATINSSTATINS
SulfaSulfa Antibiotics
Sulfa AntibioticsSulfa Antibiotics
TetracyclinesTetracyclines & Related
Tetracyclines & RelatedTetracyclines & Related
📃

Additional Allergy Information

Allergy information not matching the defined allergy list will still be accepted. However the information will be added in the HealthDyne system under the "notes" section of the Patient's profile for pharmacist to review. Each non-defined allergy list entry has a 40 character limit.

External Medications

FieldTypeCharacter LimitRequired/OptionalDescription
ndcString11Required*NDC of the medication
startDateDateTimeYYYY-MM-DDOptionalDate when medication was started
endDateDateTimeYYYY-MM-DDOptionalDate when medication was ended

*NDC is required if the External Medications object is being provided in the Patient object.

Identification

FieldTypeCharacter LimitRequired/OptionalDescription
patientIdString60Required*Unique Id of the Identity Document.
patientIdCodeString03Required*Code to identify the type of identity document. For example: 02 refers to Driver's license. See List of Identification Documents .
patientIdExpirationDateOnly?YYYY-MM-DDOptionalDate when the identity document will be expired / invalid.

List of Identification Documents

Patient Id CodeDescription
01SOCIAL SECURITY NUMBER
02DRIVERS LICENSE NUMBER
03U.S. MILITARY ID
04Non-SSN based ID
06Medicaid ID assigned by State
07State Issued ID
08Passport ID
09Medicaid HIC#
10Employer Assigned ID
11Payer/PBM Assigned ID
12Alien Number ID
13Student Visa ID
14Indian Tribal ID
1JFacility ID
99OTHER
EAMedical Record ID(EHR)

GET Patient Request

Query Parameter

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyString50RequiredUnique patient ID in Client system.

Response Object

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyString50RequiredUnique patient ID in Client system.
firstNameString35RequiredPatient's first name.
lastNameString35RequiredPatient's last name.
genderString1RequiredPatient’s Gender – M, F or U
epostPatientNumberIntegerOptionalPatient's ePost Number.
Note: This field will only be visible for DTC client.
patientLanguageString3RequiredPatient language must be ENG or SPA.
birthDateDateTimeYYYY-MM-DDRequiredPatient's Date of Birth
healthConditionArrayOptionalPatient's health condition.
addressObject (address)RequiredObject containing patient’s address information. See Address table.
contactObject (contact)RequiredObject containing patient’s contact information. See Contact table.
externalMedicationsArray [externalMedications]OptionalArray containing patient’s external medications objects. List any external Medications the patient is taking for pharmacy to know if there is any drug interaction. If there are external medications, then ensure all the object elements are populated. See External Medications table.
identificationObject (identification)OptionalThis object is used to update the Patient identification documents like driving license and its details in epost.
See List of Identification Documents.
pregnancyIndicatorString1RequiredPatient's pregnancy status.
allergiesArray [allergies]OptionalArray containing patient’s allergy information. See the Allergies table for valid list of allergies.

Identification

FieldTypeCharacter LimitRequired/OptionalDescription
patientIdString60RequiredUnique Id of the Identity Document.
patientIdCodeString03RequiredCode to identify the type of identity document. For example: 02 refers to Driver's license. See List of Identification Documents .
patientIdExpirationDateOnly?YYYY-MM-DDOptionalDate when the identity document will be expired / invalid.

List of Identification Documents

Patient Id CodeDescription
01SOCIAL SECURITY NUMBER
02DRIVERS LICENSE NUMBER
03U.S. MILITARY ID
04Non-SSN based ID
06Medicaid ID assigned by State
07State Issued ID
08Passport ID
09Medicaid HIC#
10Employer Assigned ID
11Payer/PBM Assigned ID
12Alien Number ID
13Student Visa ID
14Indian Tribal ID
1JFacility ID
99OTHER
EAMedical Record ID(EHR)

Find Patient Request

Query Parameter

FieldTypeCharacter LimitRequired/OptionalDescription
firstNameString35RequiredPatient's first name.
lastNameString35RequiredPatient's last name.
birthDateDateTimeYYYY-MM-DDRequiredPatient's Date of Birth
zipCodeString10RequiredFormat NNNNN or NNNNN-NNNN

Response Object

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyArrayRequiredArray of patientKey(s) (Unique patient ID in Client system.).
firstNameString35RequiredPatient's first name.
lastNameString35RequiredPatient's last name.
birthDateDateTimeYYYY-MM-DDRequiredPatient's Date of Birth
zipCodeString10RequiredFormat NNNNN or NNNNN-NNNN

Get Patient Scripts/Prescriptions Request

Query Parameter

FieldTypeCharacter LimitRequired/OptionalDescription
patientKeyString50RequiredUnique patient ID in Client system.

Response Object

FieldTypeCharacter LimitRequired/OptionalDescription
scriptKeysArray50 per valueRequiredArray of scriptKey(s) associated to Patient.

Create Patient Request

Request Object

FieldTypeCharacter LimitRequired/OptionalDescription
patientObject (patient)RequiredObject containing patient’s personal information.

Response Object

FieldTypeCharacter LimitDescription
patientKeyString50Unique patient ID in Client system.
messageStringmaxStatus messages string.
epostPatientNumberIntegerUnique patient number from ePost.
Note: This field will appear in response only if EPostRxPatientNumberEnabled flag for client is enabled.

Update Patient Request

Request Object

FieldTypeCharacter LimitRequired/OptionalDescription
patientObject (patient)RequiredObject containing patient’s personal information.

Response Object

FieldTypeCharacter LimitDescription
patientKeyString50Unique patient ID in Client system.
messageStringmaxStatus messages string.
epostPatientNumberIntegerUnique patient number from ePost.
Note: This field will appear in response only if EPostRxPatientNumberEnabled flag for client is enabled.

Did this page help you?