General Information
The connectivity of this FHIR endpoint is as follows:
- HTTP Method
- GET, POST
- URL Template
- https://portal.viewmymed.com/fhir/CareTeam?_id=token&
patient=reference& _count=number& date=date& status=token& _pretty=boolean& _revinclude=static - Supported OAuth 2.0 User Types
- Backend Systems, Clinicians or Administrative Users, Patients
- Operations Supported
- read search-type vread history-instance
- Profiles Supported
-
- Us Core Careteam
Request Parameters
The following fields and datatypes are the parameters for the request string. All fields are optional, however if no settings are set, all values will be exported up to the maximum count of 100
| Name (type) | Description (bindings) |
|---|---|
| _id (token) |
A single or comma separated list of CareTeam ids. It is a required field if the patient field is not given. |
| patient (reference) |
Who the careteam is for. It is a required field if the _id field is not given. |
| _count (number) |
The maximum number of results to return in a page. Not honored when '_id' is set. |
| date (date) |
A date or date range from which to find careteam. The 'date' parameter may be provided once without a prefix or time component to imply a date range or once without a prefix and with a time component to search for careteam at a specific time. Alternately it may be provided twice with 'le' and 'gt' prefixes to search for careteam within a specific range. The date prefix pair must create a closed range. |
| status (token) |
The overall status of the careteam. |
| _pretty (boolean) |
set to false to disable formatted output. |
| _revinclude (static) |
_revinclude parameter may be provided once with the value Provenance:target to pull the relevant Provenance information. Example: _revinclude=Provenance:target |
Returned Data Fields
The following fields and bindings are returned if valued
| Field (type) | Description (bindings) | Opt? |
|---|---|---|
| id (Id) |
Id |
|
| status (CodeableConcept) |
The status of the care team (active or not). Request Status (https://hl7.org/fhir/request-status) |
|
| subject (Reference) |
Reference to a patient resource for whom the care team is relevant |
|
| author (Reference) |
Reference to a care team member. |
Default Patient Query
The following are live queries representative of a data request on our sandbox environment.
Headers
Accept: application/fhir+json Authorization: <OAuth2 Bearer Token>
Request
GET https://portal.viewmymed.com/fhir/CareTeam?patient=99999.122753-00&_count=1
HTTP/1.0 200 OK
Cache-Control: no-cache, private
Content-Type: application/fhir+json
Date: Mon, 02 Feb 2026 13:42:53 GMT
Etag: W/"1"
{
"resourceType": "Bundle",
"id": "6980a9ddb74c16980a9ddb74c2",
"type": "searchset",
"link": [
{
"relation": "self",
"url": "https://portal.viewmymed.com/api/CareTeam"
}
],
"entry": [
{
"fullUrl": "https://portal.viewmymed.com/fhir/CareTeam/aa324babd26f0e649db8fb64161efe59",
"resource": {
"resourceType": "CareTeam",
"id": "aa324babd26f0e649db8fb64161efe59",
"meta": {
"versionId": "aa324babd26f0e649db8fb64161efe59",
"lastUpdated": "2023-01-26T06:33:04+00:00"
},
"status": "active",
"subject": {
"reference": "Patient/99997.122753-00"
},
"participant": [
{
"role": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "446050000",
"display": "Primary care physician"
}
],
"text": "Primary care physician"
}
],
"member": {
"reference": "Practitioner/e5da7418eeab0fc6ef7a5cdccb43503c"
}
}
]
}
}
]
}
Error Codes / Outcomes
All endpoints share the same error codes and common outcomes.