For AI agents: the documentation index is at /docs/aidbox/llms.txt. A Markdown version of this page is available at /docs/aidbox/notebooks.md or by requesting it with the Accept: text/markdown header.
Aidbox Docs
All notebooks

CPT Import

Description

2 cells · updated Feb 15, 2025

This is a read-only view. Responses shown were saved when the notebook was published — open it in your own Aidbox to run the cells against live data.
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
POST /ValueSet/cpt/$validate-code
content-type: application/json

{
  "code": "160",
  "system": "http://www.ama-assn.org/go/cpt"
}
Response: Body
Status: 200
{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "result",
      "valueBoolean": true
    }
  ]
}
REST Send Cells run only inside Aidbox. Use Run in Aidbox above to open this notebook in your own instance.
POST /rpc
content-type: application/edn
accept: application/edn

{:method aidbox.terminology.import-flat/import-from-url
 :params
 {:source-url "https://yy91n3i0k4.ufs.sh/f/SJwCouYpfoRnwMnCdAXMsUGDe4REClXLoOqVIJkaAT6j2Nf0"
  :format "csv"
  :csv-format {:delimiter "," 
               :quote "\""}
  :code-system {:url "http://www.ama-assn.org/go/cpt"}
  :value-set {:url "http://skywell.ai/fhir/ValueSet/cpt"}
  :header true
  :header-row 0
  :data-row 1
  :hierarchy false
  :mapping {:concept {:code {:column "code"}
                      :display {:column "display"}}
            :property {"system" {:column "system"}}}}}