Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In addition to proving the feasiblity feasibility of FHIR resources to provide equivalent capabilities to the current API, this project will also introduce standards-based concepts in place of local VA terminology for discharge status and separation reason as well we reusing CDC ODH concept to represent the military branch and pay grade of a Veteran.

...

Submitting Work Group/Project/Accelerator/Affiliate/Implementer Group

Cross-

...

Work

...

Group Projects is the group responsible for this Military

...

Service History and Status project

...


Track

...

Leads

Ioana Singureanu (on behalf of Department of Veterans Affairs)

...

Scenario Step 3: Search the Observation resource for a list of Combat Episodes: search by "subject" (i.e. Patient/Veteran) and by  "patient" and "code" search parameters

Action:

 RequestGET http://hapi.fhir.org/baseR4/Observation?patient=sam-share-ssgt-veteran&code=4166ca15-bb96-4f7a-b968-7caab70e01b8&_pretty=true
Request Headers

Accept-Charset: utf-8
Accept: application/fhir+xml;q=1.0, application/fhir+json;q=1.0, application/xml+fhir;q=0.9, application/json+fhir;q=0.9
User-Agent: HAPI-FHIR/5.2.0-SNAPSHOT (FHIR Client; FHIR 4.0.1/R4; apache)
Accept-Encoding: gzip


 Response HTTP 200 OK
Response Headers

x-request-id: FoM14c2teQZPTigG
date: Thu, 10 Sep 2020 14:32:44 GMT
last-modified: Thu, 10 Sep 2020 14:32:44 GMT
server: nginx/1.14.0 (Ubuntu)
transfer-encoding: chunked
x-powered-by: HAPI FHIR 5.2.0-SNAPSHOT REST Server (FHIR Server; FHIR 4.0.1/R4)
connection: keep-alive
content-type: application/fhir+json;charset=utf-8

Result Body JSON bundle (6005 bytes)


 Bundle contains 2 / 2 entries



Raw Message


