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

Delete

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

PreviousPatchNextVersioned Delete

Last updated 9 months ago

DELETE {base}/fhir/{type}

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

Upon successful deletion of a resource, the server responds with a 200 OK status. If you attempt to delete a resource that has already been deleted, the server will respond with a 204 No Content status, in accordance with the FHIR specification.

Request DELETE {base}/fhir/Patient/{id}

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Response

{
  "name": [
    {
      "given": ["Bernard"]
    }
  ],
  "id": "20304050",
  "resourceType": "Patient",
  "meta": {
    "lastUpdated": "2024-07-16T12:10:47.885463Z",
    "versionId": "540524",
    "extension": [
      {
        "url": "ex:createdAt",
        "valueInstant": "2024-07-16T10:08:33.753699Z"
      }
    ]
    "tag": [
      {
        "system": "https://journl.dk",
        "code": "deleted"
      }
    ]
  }
}
{
  "success": "No Content"
}
{
  "error": "Unauthorized"
}
here