PractitionerRole _search

post/PractitionerRole/_search
Page View

This resource defines a practitioner’s specialty, services, or location(s). A practitioner may have different contact or licensing information, depending on the location. Alternatively, the practitioner may change roles over a period of time. For either of these scenarios, you may see multiple PractitionerRole resources for one practitioner.

You can review or retrieve practitioner role records.

_search

Query for details about a practitioner's role.

Request parameters and payload

cURL request example

bash
1
curl 'https://api.redoxengine.com/fhir/R4/{destinationSlug}/{environmentFlag}/PractitionerRole/_search' \
2
--request POST \
3
--header 'Authorization: Bearer $API_TOKEN' \
4
--header 'Content-Type: application/x-www-form-urlencoded' \
5
--data-urlencode 'practitioner=string' \
6
--data-urlencode 'practitioner.identifier=string' \
7
--data-urlencode 'practitioner.name=string' \
8
--data-urlencode 'specialty=string'

Request Body Schema

  • practitioner
    Array of string

    Practitioner that is able to provide the defined services for the organization

  • practitioner.identifier
    Array of string

    One or more external identifiers for the practitioner

  • practitioner.name
    Array of string

    A portion of the name of the practitioner

  • specialty
    Array of string

    The practitioner has this specialty at an organization

Response fields and example

Example payload generated from schema
1
{
2
"resourceType": "Bundle",
3
"type": "searchset",
4
"total": 1,
5
"entry": [
6
{
7
"resource": {
8
"resourceType": "PractitionerRole",
9
"id": "RedoxPractitionerRoleExamplePat",
10
"meta": {
11
"extension": [
12
{
13
"url": "https://fhir.redoxengine.com/StructureDefinition/example-sort-order",
14
"valueInteger": 1
15
}
16
]
17
},
18
"practitioner": {
19
"reference": "Practitioner/RedoxPractitionerExamplePat"
20
},
21
"location": [
22
{
23
"reference": "Location/RedoxLocationExampleFacility"
24
}
25
]
26
},
27
"search": {
28
"mode": "match"
29
}
30
}
31
]
32
}

    Response to a Practitioner search operation

  • resourceType
    required, string

    Identifies the type of the resource

    Value: Bundle
  • type
    required, string

    Identifies this bundle as a response to a search

    Value: searchset
  • total
    required, number

    The total number of matches

  • entry
    Array of Practitioner or Other

    A resource matching the search criteria or related to a matching resource

    • resource
      required, object

      A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.

      • resourceType
        required, string

        Identifies the type of the resource

        Value: PractitionerRole
      • id
        string

        The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

      • practitioner
        object

        Practitioner that is able to provide the defined services for the organization.

        Must be a resource of type Practitioner.

        • reference
          string

          A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

        • identifier
          object

          An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

          • extension
            Array of Boolean, String, CodeableConcept, Coding

            May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

            • url
              required, string

              Source of the definition for the extension code - a logical name or a URL.

            • valueBoolean
              boolean

              A single value for the extension.

          • use
            string

            The purpose of this identifier.

            Possible Values: usual, official, temp, secondary, old (If known)
          • system
            string

            Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

          • value
            string

            The portion of the identifier typically relevant to the user and which is unique within the context of the system.

      • organization
        object

        The organization where the Practitioner performs the roles associated.

        Must be a resource of type Organization.

        • reference
          string

          A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

      • code
        Array of object

        Roles which this practitioner is authorized to perform for the organization.

        • coding
          Array of object

          A reference to a code defined by a terminology system.

          • system
            string

            The identification of the code system that defines the meaning of the symbol in the code.

          • code
            string

            A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

        • text
          string

          A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

      • location
        Array of object

        The location(s) at which this practitioner provides care.

        Must be a resource of type Location.

        • reference
          string

          A reference to another resource. This is typically either a relative reference which includes the resource type and ID, or an internal reference which starts with # and refers to a contained resource.

    • search
      required, object

      Information about the search process that lead to the creation of this entry.

      • mode
        required, string

        Identifies the Practitioner as matching the search parameters

        Value: match