Supported Formats

json

Errors

Code Description
401 Unauthorized
500 Server crashed for some <%= reason %>

Examples

GET /DiagnosticReport?patient=1&code=24357-6&category=LP29708-2&date=ge2015-06-21T00%3A00%3A00%2B00%3A00&access_token=6b5h9crwD1EP2zzNDifB5GNZi1rgmU3vmjsdJE9G9BfhQUL3Pm7stAUvJCgwSbAb
200
{
  "resourceType": "Bundle",
  "id": "4be79819f43c559ecf48b0785f687105",
  "type": "search set",
  "entry": [
    {
      "full_url": "/DiagnosticReport/",
      "resource": {
        "resourceType": "DiagnosticReport",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2021-03-23T19:36:17.299+00:00",
          "source": "#E1VolYkq84D3M96u",
          "profile": [
            "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://loinc.org",
                "code": null,
                "display": null
              }
            ],
            "text": null
          }
        ],
        "encounter": {
          "reference": "Encounter/"
        },
        "presentedForm": [
          {
            "contentType": "application/html",
            "url": "/DocumentReference/"
          }
        ],
        "status": "unknown",
        "code": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": null,
              "display": null
            }
          ]
        },
        "subject": {
          "reference": "Patient/1",
          "display": "Alice Newman"
        },
        "effectiveDateTime": {
          "valueQuantity": {
            "extension": {
              "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
              "valueCode": "unknown"
            }
          },
          "dataAbsentReason": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason",
                "code": "unknown",
                "display": "Unknown"
              }
            ],
            "text": "Unknown"
          }
        },
        "issued": {
          "valueQuantity": {
            "extension": {
              "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
              "valueCode": "unknown"
            }
          },
          "dataAbsentReason": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason",
                "code": "unknown",
                "display": "Unknown"
              }
            ],
            "text": "Unknown"
          }
        },
        "performer": [
          {
            "reference": "Practitioner/",
            "display": "Albert Davis"
          }
        ]
      }
    }
  ],
  "total": 1
}

Params

Param name Description
access_token
required

CarePaths User OAuth Token

Validations:

  • Must be String.

code
optional

LOINC code of requested Diagnostic Report i.e. 24323-8 or loinc.org|24323-8

Validations:

  • Must be String.

category
optional

Category of Diagnostic Report i.e. lab

Validations:

  • Must be String.

date
optional

Date of Diagnostic Report with optional prefix in the form of two letters i.e. lt/gt/le/ge

Validations:

  • Must be string.

patient
optional

ID of the requested patient

Validations:

  • Must be number.

start_date
optional

Start date for dataset; Format YYYY-MM-DD

Validations:

  • Must be Date.

end_date
optional

End date for dataset; Format YYYY-MM-DD

Validations:

  • Must be Date.

Returns

Code: 200

Description:

List of resources

Param name Description
resource_type
required

Bundle

Validations:

  • Must be String.

type
required

Validations:

  • Must be String.