Related person resource

105 views
Skip to first unread message

Sathish Gopalan

unread,
Aug 21, 2018, 12:25:19 PM8/21/18
to Cerner FHIR Developers
We are trying to retrieve the "Guarantor" information for a patient. We are using the "RelatedPerson" resource.
I can get back the details , but the response does not indicate the "type" of relationship. Below is a sample response for test patient.
In this case, KRAFT, ADAM K is the guarantor for XTEST, KJM DAFNEY
If we have multiple relationships like guarantor, guardian etc, how can we distinguish ?.
Please let me know if I am missing anything.

[

  {

    "resourceType": "RelatedPerson",

    "id": "3404439969",

    "meta": {

      "versionId": "3"

    },

    "text": {

      "status": "generated",

      "div": "<div><p><b>RelatedPerson</b></p><p><b>Name</b>: KRAFT, ADAM K</p><p><b>DOB</b>: Jun 12, 1971</p><p><b>Sex</b>: Male</p></div>"

    },

    "patient": {

      "reference": "Patient/18750757",

      "display": "XTEST, KJM DAFNEY"

    },

    "name": {

      "use": "official",

      "text": "KRAFT, ADAM K",

      "family": [

        "KRAFT"

      ],

      "given": [

        "ADAM",

        "K"

      ],

      "period": {

        "start": "2016-01-26T07:45:23.000Z"

      }

    },

    "telecom": [

      {

        "system": "phone",

        "value": "2087208196",

        "period": {

          "start": "2016-01-26T07:45:23.000Z"

        }

      }

    ],

    "gender": "male",

    "birthDate": "1971-06-12",

    "address": [

      {

        "text": "520 IVY ST\nHAILEY, ID 83333-8689\nUS",

        "line": [

          "520 IVY ST"

        ],

        "city": "HAILEY",

        "district": "Blaine",

        "state": "ID",

        "postalCode": "83333-8689",

        "country": "US",

        "period": {

          "start": "2016-01-26T07:45:23.000Z"

        }

      }

    ],

    "period": {

      "start": "2018-08-16T18:07:36.000Z"

    }

  }

]

Jenni Syed (Cerner)

unread,
Aug 21, 2018, 1:21:02 PM8/21/18
to Cerner FHIR Developers
Hi Sathish,

First, can you provide an X-Request-Id for the request you sent? This will help us dig into why nothing is being returned for the relationship field. We would have expected at least some text.

Second: We're discussing this a bit together behind the scenes, and we'll be reaching out to HL7 for some clarification on this.

