Skip to content

Practitioner

arlowatts edited this page Jun 19, 2023 · 8 revisions

Practitioner Resource

This HL7 FHIR-compliant resource represents a person who is directly or indirectly involved in the provisioning of healthcare.

Supported HL7-v2 Interactions

"contentType": "x-application/hl7-v2+er7"
PharmaNet Interaction Version Hl7-v2 Request Required System Scope
Prescriber Identification TIP.00.50 PNet-R70.5 TIP_00_REQUEST system/Practitioner.read

Example TIP_00_REQUEST - 449126

Prescriber Identification request message

Transaction: TIP (00 / 50) Source: PNET R70 Date: October 21, 2014

Comments:

  1. userID - must be replaced with the actual authenticated ID of an individual user
MSH|^~\&|1234567|1234567||ERXPP||userID:192.168.0.1|ZPN|449126|P|2.1||
ZZZ|TIP||449126|P1|nnnnnnnnnn|||||ZZZ1^
ZCA||70|00|AR|05|
ZCB|BC00000I10|140819|449126
ZPH|P1|12615|||||||||||||||

The REST HL7 FHIR DocumentReference request using HTTP POST

The following illustrates an example TIP_00 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/Practitioner 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=="
        }
    }]
}