---
updatedAt: 2026-04-26T22:42:30.000Z
agentTools:
  projectIndex: https://developers.halaxy.com/llms.txt
---

# Get Practitioner Roles

Retrieves an individual practitioner clinic ID

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Halaxy API",
    "description": "A FHIR API for Halaxy based on R4 of the FHIR specification",
    "termsOfService": "https://www.halaxy.com/article/terms/practitioner",
    "contact": {
      "name": "Halaxy Developers",
      "url": "https://www.halaxy.com",
      "email": "community@halaxy.com"
    },
    "version": "1.109"
  },
  "servers": [
    {
      "url": "https://au-api.halaxy.com",
      "description": "Production AU"
    },
    {
      "url": "https://eu-api.halaxy.com",
      "description": "Production EU"
    }
  ],
  "paths": {
    "/main/PractitionerRole/{id}": {
      "get": {
        "operationId": "getPractitionerRole",
        "tags": [
          "PractitionerRole"
        ],
        "responses": {
          "200": {
            "description": "PractitionerRole resource",
            "content": {
              "application/fhir+json": {
                "schema": {
                  "$ref": "#/components/schemas/PractitionerRole.jsonfhir"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PractitionerRole"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "Resource not found"
          }
        },
        "summary": "Get Practitioner Roles",
        "description": "Retrieves an individual practitioner clinic ID",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "PractitionerRole identifier",
            "required": true,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "FhirCodeableConcept": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "coding": {
            "description": "defined by a terminology system",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCoding"
            }
          },
          "text": {
            "description": "Plain text representation of the concept",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCodeableConcept.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "coding": {
            "description": "defined by a terminology system",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCoding.jsonfhir"
            }
          },
          "text": {
            "description": "Plain text representation of the concept",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCoding": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "format": "uri",
            "description": "Identity of the terminology system",
            "externalDocs": {
              "url": "https://schema.org/url"
            },
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "Symbol in syntax defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "display": {
            "description": "Representation defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "userSelected": {
            "readOnly": true,
            "description": "If this coding was chosen directly by the user",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirCoding.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "format": "uri",
            "description": "Identity of the terminology system",
            "externalDocs": {
              "url": "https://schema.org/url"
            },
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "description": "Symbol in syntax defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "display": {
            "description": "Representation defined by the system",
            "type": [
              "string",
              "null"
            ]
          },
          "userSelected": {
            "readOnly": true,
            "description": "If this coding was chosen directly by the user",
            "type": [
              "boolean",
              "null"
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirContactPoint": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "description": "Type of contact detail",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "phone",
              "fax",
              "email",
              "sms",
              null
            ]
          },
          "value": {
            "description": "The actual phone number or email address",
            "type": [
              "string",
              "null"
            ]
          },
          "use": {
            "description": "Purpose of the contact detail",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "home",
              "work",
              "mobile",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirContactPoint.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "system": {
            "description": "Type of contact detail",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "phone",
              "fax",
              "email",
              "sms",
              null
            ]
          },
          "value": {
            "description": "The actual phone number or email address",
            "type": [
              "string",
              "null"
            ]
          },
          "use": {
            "description": "Purpose of the contact detail",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "home",
              "work",
              "mobile",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirIdentifier": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "use": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "usual",
              "official",
              "temp",
              "secondary",
              "old",
              null
            ]
          },
          "type": {
            "description": "Description of identifier",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirCodeableConcept"
              },
              {
                "type": "null"
              }
            ]
          },
          "system": {
            "description": "The namespace for the identifier value",
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "description": "The unique identifier",
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "description": "The time period when identifier is/was valid for use",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirPeriodDateTime"
              },
              {
                "type": "null"
              }
            ]
          },
          "assigner": {
            "description": "Organization that issued id (may be just text)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirIdentifier.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "use": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "usual",
              "official",
              "temp",
              "secondary",
              "old",
              null
            ]
          },
          "type": {
            "description": "Description of identifier",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirCodeableConcept.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "system": {
            "description": "The namespace for the identifier value",
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "description": "The unique identifier",
            "type": [
              "string",
              "null"
            ]
          },
          "period": {
            "description": "The time period when identifier is/was valid for use",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirPeriodDateTime.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "assigner": {
            "description": "Organization that issued id (may be just text)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirNarrative": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "status": {
            "readOnly": true,
            "description": "Describes how the narrative was generated",
            "type": "string",
            "enum": [
              "generated",
              "extensions",
              "additional",
              "empty"
            ]
          },
          "div": {
            "readOnly": true,
            "description": "Limited xhtml content",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirNarrative.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "status": {
            "readOnly": true,
            "description": "Describes how the narrative was generated",
            "type": "string",
            "enum": [
              "generated",
              "extensions",
              "additional",
              "empty"
            ]
          },
          "div": {
            "readOnly": true,
            "description": "Limited xhtml content",
            "type": "string"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirPeriodDateTime": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "start": {
            "externalDocs": {
              "url": "https://schema.org/DateTime"
            },
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "end": {
            "externalDocs": {
              "url": "https://schema.org/DateTime"
            },
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirPeriodDateTime.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "start": {
            "externalDocs": {
              "url": "https://schema.org/DateTime"
            },
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "end": {
            "externalDocs": {
              "url": "https://schema.org/DateTime"
            },
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirReference": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "required": [
          "reference"
        ],
        "properties": {
          "reference": {
            "description": "The URL (relative or absolute) to the resource being referenced",
            "type": "string"
          },
          "type": {
            "description": "The type of resource being referenced",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Organization",
              "Patient",
              "Practitioner",
              "PractitionerRole",
              "Appointment",
              "Coverage",
              "Invoice",
              "Communication",
              "Group",
              "DocumentReference",
              "InvoiceLine",
              "PaymentTransaction",
              "Referral",
              "ReferralDefinition",
              "Schedule",
              "Slot",
              "HealthcareService",
              "AllergyIntolerance",
              "Condition",
              "Immunization",
              "Subscription",
              "SubscriptionTopic",
              "ChargeItemDefinition",
              "ServiceRequest",
              "Medication",
              "MedicationRequest",
              "Questionnaire",
              "QuestionnaireResponse",
              "ValueSet",
              "ValueSetConcept",
              "Observation",
              "Binary",
              "Bundle",
              "OperationOutcome",
              "Parameters",
              "List",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirReference.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "required": [
          "reference"
        ],
        "properties": {
          "reference": {
            "description": "The URL (relative or absolute) to the resource being referenced",
            "type": "string"
          },
          "type": {
            "description": "The type of resource being referenced",
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "Organization",
              "Patient",
              "Practitioner",
              "PractitionerRole",
              "Appointment",
              "Coverage",
              "Invoice",
              "Communication",
              "Group",
              "DocumentReference",
              "InvoiceLine",
              "PaymentTransaction",
              "Referral",
              "ReferralDefinition",
              "Schedule",
              "Slot",
              "HealthcareService",
              "AllergyIntolerance",
              "Condition",
              "Immunization",
              "Subscription",
              "SubscriptionTopic",
              "ChargeItemDefinition",
              "ServiceRequest",
              "Medication",
              "MedicationRequest",
              "Questionnaire",
              "QuestionnaireResponse",
              "ValueSet",
              "ValueSetConcept",
              "Observation",
              "Binary",
              "Bundle",
              "OperationOutcome",
              "Parameters",
              "List",
              null
            ]
          },
          "id": {
            "readOnly": true,
            "description": "ID of the FHIR element (optional)",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "FhirResourceInterface": {
        "type": "object",
        "description": "",
        "deprecated": false
      },
      "FhirResourceInterface.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false
      },
      "FhirResourceMeta": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "lastUpdated": {
            "readOnly": true,
            "description": "When the resource version last changed",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "profile": {
            "description": "Profiles this resource claims to conform to",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "FhirResourceMeta.jsonfhir": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "lastUpdated": {
            "readOnly": true,
            "description": "When the resource version last changed",
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "profile": {
            "description": "Profiles this resource claims to conform to",
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PractitionerRole": {
        "type": "object",
        "description": "A PractitionerRole. See https://www.hl7.org/fhir/R4/practitionerrole.html",
        "deprecated": false,
        "properties": {
          "identifier": {
            "description": "Business Identifiers that are specific to a role/location",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirIdentifier"
            }
          },
          "practitioner": {
            "description": "The URL reference to the practitioner's identifier within the practice group, wherein the ID includes the appropriate prefix for internal practitioner (PR-) or professional contact (EP-)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "organization": {
            "description": "The URL reference to the clinic location or external practice, wherein the ID includes the appropriate prefix for internal clinic (CL-) or external practice (SP-)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "maxItems": 1,
            "description": "Roles which this practitioner may perform",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCodeableConcept"
            }
          },
          "healthcareService": {
            "readOnly": true,
            "description": "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirReference"
            }
          },
          "telecom": {
            "description": "The practitioner's contact number/s or email address/es at the specified location",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirContactPoint"
            }
          },
          "text": {
            "readOnly": true,
            "description": "Text summary of the resource, for human interpretation",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirNarrative"
              },
              {
                "type": "null"
              }
            ]
          },
          "contained": {
            "readOnly": true,
            "description": "Contained, inline Resources",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirResourceInterface"
            }
          },
          "id": {
            "readOnly": true,
            "description": "The practitioner's clinic ID - i.e. their identifier for a specific clinic location, wherein the ID includes the appropriate prefix for internal practitioner (PR-) or professional contact (EP-)",
            "type": [
              "string",
              "null"
            ]
          },
          "meta": {
            "description": "Metadata about the resource",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirResourceMeta"
              },
              {
                "type": "null"
              }
            ]
          },
          "resourceType": {
            "description": "Resource Type",
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "PractitionerRole.jsonfhir": {
        "type": "object",
        "description": "A PractitionerRole. See https://www.hl7.org/fhir/R4/practitionerrole.html",
        "deprecated": false,
        "properties": {
          "identifier": {
            "description": "Business Identifiers that are specific to a role/location",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirIdentifier.jsonfhir"
            }
          },
          "practitioner": {
            "description": "The URL reference to the practitioner's identifier within the practice group, wherein the ID includes the appropriate prefix for internal practitioner (PR-) or professional contact (EP-)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "organization": {
            "description": "The URL reference to the clinic location or external practice, wherein the ID includes the appropriate prefix for internal clinic (CL-) or external practice (SP-)",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirReference.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "maxItems": 1,
            "description": "Roles which this practitioner may perform",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirCodeableConcept.jsonfhir"
            }
          },
          "healthcareService": {
            "readOnly": true,
            "description": "The list of healthcare services that this worker provides for this role's Organization/Location(s)",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirReference.jsonfhir"
            }
          },
          "telecom": {
            "description": "The practitioner's contact number/s or email address/es at the specified location",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirContactPoint.jsonfhir"
            }
          },
          "text": {
            "readOnly": true,
            "description": "Text summary of the resource, for human interpretation",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirNarrative.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "contained": {
            "readOnly": true,
            "description": "Contained, inline Resources",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FhirResourceInterface.jsonfhir"
            }
          },
          "id": {
            "readOnly": true,
            "description": "The practitioner's clinic ID - i.e. their identifier for a specific clinic location, wherein the ID includes the appropriate prefix for internal practitioner (PR-) or professional contact (EP-)",
            "type": [
              "string",
              "null"
            ]
          },
          "meta": {
            "description": "Metadata about the resource",
            "anyOf": [
              {
                "$ref": "#/components/schemas/FhirResourceMeta.jsonfhir"
              },
              {
                "type": "null"
              }
            ]
          },
          "resourceType": {
            "description": "Resource Type",
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "oauth": {
        "type": "oauth2",
        "description": "OAuth 2.0 client credentials Grant",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/main/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "oauth": []
    }
  ]
}
```