10.43 RelatedPerson Tests under the Single Patient API failing in spite of RelatedPerson reference in Patient JSON response #613
Labels
question answered
This issue has been investigated and replied by Inferno team. No further action needed.
When called from Postman, the RelatedPerson request returns the correct JSON.
But this test is failing. Please investigate. Below is the JSON returned from the Patient API
{
"resourceType": "Bundle",
"id": "dcbd6bca-0ea2-4674-8655-e50376172c4e",
"type": "searchset",
"timestamp": "2025-02-03T22:18:09Z",
"total": 1,
"link": [
{
"relation": "self",
"url": "https://MyServer/dev2/fhir/r4/Patient?_id=100000105"
}
],
"entry": [
{
"fullUrl": "https://MyServer/dev2/fhir/r4/Patient/100000105",
"resource": {
"resourceType": "Patient",
"address": [
{
"city": "BEAVERTON",
"line": [
"123 Testing Way"
],
"postalCode": "97006",
"state": "OR"
},
{
"city": "Washington",
"country": "USA",
"line": [
"123 Previous Avenue"
],
"period": {
"end": "2024-10-20T18:39:46-05:00",
"start": "2024-04-03T18:39:46Z"
},
"postalCode": "87000",
"state": "NM",
"use": "old"
}
],
"birthDate": "2019-06-04",
"communication": [
{
"language": {
"coding": [
{
"code": "en",
"display": "ENGLISH",
"system": "urn:oid:1.0.639.1"
}
]
},
"preferred": true
}
],
"contact": [
{
"address": {
"city": "Washington",
"country": "USA",
"line": [
"123 Main Street"
],
"postalCode": "87000",
"state": "NM"
},
"gender": "female",
"name": {
"family": "Nextofkin",
"given": [
"Jane"
],
"text": "Jane Nextofkin"
},
"period": {
"end": "2024-04-02T23:35:19-05:00",
"start": "2020-01-27T23:35:19Z"
},
"relationship": [
{
"coding": [
{
"code": "C",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131"
}
]
},
{
"coding": [
{
"code": "C",
"display": "Emergency Contact",
"system": "http://terminology.hl7.org/CodeSystem/v2-0131"
}
]
}
]
}
],
"extension": [
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2106-3",
"display": "WHITE",
"system": "urn:oid:2.16.840.1.113883.6.238"
}
},
{
"url": "text",
"valueString": "WHITE"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
"valueCode": "F"
},
{
"url": "http://intersystems.com/fhir/extn/sda3/lib/patient-entered-on",
"valueDateTime": "2022-03-22T07:12:56-05:00"
},
{
"extension": [
{
"url": "ombCategory",
"valueCoding": {
"code": "2186-5",
"display": "NOT HISPANIC OR LATINO",
"system": "urn:oid:2.16.840.1.113883.6.238"
}
},
{
"url": "text",
"valueString": "NOT HISPANIC OR LATINO"
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"
},
{
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity",
"valueCodeableConcept": {
"coding": [
{
"code": "446141000124107",
"display": "Female",
"system": "http://snomed.info/sct"
}
]
}
},
{
"url": "http://intersystems.com/fhir/extn/sda3/lib/patient-occupation",
"valueCodeableConcept": {
"coding": [
{
"code": "HSDeveloper",
"display": "HealthShare Developer"
}
],
"extension": [
{
"url": "http://intersystems.com/fhir/extn/sda3/lib/code-table-detail-occupation-job-class",
"valueString": "IT"
}
]
}
},
{
"extension": [
{
"url": "tribalAffiliation",
"valueCodeableConcept": {
"coding": [
{
"code": "187",
"display": "Paiute-Shoshone Tribe of the Fallon Reservation and Colony, Nevada",
"system": "http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS"
}
]
}
}
],
"url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation"
}
],
"gender": "female",
"identifier": [
{
"system": "urn:oid:2.16.840.1.113883.3.454.90411",
"type": {
"coding": [
{
"code": "PI",
"system": "http://terminology.hl7.org/CodeSystem/v2-0203"
}
],
"text": "MPIID"
},
"value": "100000105"
}
],
"link": [
{
"other": {
"reference": "RelatedPerson/2241"
},
"type": "seealso"
}
],
"name": [
{
"family": "DEMOPREVIOUS",
"given": [
"BABY",
"VITALS"
],
"period": {
"end": "2024-10-20T18:39:46-05:00"
},
"text": "BABY VITALS DEMOPREVIOUS",
"use": "old"
},
{
"family": "DEMO",
"given": [
"BABY",
"VITALS"
],
"suffix": [
"PhD"
],
"text": "BABY VITALS DEMO PhD",
"use": "official"
}
],
"telecom": [
{
"system": "email",
"value": "[email protected]"
},
{
"system": "phone",
"use": "home",
"value": "+1(555)-111-2222"
},
{
"system": "phone",
"use": "mobile",
"value": "+1(555)-111-2222"
},
{
"system": "phone",
"use": "work",
"value": "+1(555)-666-6777"
}
],
"id": "100000105",
"meta": {
"lastUpdated": "2025-01-28T19:05:11Z",
"versionId": "6"
}
},
"search": {
"mode": "match"
}
}
]
}
The text was updated successfully, but these errors were encountered: