如何连接属于同一时间的FHIR捆绑包资源中的条目?

时间:2015-09-09 15:19:24

标签: hl7-fhir

例如,观察'资源我想要一套血压'血压'观察,包括收缩期'和'舒张期'在捆绑中,我有多个日期的观察。我怎样才能连接'收缩期'和'舒张期'观察属于同一天?



{
  "resourceType": "Bundle",
  "title": "Multiple observations",
  "link": [
    {
      "rel": "self",
      "href": "http://localhost:3000/api/users/1/observations/bloodPressure?access_token=7ef61a51358a60fe875ca4a9ab3114c06d5818c25936f51bd420a5d1e025f0ee&end=2015-04-06T23:59&nocache=1441806074364&resolution=86400&start=2015-04-05T00:00&fhir=true"
    }
  ],
  "updated": "2015-09-09T15:14:10+00:00",
  "entry": [
    {
      "subject": {
        "reference": "/api/users/1"
      },
      "resourceType": "Observation",
      "name": {
        "coding": {
          "system": "http://loinc.org",
          "code": "8480-6",
          "display": "BP sys"
        }
      },
      "valueQuantity": {
        "value": 125,
        "units": "mm Hg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      },
      "status": "final",
      "reliability": "ok",
      "appliesDateTime": "2015-04-05T14:44:00+00:00"
    },
    {
      "subject": {
        "reference": "/api/users/1"
      },
      "resourceType": "Observation",
      "name": {
        "coding": {
          "system": "http://loinc.org",
          "code": "8480-6",
          "display": "BP sys"
        }
      },
      "valueQuantity": {
        "value": 125,
        "units": "mm Hg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      },
      "status": "final",
      "reliability": "ok",
      "appliesDateTime": "2015-04-06T09:25:00+00:00"
    },
    {
      "subject": {
        "reference": "/api/users/1"
      },
      "resourceType": "Observation",
      "name": {
        "coding": {
          "system": "http://loinc.org",
          "code": "8462-4",
          "display": "BP dias"
        }
      },
      "valueQuantity": {
        "value": 78,
        "units": "mm Hg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      },
      "status": "final",
      "reliability": "ok",
      "appliesDateTime": "2015-04-05T14:44:00+00:00"
    },
    {
      "subject": {
        "reference": "/api/users/1"
      },
      "resourceType": "Observation",
      "name": {
        "coding": {
          "system": "http://loinc.org",
          "code": "8462-4",
          "display": "BP dias"
        }
      },
      "valueQuantity": {
        "value": 78,
        "units": "mm Hg",
        "system": "http://unitsofmeasure.org",
        "code": "mm[Hg]"
      },
      "status": "final",
      "reliability": "ok",
      "appliesDateTime": "2015-04-06T09:25:00+00:00"
    }
  ]
}




我已经看过this example,但对我来说还不是很清楚。

1 个答案:

答案 0 :(得分:1)

在DSTU 2中,我们带回了Observation.component,因此实际上应该将收缩和舒张作为整体血压观察的组成部分。如果你正在使用其中一个中间版本,你仍然希望有一个观察结果代表整体血压,然后观察收缩和舒张的关系。这将建立联系。