Gocodo YourChart Client documentation¶
The Gocodo YourChart Client is set of programmatic descriptions and webservice client for Epic’s MyChart Mobile product. With this, a programmer can quickly connect to and retrieve the health records on behalf of individuals for use in applications.
Contents:
Overview¶
The Gocodo YourChart Client is a set of programmatic clients for Epic’s MyChart Mobile product. With this, a programmer can quickly connect to and retrieve the health records of an individual. Gocodo YourChart Client currently supports connecting to about 250 different hospital systems. A handful of applications that this set of client libraries could be used to create include:
- Creating a Personal Health Record (PHR) application (mobile/ web)
- A Personal Health Record system that aggregates health records across many different hosptial systems
- A way to prove a person is who they say they are and have particular conditions/ go to particular medical systems
- Transfer basic information on individuals going to a new doctor
- Gathering information for a clinical trial
All a developer needs to get started are an individual’s MyChart hosptial location, username, password, and approval to access their health records.
Hospitals¶
The following is a list of health system’s and hospitals that are currently supported by the Gocodo YourChart Client. The main requirement for being supported is that the health system/ hospital has MyChart Mobile enabled for their deployment of Epic MyChart.
OrgId | Health System/ Hospital Name | MyChart Branding |
---|---|---|
412-2 | Access Community Health Centers | MyChart |
762 | Access Community Health Network | myACCESSHEALTH |
302 | Adventist Health | MyChart MyHealth |
691 | Akron Children’s | MyChart |
870 | Alegent Creighton Health | MyChart |
465 | Allina | MyChart |
714 | Altru | MyHealth |
688 | Anne Arundel | MyChart |
435 | Arnett | MyChart |
843 | Asante Health System | MyChart |
163 | Atrius Health | MyHealth |
443 | Austin Regional Clinic | MyChart |
782 | Baptist Health | MyChart |
875 | Baptist Memorial Health Care | Baptist OneCare |
514-2 | Barton Health | MyChart |
778 | Bassett Healthcare | MyBassett Health Connection |
830-2 | The Baton Rouge Clinic | MyChart |
663 | Baylor | MyChart |
485 | Beaumont | myBeaumontChart |
880 | Boston Medical Center | BMC MyChart |
509-3 | Broadway | MyChart |
804 | Bronson | Bronson MyChart |
883 | Brookdale University Hospital and Medical Center | MyBrookdale |
509-2 | Buffalo Clinic | MyChart |
317 | Buffalo Medical Group | MyBMGChart |
650 | Cadence Health | MyChart |
445 | Cambridge Health Alliance | MyChart |
600 | Carilion | MyChart |
316 | Carle | MyCarle |
742 | Catholic Health Partners | MyChart |
765-2 | GHV-Catskill | MyChart |
612 | Cedars-Sinai | My CS-Link |
515 | CentraCare | MyChart |
160 | Children’s Hospital Colorado | MyChart |
553 | Children’s Omaha | Children’s Connect |
815 | Children’s Hospital of Wisconsin | MyChart |
871 | Children’s Hospital Oakland | MyChart |
655 | The Christ Hospital | MyChart |
773 | Catholic Health Services of Long Island | CHS MyChart |
565 | Cincinnati Children’s | MyChart |
320 | Cleveland Clinic | MyChart |
594 | Children’s Medical Center Dallas | MyChart |
834 | Community Health Network | MyChart |
750 | Community Healthcare System | MyChart |
797 | Cone Health | MyChart Powered by Cone Health |
578 | Cooper | MyCooper |
545 | Covenant HealthCare | MyChart |
854 | Cheyenne Regional Medical Center | MyChart |
722 | Dartmouth | myD-H |
567 | Dayton Children’s Hospital | MyKidsChart |
703 | Deaconess | ViewMyChart.com |
415-1 | Dean Clinic | MyChart |
465-6 | District One Hospital | MyChart |
515-2 | Douglas County Hospital | MyChart |
342 | Dreyer | MyChart |
835 | Duke University Health System | Duke MyChart |
206 | DuPage Medical Group | MyChart |
265 | East Boston Neighborhood Health Center | MyChart |
517-2 | East Carolina University Physicians | ECU MyChart |
206-2 | Edward | Edward MyChart |
333 | Elliot | MyEChart |
343 | Essentia Health | MyHealth |
312 | Fairview | MyChart |
866 | Franciscan Health Services | Franciscan MyChart |
465-1 | FirstLight | MyChart |
648 | Franciscan Alliance | MyChart |
453 | Froedtert | MyChart |
735 | Genesis | MyChart |
801 | Glens Falls Hospital | GFH MyChart |
465-5 | Glencoe Regional Health Services | MyChart |
748 | Grady Health System | MyChart |
465-3 | Grand Itasca | MyChart |
413 | GHC | GHCMyChart |
605 | Gundersen Health System | MyCare |
433 | Guthrie | eGuthrie |
701 | Hackensack UMC | MyChart |
420 | HCHD | MyHealth |
795 | Hattiesburg | Iris |
471 | Hawaii Pacific Health | MyHealthAdvantage |
510 | Hennepin | MyChart |
848 | Henry Ford Health System | Henry Ford MyChart |
774 | Hurley Medical Center | MyChart |
465-4 | Hutchinson Health | MyChart |
694 | Infirmary | MyChart |
816 | Inova Health System | MyChart |
826 | John C. Lincoln | MyChart |
842 | Johns Hopkins Medicine | MyChart |
789 | JPS Health Network | JPS MyChart |
148 | Kelsey-Seybold | MyKelseyOnline |
749 | Kettering | MyChart |
631 | KDMC | MyChart |
569 | University of Kansas Hospital | MyChart |
652 | Lakeland HealthCare | Lakeland Health MyChart |
538 | Lancaster | MyLGHealth |
523 | Lee Memorial Health System | MyChart |
671 | Legacy Health System | MyHealth |
461 | Loyola Medicine | MyLoyolaSelect |
779 | LSU | MyChart |
633 | MaineHealth | MyChart |
706 | Maricopa | MyChart |
786 | Martin Memorial | MyChart |
682 | Health Ventures | MyChart |
775 | MediSys Health Network | MediSys MyChart |
763 | Memorial Healthcare System | MyChart |
549 | MHS | MyChart |
864 | Mercy Medical Center | MyChart |
876 | Mercy Health Services | MyChart Mercy |
450 | Meriter | MyChart |
530 | Metro Health | MyChart |
292 | MetroHealth OH | MyChart |
846 | Memorial Health | MyChart |
452 | Monroe Clinic | MyChart |
850 | HCA | MyChart |
658 | Mount Sinai Florida | MyChart |
279 | MultiCare | MyChart |
824 | MUSC Health | MyChart |
456 | Aspirus | MyAspirus |
306-2 | Bellin | My Bellin Health |
590 | BonSecours | MyBonSecours |
426 | IFH | MyChartMyHealth |
758 | Providence Health & Services | |
808 | Providence Health & Services | |
802 | Providence Health & Services | |
223 | Geisinger | MyGeisinger |
343-2 | MyHealth | Powered by Essentia Health |
780 | Kadlec | Kadlec My K-Chart |
836 | Loma Linda | My LLU Health |
498 | MemorialCare | myChart |
513 | MountSinai | My Mount Sinai Chart |
297 | UPenn | myPennMedicine |
791 | University of Michigan | MyUofMHealth |
814 | UC Health | My UC Health |
525 | Nationwide Children’s Hospital | MyChart |
825 | The Nebraska Medical Center | One Chart | PATIENT |
321 | Nemours | MyNemours |
509 | North Memorial | MyChart |
840 | North Oaks Health System | MyChart |
431 | NorthShore University HealthSystem | NorthShoreConnect |
338 | Northwestern Medicine | Northwestern Medicine’s MyChart |
819 | Norton Healthcare | MyChart |
798 | Novant | MyNovant |
718 | NYU Langone | MyChart at NYU Langone |
432 | OCHIN | MyChart |
796 | Ochsner Health System | MyOchsner |
557 | OSU | OSUMyChart |
504 | Oregon Health and Science University | OHSU MyChart |
765 | GHV-ORMC | MyChart |
596 | OSF HealthCare | OSF myHealth |
830-3 | Our Lady of the Lake | MyChart |
851 | Overlake | ONE Chart |
781 | Owensboro | MyChart |
720 | Pacific Medical Center | MyChart |
675 | Park Nicollet | MyChart |
300 | Parkland | MyChart |
838 | Parkview Health | MyChart |
853 | PeaceHealth | PatientConnection |
425 | Ascension - Providence HealthCare Network | MyChart |
839 | Piedmont Healthcare | MyChart |
512-2 | Polyclinic | MyChart |
494 | Premier Health Partners | MyChart |
792 | ProHealth Care | MyChart |
805 | Provena | MyChart |
637 | Rady Children’s | MyChart at Rady Children’s |
844 | Reading Health System | MyChart |
511 | Reliant Medical Group | MyChart |
514 | Renown | MyChart |
787 | Resurrection Health Care | MyChart |
515-4 | Rice Memorial Hospital | MyChart |
771 | Riverside Medical Clinic | My Healthy Connection |
436 | Riverbend Medical Group | MyChart |
772 | Rochester General | MyCare |
756 | Rockford Health System | RHS MyChart |
294 | Rush University Medical Center | MyChart |
442 | TMC | Saguaro Physicians MyChart |
516 | Salem | MyChart |
849 | Samaritan Health Services | MyChart |
856 | Scott & White Healthcare | MyChart |
507 | Sanford | My Sanford Chart |
785 | Sansum | MyChart |
855 | Santa Clara | MyHealth Online |
645 | Sisters of Charity of Leavenworth Health System | MyChart |
531 | Sentara | Sentara MyChart |
822 | Singing River Health System | MyChart |
804-2 | South Haven Health System | MyChart |
684 | Sparrow Health System | MySparrow |
648-2 | Specialty Physicians of Illinois | MyChart |
618-1 | SSM Health Care | MyChart |
618 | SSM | MyChart |
618-2 | St. Anthony | MyChart |
680 | St Anthony’s Medical Center | MyChart |
541 | Stanford | MyHealth |
857 | Stanford Children’s Health | MyChart |
465-7 | St. Croix Regional Medical Center | MyChart |
830 | St. Elizabeth | MyChart |
712 | St. Elizabeth Healthcare | MyChart |
618-3 | St. Francis | MyChart |
888 | Saint Francis Health System | MyChart |
891 | St Joseph’s Hospital Health Center | My St. Joseph’s |
799 | St. Luke’s | MyChart |
845 | St Luke’s Health System | MyChart |
441 | HSHS and Prevea Health | MyPrevea |
768 | Stormont Vail Health Care | MyChart |
278 | Sutter Health | My Health Online |
512 | Swedish | MyChart |
428 | Talbert | TMG4ME |
761 | Tampa General Hospital | MyChart |
660 | TempleHealth | myTempleHealth |
551 | Texas Children’s | MyChart |
491 | THR | MyCare |
306 | Thedacare | MyThedaCare |
410 | CHOP | MyChart |
584 | The Everett Clinic | MyChart |
759 | The Vancouver Clinic | MyChart@TVC |
821 | The Portland Clinic | MyChart |
515-3 | Tri-County Health Care | MyChart |
319 | TriHealth | MyChart |
832 | Trinity Mother Frances | MyChart |
865 | University of Arkansas for Medical Sciences | MyChart |
451 | UC Davis | MyChart |
806 | UCLA Medical Center | myUCLAhealth |
502 | UCSD | MyUCSDChart |
166 | UCSF | |
677 | University of Florida | MyChart |
882 | UNC Health Care | My UNC Chart |
465-2 | United Family Medicine | MyChart |
790 | UnityPoint Health | MyUnityPoint |
859 | University of Arizona Health Network | MyChart |
755 | University of Colorado Hospital | My Health Connection |
810 | UHCS | UHMyChart |
779-2 | University Health | University Health MyChart |
434 | University Hospital | MyChart |
592 | UIHC | MyChart |
784 | University of Mississippi Medical Center | MyChart |
555 | University of Maryland Medical System | MyPortfolio |
747 | University of Miami | MyUHealthChart |
303 | University of Utah | |
737 | University of Virginia | MyChart UVA |
312-2 | University of Minnesota | MyChart |
261 | UPMC | MyUPMC |
753 | SUNY | MyChart |
751 | University of Rochester | MyChart |
477 | UTMB | MyChart |
582 | UT Medicine San Antonio | MyChart |
408 | UTSW | MyChart |
412 | UW Health | MyChart |
255 | UW Medicine | eCare |
817 | Valley Medical Center | MyChart |
517 | Vidant Health | Vidant Health MyChart |
823 | Wake Forest | myWakeHealth |
409 | Weill Cornell | Weill Cornell Physicians |
863 | WellStar | WellStar MyChart |
879 | Wellmont Health System | MyWellmont |
764 | Wenatchee Valley | MyChart |
563 | West Virginia University | MyWVUChart |
827 | Wheaton Franciscan | MyChart |
788 | Washington Hospital Health System | WmyChart |
415-2 | Wildwood Family Clinic | MyChart |
800 | Yale New Haven Health/Yale Medical Group | MyChart |
665 | Yuma | MyCare |
Data¶
A wide array of different types of patient data are available through the use of the Gocodo YourChart Client. For example:
- Immunization history
- Allergies
- Lab results
- Current medications
- Patient facing notes, orders, diagnosis, and medications from a medical encounter (such as a preventative visit)
- Lab results
- Current problems list
This data is made available by hospitals by the MyChart Mobile webservice. Given a location, a username, and a password, and a patients permission, a developer can fetch all of the above information. See the Models section for a more complete description of the data made available.
API Clients¶
To make it easier for software developers to get quick and secure access to patient records, API clients have been provided for use by Gocodo under an MIT license. Please contact Michael Wasser at Gocodo for access to the API clients. Currently, the API client is written in the following languages:
- Javascript with Node.js
- .Net
- Objective-C
If you would like support for additional languages, please contact Michael Wasser at Gocodo. Writing additional clients are relatively strait forward and can generally be completed in less than two days.
Getting Started¶
To get started, you’ll first need access to the API Client of your choice’s source code. To get access to the source, please contact Michael Wasser at Gocodo. Once you have access, you will be able to use the language specific documentation along with the documentation in the Calls and Models sections to connect to and interact with patient records.
Node.js¶
The Gocodo YourChart Client is available as a Node.js npm package. For access to the source, contact Michael Wasser.
Once installed, the package can be include via
var YourChartClient = require('yourchart')
To create a client, use
var client = new YourChartClient('<Epic MyChart Username>', '<Epic MyChart Password>', '<Epic-specified Organization ID>')
To get an organizations id, you can programatically access an array of all known sites using YourChartClient.sites. Each site will have an orgId which tells the client where to fetch health records from. Each object in the sites array looks like the following example:
{
serviceUrl: 'https://mychart.swedish.org/MyChartWeb/Wcf/Epic.MyChartMobile/MyChartMobile.svc/',
name: 'Swedish',
orgId: '512',
myChartBranding: 'MyChart',
myChartUserLabel: 'Username',
locations: [ 'Washington' ],
timezone: 'America/Los_Angeles'
}
Once a client is initialized, any of the listed Calls can be used to access patient information. In the node.js client, the names of calls and the properties listed in the resulting Models will be camel-cased versions of themselves. E.g. The call documented as ListPastAppointments becomes listPastAppointments in the node.js client. For each call, the first paramenter will be a hash of both request parameters (key would be the name of the parameter) as well as the request model (key would be requestModel). The second parameter will be a callback with a first parameter communicating error conditions if they exist and null otherwise, and a second parameter with the request’s response model. For example, a call to getAccountDetails may look as follows:
client.getAccountDetails({
request_model: {
billingAccountId: "<account id>",
billingAccountType: <account type>
}
}, function (err, response) {
if (err) return console.log('Something bad happened!');
if (response.isPaperless) {
console.log("User receives paperless statements!");
}
});
Calls to authenticate will be automatically made during the first call and its results will be stored in authenticateResponse on the current instance of the client. Manual calls to authenticate will also authorize the client/ store the results for future calls.
Putting it all together:
var YourChartClient = require('yourchart'),
orgId, client;
// Fetch the orgId of Swedish
orgId = YourChartClient.sites.filter(function (elm) { return elm.name == 'Swedish'; })[0];
// Create a client with a MyChart user's credentials
client = new YourChartClient('<Swedish MyChart username>', '<Swedish MyChart password>', orgId);
// Fetch a list of past appointments
client.listPastAppointments({identifier: 0, index: 0}, function (err, data) {
if (err) return console.log(err.stack);
console.log("Past Appointments:");
console.log("==================");
// Display results of listing past appointments
console.dir(data);
if (typeof data.appointmentList !== undefined && data.appointmentList.length > 0) {
var appointmentID = data.appointmentList[0].dat;
// Get details for a specific appointment
epicClient.getEncounter({identifier: 0, appointment_dat: appointmentID}, function (err, data) {
if (err) return console.log(err.stack);
console.log("");
console.log("First Past Appointment Details:");
console.log("===============================");
// Display specific appointment details
console.dir(data);
});
}
});
Objective-C¶
TODO: Write
.Net¶
TODO: Write
Reporting Bugs¶
If you come across a bug in the Gocodo YourChart Client, please report the bug at Gocodo YourChart or submit a pull request. If you don’t have access to the project, please contact Michael Wasser.
Calls¶
Each call bellow will send a web request to the previously selected hospital system. For more information on creating a client and using the given calls, see the client specific documentation (e.g. the node.js client).
AcceptTermsConditions¶
TODO: Write this
GetAccountDetails¶
Used to get an individuals’ billing and demographic information. Data for the request model can be found on one of the Account included in the response from GetBillsAndStatements.
GetTermsConditions¶
TODO: Write this
In addition to the calls listed above, support could be theoretically added for any feature seen in MyChart Mobile. Here’s a list of calls known to exist at some hospitals that are currently unsupported by Gocodo Epic Client:
- Schedule Appointment
- Send Message (to a doctor, nurse, etc)
- Get Imaging Results
- Request Medication Refill
If are working with a site that supports any of the above features and would like to see support added, please look here.
Models¶
Each model bellow is used in one or more calls. For more information on how to fetch the models using a specific client, see the client specific documentation (e.g. the node.js client).
Account¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Id | String | TODO: Write description |
PatientName | String | TODO: Write description |
ServiceAreaId | String | TODO: Write description |
ServiceAreaName | String | TODO: Write description |
Used in models
AccountDemographics¶
TOOD: Write description
Property | Type | Description |
---|---|---|
PatientName | String | TODO: Write description |
Address | Array of String | TODO: Write description |
HomePhone | String | TODO: Write description |
WorkPhone | String | TODO: Write description |
Used in models
Alert¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Count | Integer | TODO: Write description |
Key | String | TODO: Write description |
Type | String | TODO: Write description |
Allergy¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
Date | DateTime | TODO: Write description |
Reactions | Array of String | TODO: Write description |
Appointment¶
TOOD: Write description
Property | Type | Description |
---|---|---|
CancelDirectAllowed | Boolean | TODO: Write description |
CancelRequestAllowed | Boolean | TODO: Write description |
CancelRequestSent | Boolean | TODO: Write description |
IsTimeNull | Boolean | TODO: Write description |
ConfirmStatus | Integer | TODO: Write description |
Dat | String | TODO: Write description |
Date | DateTime | TODO: Write description |
IsClinicalInformationAvailable | Boolean | TODO: Write description |
IsEDVisit | Boolean | TODO: Write description |
IsSurgery | Boolean | TODO: Write description |
PatientInstruction | String | TODO: Write description |
Provider | Provider | TODO: Write description |
SurgeryTimeOfDay | String | TODO: Write description |
VisitType | String | TODO: Write description |
Used in models
AppointmentListResult¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AppointmentList | Array of Appointment | TODO: Write description |
LoadMoreDAT | String | TODO: Write description |
Used in calls
AttachementSettings¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AllowedImageExtensions | Array of String | TODO: Write description |
AllowedVideoExtensions | Array of String | TODO: Write description |
MaximumAllowed | Integer | TODO: Write description |
MaximumImageSize | Integer | TODO: Write description |
MaximumVideoSize | Integer | TODO: Write description |
Used in models
AuditLog¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Logs | Array of WPLog | TODO: Write description |
TimeStamp | String | TODO: Write description |
Used in calls
Authenticate¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Username | String | TODO: Write description |
Password | String | TODO: Write description |
Used in calls
AuthenticateResponse¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AccountID | String | TODO: Write description |
Available2011Features | Integer | TODO: Write description |
Available2012Features | Integer | TODO: Write description |
Available2013Features | Integer | TODO: Write description |
HomeURL | String | TODO: Write description |
DeviceTimeout | Integer | TODO: Write description |
FeatureInformation | FeatureInformation | TODO: Write description |
IsAdmitted | Boolean | TODO: Write description |
IsPatient | Boolean | TODO: Write description |
Name | String | TODO: Write description |
ReadOnlyServer | Boolean | TODO: Write description |
ShowTerms | String | TODO: Write description |
Status | String | TODO: Write description |
TermsConditions | String | TODO: Write description |
Ticket | String | TODO: Write description |
TicketTimeout | Integer | TODO: Write description |
Used in calls
BillSummary¶
TOOD: Write description
Property | Type | Description |
---|---|---|
OutstandingBalance | String | TODO: Write description |
AcceptPayment | Boolean | TODO: Write description |
BillingAccountType | Integer | TODO: Write description |
HasNewInfo | Boolean | TODO: Write description |
RecentPayment | RecentPayment | TODO: Write description |
Account | Account | TODO: Write description |
PaymentPlan | String | TODO: Write description |
RecentStatement | String | TODO: Write description |
Used in models
BillingAccountDetailsRequest¶
TOOD: Write description
Property | Type | Description |
---|---|---|
BillingAccountId | String | TODO: Write description |
BillingAccountType | Integer | TODO: Write description |
Used in calls
BillingAccountDetailsResponse¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AccountDemographics | AccountDemographics | TODO: Write description |
PaymentPlan | String | TODO: Write description |
Statements | String | TODO: Write description |
IsPaperless | Boolean | TODO: Write description |
RecentPayments | String | TODO: Write description |
OutstandingBalance | String | TODO: Write description |
RecentStatementsEnabled | Boolean | TODO: Write description |
UnviewableStatementsAvailable | Boolean | TODO: Write description |
Used in calls
BillsAndStatementsSummary¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Bills | Array of BillSummary | TODO: Write description |
PastStatements | String | TODO: Write description |
PaperlessStatus | Integer | TODO: Write description |
AllowCancelPaperless | Boolean | TODO: Write description |
Used in calls
Component¶
TOOD: Write description
Property | Type | Description |
---|---|---|
ComponentComments | String | TODO: Write description |
Flag | String | TODO: Write description |
High | String | TODO: Write description |
Low | String | TODO: Write description |
Name | String | TODO: Write description |
RefRange | String | TODO: Write description |
Unit | String | TODO: Write description |
Value | String | TODO: Write description |
Used in models
CurrentHealthIssue¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Date | DateTime | TODO: Write description |
Name | String | TODO: Write description |
Diagnosis¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
Used in models
Encounter¶
TOOD: Write description
Property | Type | Description |
---|---|---|
CancelDirectAllowed | Boolean | TODO: Write description |
CancelRequestAllowed | Boolean | TODO: Write description |
CancelRequestSent | Boolean | TODO: Write description |
ConfirmStatus | String | TODO: Write description |
Dat | String | TODO: Write description |
Date | DateTime | TODO: Write description |
IsClinicalInformationAvailable | Boolean | TODO: Write description |
IsEDVisit | Boolean | TODO: Write description |
IsSurgery | Boolean | TODO: Write description |
IsTimeNull | Boolean | TODO: Write description |
PatientInstruction | String | TODO: Write description |
Provider | Provider | TODO: Write description |
SurgeryTimeOfDay | String | TODO: Write description |
VisitType | String | TODO: Write description |
Avs_order | String | TODO: Write description |
Diagnoses | Array of Diagnosis | TODO: Write description |
FollowUpInstructions | String | TODO: Write description |
Medications | Array of Medication | TODO: Write description |
Orders | Array of Order | TODO: Write description |
Reasons | Array of String | TODO: Write description |
Vitals | Vitals | TODO: Write description |
Used in calls
FeatureInformation¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AllowRxRefill | Boolean | TODO: Write description |
DisabledFeatures | Array of String | TODO: Write description |
EnabledFeatures | Array of String | TODO: Write description |
Used in models
From¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
IsPCP | Boolean | TODO: Write description |
OOCEndDate | DateTime | TODO: Write description |
PCPType | String | TODO: Write description |
RecipTemplate | String | TODO: Write description |
Used in models
HealthAdvisory¶
TOOD: Write description
Property | Type | Description |
---|---|---|
DueDate | DateTime | TODO: Write description |
DueDateOverride | String | TODO: Write description |
LastDoneDate | DateTime | TODO: Write description |
Name | String | TODO: Write description |
Status | String | TODO: Write description |
StatusText | String | TODO: Write description |
Immunization¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Dates | Array of DateTime | TODO: Write description |
Name | String | TODO: Write description |
MedicalAdviceSettings¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AttachementSettings | AttachementSettings | TODO: Write description |
PoolList | String | TODO: Write description |
ProviderList | Array of WPMessageRecipient | TODO: Write description |
SubjectList | Array of WPObject | TODO: Write description |
Used in calls
Medication¶
TOOD: Write description
Property | Type | Description |
---|---|---|
CanRefill | Boolean | TODO: Write description |
CommonBrandName | String | TODO: Write description |
DiscontinuedDate | DateTime | TODO: Write description |
DosageInfo | String | TODO: Write description |
EndDate | DateTime | TODO: Write description |
Expiration | String | TODO: Write description |
GenericProductIndicator | String | TODO: Write description |
HasPendingRefill | Boolean | TODO: Write description |
ID | String | TODO: Write description |
Instructions | String | TODO: Write description |
LastUpdateInstant | String | TODO: Write description |
Name | String | TODO: Write description |
NdcCode | String | TODO: Write description |
Pharmacy | Pharmacy | TODO: Write description |
PrescriptionNumber | String | TODO: Write description |
ProductName | String | TODO: Write description |
Provider | String | TODO: Write description |
ProviderID | String | TODO: Write description |
RefillPendingStatus | String | TODO: Write description |
RefillsRemaining | String | TODO: Write description |
RefillsTotal | String | TODO: Write description |
StartDate | DateTime | TODO: Write description |
Used in models
Message¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
Body | String | TODO: Write description |
Date | DateTime | TODO: Write description |
From | From | TODO: Write description |
HasAttachments | Boolean | TODO: Write description |
HasIncompleteTask | Boolean | TODO: Write description |
Read | Boolean | TODO: Write description |
Subject | String | TODO: Write description |
To | To | TODO: Write description |
Used in models
MessageDetail¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
Body | String | TODO: Write description |
Date | DateTime | TODO: Write description |
From | From | TODO: Write description |
HasAttachments | Boolean | TODO: Write description |
HasIncompleteTask | Boolean | TODO: Write description |
Read | Boolean | TODO: Write description |
Subject | String | TODO: Write description |
To | To | TODO: Write description |
AllowAttachmentsForReply | Boolean | TODO: Write description |
CanBeReplied | Boolean | TODO: Write description |
Note | String | TODO: Write description |
Tasks | String | TODO: Write description |
Viewers | Array of MessageViewer | TODO: Write description |
Used in calls
MessageListResult¶
TOOD: Write description
Property | Type | Description |
---|---|---|
LoadMore | Boolean | TODO: Write description |
MessageList | Array of Message | TODO: Write description |
PositionInfo | String | TODO: Write description |
Used in calls
MessageViewer¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
ReadDate | DateTime | TODO: Write description |
Used in models
Order¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
CodeType | String | TODO: Write description |
ExpectedDate | DateTime | TODO: Write description |
ExpireDate | DateTime | TODO: Write description |
ProcedureCode | String | TODO: Write description |
Type | String | TODO: Write description |
Used in models
PatientAccess¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AccountID | String | TODO: Write description |
FeatureInformation | FeatureInformation | TODO: Write description |
HomeURL | String | TODO: Write description |
IsAdmitted | Boolean | TODO: Write description |
Name | String | TODO: Write description |
NeedsDataFromHomeDeployment | Boolean | TODO: Write description |
Status | String | TODO: Write description |
TillDate | DateTime | TODO: Write description |
Pharmacy¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Address | String | TODO: Write description |
Hours | String | TODO: Write description |
ID | String | TODO: Write description |
Name | String | TODO: Write description |
Phone | String | TODO: Write description |
Used in models
Provider¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
Address | String | TODO: Write description |
DepartmentName | String | TODO: Write description |
IsPCP | Boolean | TODO: Write description |
OOCEndDate | DateTime | TODO: Write description |
PCPType | String | TODO: Write description |
Phone | String | TODO: Write description |
Used in models
RecentPayment¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Amount | String | TODO: Write description |
Date | DateTime | TODO: Write description |
Source | String | TODO: Write description |
Description | String | TODO: Write description |
Reference | String | TODO: Write description |
Used in models
Test¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
DAT | String | TODO: Write description |
IsAbnormal | Boolean | TODO: Write description |
IsResultTimeNull | Boolean | TODO: Write description |
OrderedBy | String | TODO: Write description |
Read | Boolean | TODO: Write description |
ResultDate | DateTime | TODO: Write description |
Status | String | TODO: Write description |
Used in models
TestDetail¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
DAT | String | TODO: Write description |
ObjectID | String | TODO: Write description |
IsAbnormal | Boolean | TODO: Write description |
IsResultTimeNull | Boolean | TODO: Write description |
OrderedBy | String | TODO: Write description |
Read | Boolean | TODO: Write description |
ResultDate | DateTime | TODO: Write description |
Status | String | TODO: Write description |
Comments | String | TODO: Write description |
Components | Array of Component | TODO: Write description |
HasScans | Boolean | TODO: Write description |
Impression | String | TODO: Write description |
IsECG | Boolean | TODO: Write description |
Narrative | String | TODO: Write description |
Recipients | Array of WPMessageRecipient | Details of the provider who received the test result |
ResultNote | String | TODO: Write description |
ShowFlag | Boolean | TODO: Write description |
Transcriptions | String | TODO: Write description |
Used in calls
TestListResult¶
TOOD: Write description
Property | Type | Description |
---|---|---|
NextLabLink | String | TODO: Write description |
ResultVisibility | Integer | TODO: Write description |
TestList | Array of Test | TODO: Write description |
Used in calls
To¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
IsPCP | Boolean | TODO: Write description |
OOCEndDate | DateTime | TODO: Write description |
PCPType | String | TODO: Write description |
RecipTemplate | String | TODO: Write description |
Used in models
Vitals¶
TOOD: Write description
Property | Type | Description |
---|---|---|
BloodPressure | String | TODO: Write description |
Height | String | TODO: Write description |
Pulse | String | TODO: Write description |
Resp | String | TODO: Write description |
Temperature | String | TODO: Write description |
TemperatureSource | String | TODO: Write description |
Weight | String | TODO: Write description |
Used in models
WPLog¶
TOOD: Write description
Property | Type | Description |
---|---|---|
AccountID | String | TODO: Write description |
TimeStamp | String | TODO: Write description |
Type | String | TODO: Write description |
Action | String | TODO: Write description |
Comment | String | TODO: Write description |
Used in models
WPMessageRecipient¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
IsPCP | Boolean | TODO: Write description |
OOCEndDate | DateTime | TODO: Write description |
PCPType | String | TODO: Write description |
RecipTemplate | String | TODO: Write description |
Used in models
WPObject¶
TOOD: Write description
Property | Type | Description |
---|---|---|
Name | String | TODO: Write description |
ObjectID | String | TODO: Write description |
Used in models
Contribute¶
MyChart Test logins¶
We’re always looking for more MyChart logins to test with. The more sample data we have, the more complete the clients will become. If you find a hosptial you are working with has more data or capabilities than is currently available in the client, let us know. If you are willing to provide a set of MyChart logins to test with, we may be able to quickly add more functionality to the client.
Source¶
If you’d like to contribute code back to the project, please take a look at the Gocodo YourChart Client codebase. Each client library is autogenerated using the code there. To get started, install Node.js version 0.10 or greater and run
npm install
node make
The client libraries will be outputted to ./build. If you think others would benifit from your code, send a pull request on github.
About¶
YourChart Client¶
The Gocodo YourChart Client was originally built while working with a Hospital System running Epic MyChart. They wanted to build a PHR for themselves that was more feature rich and usable than the MyChart Mobile application. The first step was to figure out how we could access patient data in a secure way within our own application at low cost to the hospital itself. This client library started as a proof of concept with a related mobile application for that hospital system. Since then, Gocodo has decided to open source the client library in an effort to improve healthcare in the US by enabling application developers to create applications unlike we’ve seen before.
Gocodo¶
Gocodo is a collection of open source health IT projects created by Michael Wasser Consulting, LLC. It’s objective is to enable the creation of shockingly simple and secure healthcare applications. It’s founder, Michael Wasser previously created BloomAPI as well as co-founded HealthSherpa.