Faster Integrations With FHIR

We offer a robust FHIR REST API server that aims to be as close to the specification as possible and avoiding deviance.


Capability Statement

"A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation."

Our capability statement can be accessed at {baseURL}/metadata.

Transactions

DocsInk's FHIR server supports transactions through the use of the Bundle resource. This is helpful to ensure all resources are created and reduces the number of HTTP requests that need to be made by client applications.

Example using CCDA-FHIR
{
  "resourceType": "Bundle",
  "type": "transaction",
  "entry": [
    {
      "resource": {
        "resourceType": "Composition",
        "identifier": {
          "system": "urn:oid:2.16.840.1.113883.4.6",
          "value": "ORG-29"
        },
        "meta": {
          "profile": [
            "http://hl7.org/fhir/ccda/StructureDefinition/CCDA-on-FHIR-US-Realm-Header",
            "http://hl7.org/fhir/ccda/StructureDefinition/CCDA-on-FHIR-Care-Plan"
          ]
        },
        "type": {
          "coding": {
            "code": "52521-2",
            "display": "Overall Plan of Care/Advanced Care Directives",
            "system": "http://loinc.org"
          }
        },
        "status": "preliminary",
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "encounter": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "author": {
          "reference": "/Practitioner/DI-1861642910"
        },
        "date": "2020-06-19",
        "title": "Care Plan",
        "custodian": {
          "reference": "/Organization/DI-29"
        },
        "confidentiality": "N",
        "language": "en-US",
        "section": [
          {
            "title": "Health Concerns Section",
            "code": {
              "coding": {
                "system": "http://loinc.org",
                "code": "75310-3",
                "display": "Health Concerns Document"
              }
            },
            "entry": [
              {
                "reference": "urn:uuid:condition:159013"
              },
              {
                "reference": "urn:uuid:weight:1592571788381"
              },
              {
                "reference": "urn:uuid:height:1592571788383"
              },
              {
                "reference": "urn:uuid:bodyfat:1592571788384"
              },
              {
                "reference": "urn:uuid:bloodpressure:1592571788385"
              },
              {
                "reference": "urn:uuid:respiratoryrate:1592571788385"
              },
              {
                "reference": "urn:uuid:temperature:1592571788385"
              },
              {
                "reference": "urn:uuid:careteam:1592571788386"
              }
            ]
          },
          {
            "title": "Interventions Section",
            "code": {
              "coding": {
                "system": "http://loinc.org",
                "code": "62387-6",
                "display": "Interventions Provided"
              }
            },
            "text": {
              "status": "additional",
              "div": "<div xmlns="http://www.w3.org/1999/xhtml\">Nothing to Display</div>"
            }
          },
          {
            "title": "Goals Section",
            "code": {
              "coding": {
                "system": "http://loinc.org",
                "code": "61146-7",
                "display": "Goals"
              }
            },
            "entry": [
              {
                "reference": "urn:uuid:goal:159005"
              }
            ]
          },
          {
            "title": "Health Status Evaluations/Outcomes Section",
            "code": {
              "coding": {
                "system": "http://loinc.org",
                "code": "11383-7",
                "display": "Patient Problem Outcome"
              }
            },
            "entry": [
              {
                "reference": "urn:uuid:outcome:159014"
              }
            ]
          },
          {
            "title": "Insurance Providers",
            "code": {
              "coding": {
                "system": "http://loinc.org",
                "code": "48768-6",
                "display": "Payer"
              }
            },
            "entry": [
              {
                "reference": "Coverage/107360"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Composition"
      }
    },
    {
      "resource": {
        "resourceType": "Organization",
        "identifier": {
          "value": "29"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Organization/DI-29"
      }
    },
    {
      "resource": {
        "resourceType": "Patient",
        "identifier": {
          "system": "urn:oid:2.16.840.1.113883.19",
          "value": "DI-490807"
        },
        "name": [
          {
            "family": "Kumar",
            "given": [
              "Parmil"
            ]
          }
        ],
        "gender": "male",
        "birthDate": "1950-08-03",
        "telecom": [
          {
            "system": "email",
            "value": "pk@kp.com"
          }
        ],
        "extension": [],
        "address": [
          {
            "line": [
              ""
            ],
            "city": "",
            "state": "",
            "country": "USA",
            "postalCode": ""
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Patient/DI-490807"
      }
    },
    {
      "resource": {
        "resourceType": "Coverage",
        "subscriber": {
          "reference": "/Patient/DI-490807"
        },
        "subscriberId": "DI-490807",
        "payor": {
          "reference": "/Organization/84368"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Coverage/107360"
      }
    },
    {
      "resource": {
        "resourceType": "Encounter",
        "status": "in-progress",
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "period": {
          "start": "2019-11-19"
        },
        "type": [
          {
            "coding": {
              "code": 453701000124103,
              "display": "Face To Face",
              "system": "http://snomed.info/sct"
            }
          },
          {
            "coding": {
              "code": 362956003,
              "display": "Initial patient assessment",
              "system": "http://snomed.info/sct"
            }
          }
        ],
        "reason": [
          {
            "coding": {
              "code": "401135008",
              "display": "Asthma education (procedure)",
              "system": "http://snomed.info/sct"
            }
          }
        ]
      },
      "fullUrl": "urn:uuid:encounter:1592571788381",
      "request": {
        "method": "POST",
        "url": "Encounter"
      }
    },
    {
      "resource": {
        "resourceType": "Practitioner",
        "identifier": {
          "system": "urn:oid:2.16.840.1.113883.4.6",
          "value": "1861642910"
        },
        "name": {
          "family": "GERSTENBERGER",
          "given": [
            "ADELYNN"
          ]
        }
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/DI-1861642910"
      }
    },
    {
      "resource": {
        "resourceType": "Goal",
        "id": "159005",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2020-02-19T20:46:24.656+00:00"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Status</td><td><span>PROPOSED</span></td></tr><tr><td>Start Date</td><td><span>DateType[2020-02-19]</span></td></tr><tr><td>Description</td><td><span>Goal 1</span></td></tr></tbody></table></div>"
        },
        "status": "proposed",
        "description": {
          "coding": [
            {
              "display": "Goal 1"
            }
          ]
        },
        "subject": {
          "reference": "Patient/DI-490807"
        },
        "startDate": "2020-02-19",
        "expressedBy": {
          "reference": "Patient/DI-490807"
        },
        "outcomeReference": [
          {
            "reference": "urn:uuid:outcome:159014"
          }
        ],
        "addresses": []
      },
      "fullUrl": "urn:uuid:goal:159005",
      "request": {
        "method": "POST",
        "url": "Goal"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "3141-9",
            "display": "Patient Body Weight - Measured",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807" 
          }
        ],
        "valueQuantity": {
          "value": 185,
          "unit": "lb"
        }
      },
      "fullUrl": "urn:uuid:weight:1592571788381",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "8302-2",
            "display": "Patient Body Height",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807"
          }
        ],
        "valueQuantity": {
          "value": 63,
          "unit": "in",
          "system": "http://unitsofmeasure.org",
          "code": "[in_i]"
        }
      },
      "fullUrl": "urn:uuid:height:1592571788383",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "39156-5",
            "display": "Patient Body Fat",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807"
          }
        ],
        "valueQuantity": {
          "value": 12,
          "unit": "%",
          "system": "http://unitsofmeasure.org",
          "code": "%"
        }
      },
      "fullUrl": "urn:uuid:bodyfat:1592571788384",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "8462-4",
            "display": "Diastolic blood pressure",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807"
          }
        ],
        "valueRatio": {
          "numerator": {
            "value": 125,
            "unit": "mmHg",
            "system": "http://unitsofmeasure.org",
            "code": "mm[Hg]"
          },
          "denominator": {
            "value": 95,
            "unit": "mmHg",
            "system": "http://unitsofmeasure.org",
            "code": "mm[Hg]"
          }
        }
      },
      "fullUrl": "urn:uuid:bloodpressure:1592571788385",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "9279-1",
            "display": "Respiratory rate",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807"
          }
        ],
        "valueQuantity": {
          "value": 98,
          "unit": "breaths/minute",
          "system": "http://unitsofmeasure.org",
          "code": "/min"
        }
      },
      "fullUrl": "urn:uuid:respiratoryrate:1592571788385",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "status": "final",
        "code": {
          "coding": {
            "code": "8310-5",
            "display": "Body temperature",
            "system": "http://loinc.org"
          }
        },
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "effectiveDateTime": "2019-11-19",
        "performer": [
          {
            "reference": "/Patient/DI-490807"
          }
        ],
        "valueQuantity": {
          "value": 98.7,
          "unit": "F",
          "system": "http://unitsofmeasure.org"
        }
      },
      "fullUrl": "urn:uuid:temperature:1592571788385",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    },
    {
      "resource": {
        "resourceType": "CareTeam",
        "subject": {
          "reference": "/Patient/DI-490807"
        },
        "context": {
          "reference": "urn:uuid:encounter:1592571788381"
        },
        "participant": []
      },
      "fullUrl": "urn:uuid:careteam:1592571788386",
      "request": {
        "method": "POST",
        "url": "CareTeam"
      }
    },
    {
      "resource": {
        "resourceType": "Condition",
        "id": "159013",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2020-02-19T20:46:24.656+00:00"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table class=\"hapiPropertyTable\"><tbody><tr><td>Clinical Status</td><td><span>ACTIVE</span></td></tr><tr><td>Code</td><td><span>Alcohol-induced persisting amnestic disorder</span></td></tr></tbody></table></div>"
        },
        "clinicalStatus": "active",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "73097000",
              "display": "Alcohol-induced persisting amnestic disorder"
            }
          ]
        },
        "subject": {
          "reference": "Patient/DI-490807"
        }
      },
      "fullUrl": "urn:uuid:condition:159013",
      "request": {
        "method": "POST",
        "url": "Condition"
      }
    },
    {
      "resource": {
        "resourceType": "Observation",
        "id": "159014",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2020-02-19T20:46:24.656+00:00"
        },
        "text": {
          "status": "empty",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No narrative available - Error: Could not parse as expression: \"${resource.getComment()\" (template: \"observation\" - line 16, col 9)</div>"
        },
        "status": "final",
        "code": {
          "coding": [
            {
              "system": "urn:oid:2.16.840.1.113883.6.96",
              "code": "390802008",
              "display": "Goal achieved"
            }
          ]
        },
        "subject": {
          "reference": "Patient/DI-490807"
        },
        "effectiveDateTime": "2020-02-19",
        "comment": "123"
      },
      "fullUrl": "urn:uuid:outcome:159014",
      "request": {
        "method": "POST",
        "url": "Observation"
      }
    }
  ]
}