curl --request POST \
--url https://{tenant_id}.api.nestmed.com/fhir/r4/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/fhir+json' \
--data '
{
"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": {}
}
'{
"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": {}
}Process a batch or transaction bundle
curl --request POST \
--url https://{tenant_id}.api.nestmed.com/fhir/r4/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/fhir+json' \
--data '
{
"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": {}
}
'{
"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": {}
}The access token received from the authorization server in the OAuth 2.0 flow.
Bundle document, message, transaction, transaction-response, batch, batch-response, history, searchset, collection Show child attributes
Show child attributes
Total number of matches for a search
Show child attributes
Show child attributes
Bundle response
Bundle document, message, transaction, transaction-response, batch, batch-response, history, searchset, collection Show child attributes
Show child attributes
Total number of matches for a search
Show child attributes
Show child attributes