Here's the crux of our discussion:
* First, guarantor should definitely be returned from the Account resource (note: I'm linking to STU 3 because account was very under-documented/immature in DSTU 2).
* Second, we aren't sure we should be returning guarantor form related person based on the resource documentation. This is because the FHIR resource states that the person shouldn't have any formal responsibility in the healthcare process. The examples listed are closer to actual relationships outside of healthcare. We think this is a very fuzzy line, so we're reaching out for clarification. Guarantor *is* listed in the required value set, so this may be fine. We just want to confirm.

~ Jenni

Sathish Gopalan

unread,
Aug 24, 2018, 1:44:07 PM8/24/18
to Cerner FHIR Developers
Jenni,

I am using our Certification domain (C351) for this implementation.
X-Request-Id cfd274ef68448540c93878774fccef00 

Client Id: ff3fd3b2-5de1-499d-aabc-03e83056f14e

App Id: 805408eb-0985-45eb-8ee5-426344ddaf24


We added two more relationships to this patient to test. We do get back the all the 3 records as expected. 
I see relationships field in 2 of them and not on the guarantor, but those relationships are marked as "other" and no code exists on them.
Also, the related persons details returned does not match up with the Powerchart or the data we entered.

I have attached the new json response below.
[
  {
    "resourceType": "RelatedPerson",
    "id": "3404477155",
    "meta": {
      "versionId": "7"
    },
    "text": {
      "status": "generated",
      "div": "<div><p><b>RelatedPerson</b></p><p><b>Name</b>: KRAFT, ADAM K</p><p><b>DOB</b>: Jun 12, 1971</p><p><b>Sex</b>: Male</p></div>"
    },
    "patient": {
      "reference": "Patient/18750757",
      "display": "XTEST, KJM DAFNEY"
    },
    "relationship": {
      "coding": [
        {
          "extension": [
            {
              "valueCode": "unknown"
            }
          ]
        }
      ],
      "text": "Other"
    },
    "name": {
      "use": "official",
      "text": "KRAFT, ADAM K",
      "family": [
        "KRAFT"
      ],
      "given": [
        "ADAM",
        "K"
      ],
      "period": {
        "start": "2016-01-26T07:45:23.000Z"
      }
    },
    "telecom": [
      {
        "system": "phone",
        "value": "2087208196",
        "period": {
          "start": "2016-01-26T07:45:23.000Z"
        }
      },
      {
        "system": "email",
        "value": "cha...@chocolatefactory.com",
        "period": {
          "start": "2018-08-20T19:45:47.000Z"
        }
      }
    ],
    "gender": "male",
    "birthDate": "1971-06-12",
    "address": [
      {
        "text": "520 IVY ST\nHAILEY, ID 83333-8689\nUS",
        "line": [
          "520 IVY ST"
        ],
        "city": "HAILEY",
        "district": "Blaine",
        "state": "ID",
        "postalCode": "83333-8689",
        "country": "US",
        "period": {
          "start": "2016-01-26T07:45:23.000Z"
        }
      }
    ]
  },
  {
    "resourceType": "RelatedPerson",
    "id": "3404487588",
    "meta": {
      "versionId": "7"
      {
        "system": "email",
        "value": "cha...@chocolatefactory.com",
        "period": {
          "start": "2018-08-20T19:45:47.000Z"
        }
      }
    ],
    "gender": "male",
    "birthDate": "1971-06-12",
    "address": [
      {
        "text": "520 IVY ST\nHAILEY, ID 83333-8689\nUS",
        "line": [
          "520 IVY ST"
        ],
        "city": "HAILEY",
        "district": "Blaine",
        "state": "ID",
        "postalCode": "83333-8689",
        "country": "US",
        "period": {
          "start": "2016-01-26T07:45:23.000Z"
        }
      }
    ],
    "period": {
      "start": "2018-08-21T18:47:12.000Z"
    }
  },
  {
    "resourceType": "RelatedPerson",
    "id": "3404439969",
    "meta": {
      "versionId": "7"
    },
    "text": {
      "status": "generated",
      "div": "<div><p><b>RelatedPerson</b></p><p><b>Name</b>: KRAFT, ADAM K</p><p><b>DOB</b>: Jun 12, 1971</p><p><b>Sex</b>: Male</p></div>"
    },
    "patient": {
      "reference": "Patient/18750757",
      "display": "XTEST, KJM DAFNEY"
    },
    "relationship": {
      "coding": [
        {
          "extension": [
            {
              "valueCode": "unknown"
            }
          ]
        }
      ],
      "text": "Other"
    },
    "name": {
      "use": "official",
      "text": "KRAFT, ADAM K",
      "family": [
        "KRAFT"
      ],
      "given": [
        "ADAM",
        "K"
      ],
      "period": {
        "start": "2016-01-26T07:45:23.000Z"
      }
    },
    "telecom": [
      {
        "system": "phone",
        "value": "2087208196",
        "period": {
          "start": "2016-01-26T07:45:23.000Z"
        }
      },
      {
        "system": "email",
        "value": "cha...@chocolatefactory.com",
        "period": {
          "start": "2018-08-20T19:45:47.000Z"

Jenni Syed (Cerner)

unread,
Aug 24, 2018, 2:12:01 PM8/24/18
to Cerner FHIR Developers
Thanks Sathish, we're investigating!

Regards,
Jenni
Reply all
Reply to author
Forward
0 new messages