{
  "resourceType": "Bundle",
  "id": "ca-bc-lra-plr-example-practitioner",
  "type": "searchset",
  "link": [
    {
      "relation": "self",
      "url": "http://smilecdr-scdr-svc-fhir-plr:8503/fhir-plr/Practitioner/IPC.00167968.BC.PRS/$entityQuery"
    }
  ],
  "entry": [
    {
      "fullUrl": "urn:uuid:fbb4cec8-1a86-426f-bdfb-06220c54a538",
      "resource": {
        "resourceType": "Bundle",
        "meta": {
          "profile": [
            "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-practitioner-bundle"
          ]
        },
        "type": "collection",
        "entry": [
          {
            "fullUrl": "https://plresb.hlth.gov.bc.ca/HSA-web/fhir-rs/PractitionerRole/IPC.01010101.BC.PRS",
            "resource": {
              "resourceType": "PractitionerRole",
              "id": "IPC.01010101.BC.PRS",
              "meta": {
                "profile": [
                  "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-practitioner-role"
                ]
              },
              "practitioner": {
                "identifier": {
                  "system": "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-plr-ipc",
                  "value": "IPC.01010101.BC.PRS"
                }
              },
              "code": [
                {
                  "coding": [
                    {
                      "system": "https://fhir.infoway-inforoute.ca/CodeSystem/scptype",
                      "code": "MD"
                    }
                  ]
                }
              ],
              "specialty": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-specialty-source-extension",
                      "valueString": "5265"
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension",
                      "valuePeriod": {
                        "start": "2023-12-04T08:00:00+00:00"
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    }
                  ],
                  "coding": [
                    {
                      "system": "https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty",
                      "code": "203"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension",
                      "valuePeriod": {
                        "start": "2023-12-12T08:00:00+00:00"
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    }
                  ],
                  "coding": [
                    {
                      "system": "https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty",
                      "code": "211"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-specialty-source-extension",
                      "valueString": "350"
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension",
                      "valuePeriod": {
                        "start": "2020-01-01T08:00:00+00:00"
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    }
                  ],
                  "coding": [
                    {
                      "system": "https://fhir.infoway-inforoute.ca/ValueSet/practitionerspecialty",
                      "code": "AMD1"
                    }
                  ]
                }
              ]
            }
          },
          {
            "fullUrl": "https://plresb.hlth.gov.bc.ca/HSA-web/fhir-rs/Practitioner/IPC.01010101.BC.PRS",
            "resource": {
              "resourceType": "Practitioner",
              "id": "IPC.01010101.BC.PRS",
              "meta": {
                "profile": [
                  "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-practitioner"
                ]
              },
              "contained": [
                {
                  "resourceType": "Organization",
                  "id": "grantingInstitution-1",
                  "meta": {
                    "profile": [
                      "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-organization"
                    ]
                  },
                  "name": "UBC",
                  "address": [
                    {
                      "city": "VANCOUVER",
                      "state": "BC",
                      "country": "CA"
                    }
                  ]
                }
              ],
              "extension": [
                {
                  "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-license-status-extension",
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "statusCode",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-RoleStatus",
                            "code": "ACTIVE"
                          }
                        ]
                      }
                    },
                    {
                      "url": "statusReasonCode",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-status-reason-code-system",
                            "code": "GS"
                          }
                        ]
                      }
                    },
                    {
                      "url": "period",
                      "valuePeriod": {
                        "start": "2020-01-01T08:00:00+00:00",
                        "end": "2030-07-01T07:00:00+00:00"
                      }
                    },
                    {
                      "url": "statusClassCode",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-status-class-code-system",
                            "code": "LIC"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                  "valueIdentifier": {
                    "assigner": {
                      "display": "CPS"
                    }
                  }
                },
                {
                  "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension",
                  "valuePeriod": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                },
                {
                  "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-confidentiality-extension",
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "code",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
                            "code": "R"
                          }
                        ]
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-period-extension",
                      "valuePeriod": {
                        "start": "2024-01-11T08:00:00+00:00"
                      }
                    }
                  ]
                }
              ],
              "identifier": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "MOH"
                        }
                      }
                    }
                  ],
                  "system": "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-plr-common-party-number",
                  "value": "CPN.00167968.BC.PRS",
                  "period": {
                    "start": "2022-07-20T07:00:00+00:00"
                  }
                },
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    }
                  ],
                  "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-license-physician",
                  "value": "MD5124",
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                },
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "MOH"
                        }
                      }
                    }
                  ],
                  "system": "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-plr-ipc",
                  "value": "IPC.00167968.BC.PRS",
                  "period": {
                    "start": "2022-07-20T07:00:00+00:00"
                  }
                }
              ],
              "active": true,
              "name": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    }
                  ],
                  "use": "usual",
                  "family": "Gurin",
                  "given": [
                    "Nick"
                  ],
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                }
              ],
              "telecom": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-communication-purpose-code-extension",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-communication-purpose-code-system",
                            "code": "BC"
                          }
                        ]
                      }
                    }
                  ],
                  "system": "email",
                  "value": "medicalclinic23@gmail.com",
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                },
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-communication-purpose-code-extension",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-communication-purpose-code-system",
                            "code": "BC"
                          }
                        ]
                      }
                    }
                  ],
                  "system": "phone",
                  "value": "60455544442501",
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                }
              ],
              "address": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-address-validation-status-extension",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-address-validation-status-code-system",
                            "code": "V"
                          }
                        ]
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-communication-purpose-code-extension",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-communication-purpose-code-system",
                            "code": "BC"
                          }
                        ]
                      }
                    }
                  ],
                  "type": "postal",
                  "text": "New Medical clininc 818 FORT ST",
                  "line": [
                    "New Medical clininc",
                    "818 FORT ST"
                  ],
                  "city": "VICTORIA",
                  "state": "BC",
                  "postalCode": "V8W 1H8",
                  "country": "CA",
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  }
                }
              ],
              "gender": "male",
              "_birthDate": {
                "extension": [
                  {
                    "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-birthtime-extension",
                    "valueDateTime": "1983-07-06T07:00:00+00:00"
                  }
                ]
              },
              "qualification": [
                {
                  "extension": [
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-owner-extension",
                      "valueIdentifier": {
                        "assigner": {
                          "display": "CPS"
                        }
                      }
                    },
                    {
                      "url": "http://hlth.gov.bc.ca/fhir/provider/StructureDefinition/bc-practitioner-qualification-extension",
                      "extension": [
                        {
                          "url": "designation",
                          "valueString": "MD"
                        },
                        {
                          "url": "registrationNumber",
                          "valueString": "022410"
                        },
                        {
                          "url": "equivalencyFlag",
                          "valueBoolean": false
                        }
                      ]
                    }
                  ],
                  "code": {
                    "coding": [
                      {
                        "system": "https://fhir.infoway-inforoute.ca/CodeSystem/scpqual",
                        "code": "MD"
                      }
                    ]
                  },
                  "period": {
                    "start": "2020-01-01T08:00:00+00:00"
                  },
                  "issuer": {
                    "reference": "#grantingInstitution-1"
                  }
                }
              ]
            }
          }
        ]
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "urn:uuid:432a3b54-5289-4416-85cf-859389aa1e0e",
      "resource": {
        "resourceType": "OperationOutcome",
        "id": "2aa70992-4399-43ab-8201-4f5f7d3abd80",
        "issue": [
          {
            "severity": "information",
            "code": "business-rule",
            "details": {
              "coding": [
                {
                  "system": "http://lra.hlth.gov.bc.ca/fhir/client/bc-oo-codes",
                  "display": "Query successful"
                },
                {
                  "system": "https://terminology.hlth.gov.bc.ca/ProviderLocationRegistry/CodeSystem/bc-error-code-system",
                  "code": "GRS.SYS.UNK.QRY.0.0.7067",
                  "display": "Query successful"
                }
              ]
            }
          }
        ]
      },
      "search": {
        "mode": "outcome"
      }
    }
  ]
}