Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  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. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement