Example JSON Delivery Submission

From Hiasobi - FHIR
Jump to: navigation, search
{
   "resourceType":"Bundle",
   "id":"c984fc4c-8a03-409d-a309-cba07b7eda9c",
   "type":"transaction",
   "entry":[
      {
         "fullUrl":"urn:uuid:e94dfd73-3853-4b9f-9d52-20c2c5dd9807",
         "resource":{
            "resourceType":"DocumentReference",
            "id":"e94dfd73-3853-4b9f-9d52-20c2c5dd9807",
            "type":{
               "coding":[
                  {
                     "system":"http://loinc.org",
                     "code":"51855-5",
                     "display":"Patient Note"
                  }
               ],
               "text":"Description"
            },
            "indexed":"2020-03-16T14:31:12.947+11:00",
            "status":"current",
            "content":[
               {
                  "attachment":{
                     "contentType":"text/plain",
                     "data":"SGkgSmFtZXMsPGJyIC8+DQo8YnIgLz4NCjxiciAvPg0KUGxlYXNlIGZpbmQgdGhlIGF0dGFjaGVkIGJsb29kIHJlcG9ydCB0byBkaXNjdXNzLjxiciAvPg0KPGJyIC8+DQo8YnIgLz4NClRoYW5rcyw8YnIgLz4NCkdvbGQ="
                  }
               }
            ]
         },
         "request":{
            "method":"POST"
         }
      },
      {
         "fullUrl":"urn:uuid:a76b2eb8-0c57-47c2-baca-b54bc26997e9",
         "resource":{
            "resourceType":"DocumentReference",
            "id":"a76b2eb8-0c57-47c2-baca-b54bc26997e9",
            "subject":{
               "reference":"urn:uuid39fa1e80-642b-433d-a0c0-001ac0458214"
            },
            "type":{
               "coding":[
                  {
                     "system":"http://loinc.org",
                     "code":"51855-5",
                     "display":"Patient Note"
                  }
               ]
            },
            "indexed":"2020-03-16T14:31:13+11:00",
            "status":"current",
            "content":[
               {
                  "attachment":{
                     "contentType":"application/pdf",
                     "data":"JVBERi0xLjQKJeLjz9MKNCAwIG9iago8PC9MZW5ndGggMTMzOC9GaWx0ZXIvRmxhdGVEZWNvZGU+PnN0cmVhbQp4nI1XSXOjOBS++1e8wxzSVTYDYjH45jjOJNPtZWJnpqaqL7KRY7pZpgVOOv9+niQggFk6VTECve97+wP9GBnwNrJ1R5vCl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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
                  }
               }
            ]
         },
         "request":{
            "method":"POST"
         }
      },
      {
         "fullUrl":"urn:uuid:39fa1e80-642b-433d-a0c0-001ac0458214",
         "resource":{
            "resourceType":"Patient",
            "id":"39fa1e80-642b-433d-a0c0-001ac0458214",
            "name":[
               {
                  "family": "Louise",
                  "given":[
                     "Gold"
                  ]
               }
            ],
            "gender":"female",
            "birthDate":"1978-06-28"
         },
         "request":{
            "method":"POST"
         }
      },
      {
         "fullUrl":"urn:uuid:b89d07a8-0a77-4217-ad8a-da99612b81e4",
         "resource":{
            "resourceType":"Practitioner",
            "id":"b89d07a8-0a77-4217-ad8a-da99612b81e4",
            "identifier":[
               {
                  "system":"http://ns.electronichealth.net.au/id/hi/prn",
                  "value":"4024742F"
               }
            ],
            "name":{
               "family" : "Jerkyl",
               "given":[
                  "James"
               ]
            }
         },
         "request":{
            "method":"POST"
         }
      },
      {
         "fullUrl":"urn:uuid:8208f58d-8d71-4b25-be51-e5a5ebf97531",
         "resource":{
            "resourceType":"MessageHeader",
            "id":"8208f58d-8d71-4b25-be51-e5a5ebf97531",
            "timestamp":"2020-03-16T14:31:12.947+11:00",
            "eventCoding":{
               "system":"http://oridashi.com.au/fhir/message-events",
               "code":"notify",
               "display":"notify"
            },
            "source":{
               "name":"Sent By"
            },
            "destination":[
               {
     		   "receiver":{
		      "reference":"Practitioner/b89d07a8-0a77-4217-ad8a-da99612b81e4"
		   }
               }
            ]
         },
         "request":{
            "method":"POST"
         }
      }
   ]
}