Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

This is the API documentation  for the OpenMRS FHIR Module ,FamilyHistory Resource. 

FamilyHistory Resource represents Significant health events and conditions for people related to the subject relevant in the context of care for the subject. For more information, please refer http://hl7-fhir.github.io/familyhistory.html

 

Shown below is an example of how an OpenMRS FamilyHistory objects would map to FHIR FamilyHistory resource, as proposed by Grahame Grieve.

The left side of the relationship indicates the OpenMRS attribute, while the right indicated the FHIR resource mapping.

FamilyHistory
Integer relationshipId :: not mapped
Person personA :: If PersonA is the requesting patient of family history then it will be mapped to FamilyHistory.subject else person will be map to relation attributes accordingly
 
Person's Relationships will be map as follow

RelationshipType relationshipType :: 
	String aIsToB :: FamilyHistory.relation.relationship (if patient resource relation ship is A to B)
	String bIsToA :: FamilyHistory.relation.relationship (if patient resource relation ship is B to A)
Person personB ::  If PersonA is the requesting patient of family history then it will be mapped to FamilyHistory.subject else person name will be map to FamilyHistory.relation.name 
Related person bithday :: FamilyHistory.relation.born[x]

 

Shown below is a sample FHIR FamilyHistory Resource.

FHIR 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.

 

 

  • No labels