{
  "resourceType": "Bundle",
  "id": "811f735d-26c4-411c-9602-347c7e37e5bb",
  "meta": {
    "lastUpdated": "2020-09-10T14:32:44.654+00:00"
  },
  "type": "searchset",
  "total": 2,
  "link": [ {
    "relation": "self",
    "url": "http://hapi.fhir.org/baseR4/Observation?_pretty=true&code=4166ca15-bb96-4f7a-b968-7caab70e01b8&patient=sam-share-ssgt-veteran"
  } ],
  "entry": [ {
    "fullUrl": "http://hapi.fhir.org/baseR4/Observation/combat-episode-2",
    "resource": {
      "resourceType": "Observation",
      "id": "combat-episode-2",
      "meta": {
        "versionId": "1",
        "lastUpdated": "2020-09-10T12:36:58.427+00:00",
        "source": "#UbUeKRDrKjlcufio",
        "profile": [ "http://hl7.org/fhir/militaryserviceandstatus/StructureDefinition/combatepisode" ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"/>"
      },
      "status": "final",
      "category": [ {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "social-history",
          "display": "Social History"
        } ],
        "text": "Social History: Military Service"
      } ],
      "code": {
        "coding": [ {
          "system": "http://www.logicahealth.org/solutions/solor",
          "_system": {
            "fhir_comments": [ " http://www.logicahealth.org/solutions/solor will be replaced wtih http://loinc.org when the concept will be added to LOINC " ]
          },
          "code": "4166ca15-bb96-4f7a-b968-7caab70e01b8",
          "_code": {
            "fhir_comments": [ " placeholder concept in Solor " ]
          },
          "display": "Combat Episode"
        } ],
        "text": "Vital signs panel"
      },
      "subject": {
        "fhir_comments": [ " Referenced Veteran's Patient resource insstance " ],
        "reference": "Patient/sam-share-ssgt-veteran",
        "display": "veteran"
      },
      "effectivePeriod": {
        "fhir_comments": [ " Period of service " ],
        "start": "2018-07-22",
        "end": "2020-07-22"
      },
      "component": [ {
        "fhir_comments": [ " Location" ],
        "code": {
          "coding": [ {
            "system": "http://loinc.org",
            "code": "86188-0",
            "display": "Combat Location"
          } ]
        },
        "valueCodeableConcept": {
          "coding": [ {
            "system": "http://hl7.org/fhir/ValueSet/iso3166-1-3",
            "code": "IRQ",
            "display": "Iraq"
          } ]
        }
      }, {
        "fhir_comments": [ " Mission Details Code " ],
        "code": {
          "coding": [ {
            "system": "http://www.logicahealth.org/solutions/solor",
            "code": "ff83dbf9-592a-4e60-a979-4e4e10c9ace3",
            "display": "Military Mission Code"
          } ]
        },
        "valueCodeableConcept": {
          "coding": [ {
            "system": "http://www.logicahealth.org/solutions/solor",
            "code": "46a15b13-b5c1-4ae8-acde-48c31f30175a",
            "display": "Enduring Freedom"
          } ]
        }
      } ]
    },
    "search": {
      "mode": "match"
    }
  }, {
    "fullUrl": "http://hapi.fhir.org/baseR4/Observation/combat-episode-1",
    "resource": {
      "resourceType": "Observation",
      "id": "combat-episode-1",
      "meta": {
        "versionId": "1",
        "lastUpdated": "2020-09-10T12:35:24.111+00:00",
        "source": "#gCSeRD2R1Usnwz05",
        "profile": [ "http://hl7.org/fhir/militaryserviceandstatus/StructureDefinition/combatepisode" ]
      },
      "text": {
        "status": "generated",
        "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"/>"
      },
      "status": "final",
      "category": [ {
        "coding": [ {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "social-history",
          "display": "Social History"
        } ],
        "text": "Social History: Military Service"
      } ],
      "code": {
        "coding": [ {
          "system": "http://www.logicahealth.org/solutions/solor",
          "_system": {
            "fhir_comments": [ " http://www.logicahealth.org/solutions/solor will be replaced wtih http://loinc.org when the concept will be added to LOINC " ]
          },
          "code": "4166ca15-bb96-4f7a-b968-7caab70e01b8",
          "_code": {
            "fhir_comments": [ " placeholder concept in Solor " ]
          },
          "display": "Combat Episode"
        } ],
        "text": "Vital signs panel"
      },
      "subject": {
        "fhir_comments": [ " Referenced Veteran's Patient resource insstance " ],
        "reference": "Patient/sam-share-ssgt-veteran",
        "display": "veteran"
      },
      "effectivePeriod": {
        "fhir_comments": [ " Period of service " ],
        "start": "2016-12-06",
        "end": "2018-07-22"
      },
      "component": [ {
        "fhir_comments": [ " Location" ],
        "code": {
          "coding": [ {
            "system": "http://loinc.org",
            "code": "86188-0",
            "display": "Combat Location"
          } ]
        },
        "valueCodeableConcept": {
          "coding": [ {
            "system": "http://hl7.org/fhir/ValueSet/iso3166-1-3",
            "code": "AFG",
            "display": "Afghanistan"
          } ]
        }
      }, {
        "fhir_comments": [ " Mission Details Code " ],
        "code": {
          "coding": [ {
            "system": "http://www.logicahealth.org/solutions/solor",
            "code": "ff83dbf9-592a-4e60-a979-4e4e10c9ace3",
            "display": "Military Mission Code"
          } ]
        },
        "valueCodeableConcept": {
          "coding": [ {
            "system": "http://www.logicahealth.org/solutions/solor",
            "code": "46a15b13-b5c1-4ae8-acde-48c31f30175a",
            "display": "Enduring Freedom"
          } ]
        }
      } ]
    },
    "search": {
      "mode": "match"
    }
  } ]
}

Security and Privacy Considerations

...