-
Notifications
You must be signed in to change notification settings - Fork 6
Location
arlowatts edited this page Jun 19, 2023
·
6 revisions
This HL7 FHIR-compliant resource endpoint providing details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.
"contentType": "x-application/hl7-v2+er7"
PharmaNet Interaction | Version | Hl7-v2 Request | Required System Scope |
---|---|---|---|
Get Location Details TIL.00.50 | PNet-R70.5 | TIL_00_REQUEST | system/Location.read, or user/Location.read |
MSH|^~\&|1234567|1234567||EMRMD|||userID:192.168.0.1|ZPN|1111|P|2.1||
ZCA||70|00|MA|01|
ZCB|MDA|120113|1111
ZPL|QAERXPP||||||||||||||MM
ZZZ|TIL||1111|P1|nnnnnnnnnn|||||ZZZ1
The following illustrates an example TIL_00.50 Request message formulated into an HTTP POST containing a body of type HL7 FHIR DocumentReference JavaScript Object Notation (JSON):
POST https://pharmanet-api.example.org/api/v1/Location HTTP/1.1
Date: Tue, 04 Aug 2020 21:58:33 GMT
Content-Type: application/fhir+json
Content-Length: 538
Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI4NmRlMDY4OS1iYTdkLTRjZmMtYTFmMC0wM2M0OTZiODNiNTkifQ.eyJqdGkiOiJiMjQ3N2ZhYS04ZmQ4LTQzYjYtYjk1OC1hZjdhYjJmYjQxOWIiLCJleHAiOjE1OTY1ODU2MjIsIm5iZiI6MCwiaWF0IjoxNTk2NTg1MDIyLCJpc3MiOiJodHRwczovL3Nzby1kZXYucGF0aGZpbmRlci5nb3YuYmMuY2EvYXV0aC9yZWFsbXMvZmYwOXFuM2YiLCJhdWQiOiJwaGFybWFuZXQiLCJzdWIiOiI5MGM2MWE3Ny1lN2RjLTRmNmItYTAxZi0wMDE5NDk3ZDM2NzUiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJwbmV0X3NhbXBsZV9jbGllbnQiLCJhdXRoX3RpbWUiOjAsInNlc3Npb25fc3RhdGUiOiI5YjU4YmMxOS1lMWQ4LTRhNDYtYThkNS1hMGNiNmI4YmYwMTIiLCJhY3IiOiIxIiwic2NvcGUiOiJzeXN0ZW0vTWVkaWNhdGlvblJlcXVlc3Qud3JpdGUgYXVkaWVuY2UiLCJjbGllbnRJZCI6InBuZXRfc2FtcGxlX2NsaWVudCIsImNsaWVudEhvc3QiOiI3MC42Ni4xNzIuMTk5IiwiY2xpZW50QWRkcmVzcyI6IjcwLjY2LjE3Mi4xOTkifQ.PvO_qE_FY3TlFWw92SCECY3dcrAObXikejzb1QecSXXtW7URlXsdD_ELg_mtjo8-TJTuJ26L-CpCwrxA_gNNQQ
{
"resourceType": "DocumentReference",
"masterIdentifier": {
"system": "urn:ietf:rfc:3986",
"value": "urn:uuid:D8196F60-8E3F-40A6-B5C8-B5680B2C21EC"
},
"status": "current",
"date": ""2020-08-13:32:12Zå",
"content": [{
"attachment": {
"contentType": "x-application/hl7-v2+er7",
"data": "TVNIfF5+XCZ8MTIzNDU2N3wxMjM0NTY3fHxFTVJNRHx8fHVzZXJJRDoxOTIuMTY4LjAuMXxaUE58MTExMXxQfDIuMXx8ClpDQXx8NzB8MDB8TUF8MDF8ClpDQnxNREF8MTIwMTEzfDExMTEKWlBMfFFBRVJYUFB8fHx8fHx8fHx8fHx8fE1NClpaWnxUSUx8fDExMTF8UDF8bm5ubm5ubm5ubnx8fHx8WlpaMQ=="
}
}]
}
Copyright © 2021 Province of British Columbia. All rights reserved.