Journl Streamed
Talk to an expertWebsite
  • Introduction
  • Getting Started
    • Sandbox Access
    • On-Premise
    • Cloud
  • Overview
    • Why Journl Streamed?
    • Licensing & Support
    • Features
    • Solution Architecture and Usage
  • API
    • FHIR API
      • Accessing FHIR Data
      • CRUD
        • Create
        • Read
        • Update
          • Versioned Update
        • Patch
        • Delete
          • Versioned Delete
    • Batch Upsert
  • Services
    • Security & Access Control
    • FHIR Modeling, Profiles, and Standards
    • Careplan Creation
    • Analysis on Demand
      • Standard Process
      • Types of Analysis
    • Custom Resources
    • Monitoring & Maintenance
  • Storage
    • Database
      • Database schema
    • Backup and Restore
    • Indexes
  • Integrations
    • Data Ingestion and Decoupling
    • Subscriptions and Event Notifications
    • BI & Analytical tools
      • Power BI
      • Tableau
      • Jupyter Notebook
Powered by GitBook
On this page
  1. API
  2. FHIR API
  3. CRUD

Create

Description of how to create a resource using our FHIR API.

PreviousCRUDNextRead

Last updated 11 months ago

POST {base}/fhir/{type}

Below is an example of how to use a POST request to create a resource. A complete list of resources can be found by visiting the resource specifications .

Request POST {base}/fhir/Patient

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

{
  "id": "20304050",
  "name": [{"family": "John"}]
}

Response

{
  "name": [
    {
      "family": "John"
    }
  ],
  "id": "20304050",
  "resourceType": "Patient",
  "meta": {
    "lastUpdated": "2024-07-16T10:08:33.753699Z",
    "versionId": "540505",
    "extension": [
      {
        "url": "ex:createdAt",
        "valueInstant": "2024-07-16T10:08:33.753699Z"
      }
    ]
  }
}
{
  "error": "Bad Request"
}
{
  "error": "Unauthorized"
}
{
  "error": "Conflict"
}
{
  "error": "Unprocessable"
}
here