from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.hie.adt.subscribe(
address=[{
"address_line1": "addressLine1",
"city": "city",
"state": "state",
"zip": "zip",
}],
dob="dob",
external_id="externalId",
first_name="firstName",
gender_at_birth="M",
last_name="lastName",
)
print(response)
{}
Creates or updates a patient and subscribes to their ADT (Admission, Discharge, Transfer) feed.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.hie.adt.subscribe(
address=[{
"address_line1": "addressLine1",
"city": "city",
"state": "state",
"zip": "zip",
}],
dob="dob",
external_id="externalId",
first_name="firstName",
gender_at_birth="M",
last_name="lastName",
)
print(response)
{}
Default Response
The response is of type object
.