AppointmentType 资源

AppointmentType resource

我需要 return 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 资源的正确方法吗?

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