Versions Compared

Key

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

...

Code Block
titleFHIR FamilyHistory Resource
{
  "resourceType": "FamilyHistory",
  "id": "dda12af7-1691-11df-97a5-7038c432aabf",
  "patient": {
    "reference": "Patient/example",
    "display": "Peter Patient"
  },
  "relation": [
    {
      "relationship": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/familial-relationship",
            "code": "father"
          }
        ]
      },
      "condition": [
        {
          "type": {
            "coding": [
              {
                "system": "http://snomed.info/sct",
                "code": "315619001",
                "display": "Myocardial Infarction"
              }
            ],
            "text": "Heart Attack"
          },
          "onsetAge": {
            "value": 74,
            "units": "a",
            "system": "http://unitsofmeasure.org"
          },
          "note": "Was fishing at the time. At least he went doing someting he loved."
        }
      ]
    }
  ]
}

Available RESTful web services for the FamilyHistory Resource supported by the API

urldescription
/ws/fhir/Location/{id}
Above request will fetch the FamilyHistory for the given unique uuid. Here id represents, the logical resource id associated with the resource.
/ws/fhir/Location?_id={id}
Above request will fetch all the FamilyHistory using the given uuid value. This will give a List of FamilyHistory as the response.Here _id parameter represents, the logical resource id associated with the resource.
/ws/fhir/Location?patient={patient}
Above request will fetch all the FamilyHistory using the given patient. This will give a List of FamilyHistory as the response. Here patient parameter represents, the identity of a subject to list family history items for.