Skip to main content
POST
/
v1
/
labs
Create lab report
curl --request POST \
  --url https://api.clinikapi.com/v1/labs \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "code": "<string>",
  "patientId": "<string>",
  "encounterId": "<string>",
  "effectiveDateTime": "2023-11-07T05:31:56Z",
  "effectivePeriod": {
    "start": "2023-11-07T05:31:56Z",
    "end": "2023-11-07T05:31:56Z"
  },
  "resultIds": [
    "<string>"
  ],
  "category": "<string>",
  "conclusion": "<string>",
  "conclusionCodes": [
    {
      "system": "<string>",
      "code": "<string>",
      "display": "<string>"
    }
  ],
  "performer": "<string>",
  "resultsInterpreter": "<string>",
  "specimenIds": [
    "<string>"
  ],
  "presentedForm": [
    {
      "contentType": "<string>",
      "data": "<string>",
      "url": "<string>",
      "title": "<string>"
    }
  ],
  "basedOn": [
    "<string>"
  ],
  "media": [
    {
      "comment": "<string>",
      "linkId": "<string>"
    }
  ]
}
'

Authorizations

x-api-key
string
header
required

Your ClinikAPI secret key (clk_live_* or clk_test_*)

Body

application/json
status
enum<string>
required
Available options:
registered,
partial,
preliminary,
final,
amended,
corrected,
appended,
cancelled
code
required
patientId
string
required
encounterId
string
effectiveDateTime
string<date-time>

When the report is clinically relevant (point in time)

effectivePeriod
object

When the report is clinically relevant (time range)

resultIds
string[]

Observation IDs included in this report

category
string

LAB, RAD, PAT

conclusion
string
Maximum string length: 5000
conclusionCodes
object[]
performer
string

Practitioner who performed the diagnostic

resultsInterpreter
string

Practitioner who interpreted results

specimenIds
string[]
presentedForm
object[]
basedOn
string[]

ServiceRequest IDs this report is based on

media
object[]

Media/images linked to this report

Response

201

Lab report created