Skip to content

Instantly share code, notes, and snippets.

@allisonheath
Last active August 24, 2020 18:50
Show Gist options
  • Save allisonheath/c0a35e38bd140a08ce26e2f2a0259b47 to your computer and use it in GitHub Desktop.
Save allisonheath/c0a35e38bd140a08ce26e2f2a0259b47 to your computer and use it in GitHub Desktop.
Kids First Participant Examples
{
"extension": [
{
"extension": [
{
"url": "subject",
"valueReference": {
"reference": "Patient/336522"
}
},
{
"url": "relation",
"valueCodeableConcept": {
"coding": [
{
"code": "FTH",
"display": "father",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
}
],
"text": "Father"
}
}
],
"url": "http://fhir.kids-first.io/StructureDefinition/relation"
},
{
"extension": [
{
"url": "subject",
"valueReference": {
"reference": "Patient/336510"
}
},
{
"url": "relation",
"valueCodeableConcept": {
"coding": [
{
"code": "MTH",
"display": "mother",
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
}
],
"text": "Mother"
}
}
],
"url": "http://fhir.kids-first.io/StructureDefinition/relation"
},
{
"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"
},
{
"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"
}
],
"gender": "female",
"id": "336503",
"identifier": [
{
"system": "https://kf-api-dataservice.kidsfirstdrc.org/participants?study_id=SD_PREASA7S&external_id=",
"value": "553"
},
{
"system": "urn:kids-first:unique-string",
"value": "Patient|SD_PREASA7S|553"
}
],
"link": [
{
"other": {
"reference": "Patient/02191336-63fc-45d6-83ec-a8cd620b2331"
},
"type": "refer"
}
],
"meta": {
"lastUpdated": "2020-07-02T16:05:09.915+00:00",
"profile": [
"http://fhir.kids-first.io/StructureDefinition/kfdrc-patient"
],
"source": "#ICakCcMwGCVXGdmz",
"versionId": "3"
},
"resourceType": "Patient"
}
{
"extension": [
{
"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"
},
{
"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"
}
],
"gender": "female",
"id": "336510",
"identifier": [
{
"system": "https://kf-api-dataservice.kidsfirstdrc.org/participants?study_id=SD_PREASA7S&external_id=",
"value": "554"
},
{
"system": "urn:kids-first:unique-string",
"value": "Patient|SD_PREASA7S|554"
}
],
"link": [
{
"other": {
"reference": "Patient/0155386c-9b70-455d-88b0-5d8462327e00"
},
"type": "refer"
}
],
"meta": {
"lastUpdated": "2020-07-02T16:05:07.519+00:00",
"profile": [
"http://fhir.kids-first.io/StructureDefinition/kfdrc-patient"
],
"source": "#NamIQC9QdjUwdnXi",
"versionId": "2"
},
"resourceType": "Patient"
}
{
"extension": [
{
"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"
},
{
"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"
}
],
"gender": "male",
"id": "336522",
"identifier": [
{
"system": "https://kf-api-dataservice.kidsfirstdrc.org/participants?study_id=SD_PREASA7S&external_id=",
"value": "555"
},
{
"system": "urn:kids-first:unique-string",
"value": "Patient|SD_PREASA7S|555"
}
],
"link": [
{
"other": {
"reference": "Patient/033dc23a-2d08-42d4-95cb-d6126862b565"
},
"type": "refer"
}
],
"meta": {
"lastUpdated": "2020-07-02T16:05:14.548+00:00",
"profile": [
"http://fhir.kids-first.io/StructureDefinition/kfdrc-patient"
],
"source": "#IEezmm6AGUSKbl6a",
"versionId": "2"
},
"resourceType": "Patient"
}
@liberaliscomputing
Copy link

The below is an example of a family relationship using Observation:

{
  "resourceType": "Observation",
  "id": "6909",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/Observation"
    ]
  },
  "code": {
    "coding": [
      {
        "system": "http://snomed.info/sct",
        "code": "35359004",
        "display": "Family"
      }
    ],
    "text": "Family relationship"
  },
  "subject": {
    "reference": "Patient/4701"
  },
  "focus": [
    {
      "reference": "Patient/4702"
    }
  ],
  "valueCodeableConcept": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
        "code": "PRN",
        "display": "parent"
      },
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
        "code": "MTH",
        "display": "mother"
      }
    ],
    "text": "Mother"
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment