SHARE
TWEET

Untitled

a guest Jun 20th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. '''
  2. var xmlhttp = new XMLHttpRequest();
  3.  xmlhttp.onreadystatechange = function() {
  4.  if(this.readyState == 4 && this.status == 200) {
  5.     console.log(JSON.parse(this.responseText))
  6. }
  7. };
  8.  xmlhttp.open("GET", "PATIENT51.txt", true);
  9.  xmlhttp.send();
  10. '''
  11. my JSON file
  12.  
  13. '''
  14. {
  15. “resourceType”:”RiskAssessment”,
  16. “Notes”: [
  17. {“date”: “05/13/2019”, “note”: “my notes”},
  18. {“date”: “02/22/2018”, “note”: “cool”}
  19. ]
  20. }
  21. '''
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top