Skip to content

Instantly share code, notes, and snippets.

@triton11
Created February 20, 2016 21:39
Show Gist options
  • Save triton11/2f08375e702a80c7e8f6 to your computer and use it in GitHub Desktop.
Save triton11/2f08375e702a80c7e8f6 to your computer and use it in GitHub Desktop.

Revisions

  1. triton11 created this gist Feb 20, 2016.
    19 changes: 19 additions & 0 deletions epictest
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    <!DOCTYPE html>
    <html>
    <head>
    <script src="jquery-1.12.0.js"></script>
    <title>Epic Test One</title>
    <link rel="stylesheet" href="main.css">
    </head>
    <body>
    <h2>Welcome!</h2>
    <h3> This is a test </h3>
    <script type="text/javascript">
    var baseUrl = "https://open-ic.epic.com/FHIR/api/FHIR/DSTU2/"
    var patientSearchString = "/Patient?given=Jason&family=Argonaut"
    $.getJSON(baseUrl + patientSearchString, function(data,error) {
    console.log(data);
    });
    </script>
    </body>
    </html>