【问题标题】:AppointmentType resource约会类型资源
【发布时间】:2020-05-28 10:14:02
【问题描述】:

我需要将 AppointmentTypes 作为 FHIR 资源返回。不幸的是,我找不到它作为官方 FHIR 资源格式。

我最好的猜测是创建一个Basic 资源,如下所示:

{
  "resourceType": "Basic",
  "id" : "id-of-appointment-type",
  "identifier" : [
    {
            "use" : "secondary",
            "system" : "http://myUrl/myIdentifier",
            "value" : "7"
   }
  ],
  "code" : {
    "coding": [
      {
        "system": "http://myUrl/appointment-type",
        "code": "appointment-type"
      }
    ]
   },
  "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">AppointmentType</div>"
  },
  "extension": [
    {
      "url": "http://myUrl/appointment-type-name",
      "valueString": "New Patient"
    },
    {
      "url": "http://myUrl/appointment-type-availability",
      "valueBoolean": true
    }
  ],
  "meta" : {
        "lastUpdated" : "2020-05-27T00:00:00.000Z"
    }
}

这是创建 AppointmentType 资源的正确方法吗?

【问题讨论】:

    标签: hl7-fhir


    【解决方案1】:

    我没有发现任何明显的问题,但您是否使用 CodeSystem 进行了评估?您可以在 CodeSystem 代码上定义属性,这些属性将能够区分可用和不可用的约会类型 - 这将更好地与 Appointment 一起使用,其中 'type' 应该是一个代码。

    【讨论】:

    • 是的,这似乎是一种更好的方法。谢谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-21
    • 1970-01-01
    • 2011-05-23
    • 2015-05-28
    • 1970-01-01
    相关资源
    最近更新 更多