Skip to main content
Search Lists
curl --request GET \
  --url https://{tenant_id}.api.nestmed.com/fhir/r4/List \
  --header 'Authorization: Bearer <token>'
{
  "resourceType": "Bundle",
  "type": "document",
  "id": "<string>",
  "meta": {
    "versionId": "<string>",
    "lastUpdated": "2023-11-07T05:31:56Z",
    "source": "<string>",
    "profile": [
      "<string>"
    ],
    "security": [
      {
        "system": "<string>",
        "version": "<string>",
        "code": "<string>",
        "display": "<string>",
        "userSelected": true
      }
    ],
    "tag": [
      {
        "system": "<string>",
        "version": "<string>",
        "code": "<string>",
        "display": "<string>",
        "userSelected": true
      }
    ]
  },
  "identifier": {
    "use": "usual",
    "type": {
      "coding": [
        {
          "system": "<string>",
          "version": "<string>",
          "code": "<string>",
          "display": "<string>",
          "userSelected": true
        }
      ],
      "text": "<string>"
    },
    "system": "<string>",
    "value": "<string>",
    "period": {
      "start": "2023-11-07T05:31:56Z",
      "end": "2023-11-07T05:31:56Z"
    },
    "assigner": {
      "reference": "<string>",
      "type": "<string>",
      "identifier": "<unknown>",
      "display": "<string>"
    }
  },
  "timestamp": "2023-11-07T05:31:56Z",
  "total": 123,
  "link": [
    {
      "relation": "<string>",
      "url": "<string>"
    }
  ],
  "entry": [
    {
      "link": [
        {
          "relation": "<string>",
          "url": "<string>"
        }
      ],
      "fullUrl": "<string>",
      "resource": {},
      "search": {
        "mode": "match",
        "score": 123
      },
      "request": {
        "method": "GET",
        "url": "<string>",
        "ifNoneMatch": "<string>",
        "ifModifiedSince": "<string>",
        "ifMatch": "<string>",
        "ifNoneExist": "<string>"
      },
      "response": {
        "status": "<string>",
        "location": "<string>",
        "etag": "<string>",
        "lastModified": "<string>",
        "outcome": {}
      }
    }
  ],
  "signature": {}
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

_count
integer
default:10
_id
string
patient
string
subject
string
status
enum<string>
Available options:
current,
retired,
entered-in-error
code
string

What the list contains (e.g., medications, problems)

date
string
encounter
string
source
string

Response

200 - application/fhir+json

Search results

resourceType
enum<string>
required
Available options:
Bundle
type
enum<string>
required
Available options:
document,
message,
transaction,
transaction-response,
batch,
batch-response,
history,
searchset,
collection
id
string
meta
object
identifier
object
timestamp
string<date-time>
total
integer

Total number of matches for a search

entry
object[]
signature
object