AppointmentType资源

问题描述 投票:0回答:1

我需要将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个回答
0
投票

我看不到任何明显的问题,但是您是否使用CodeSystem进行了评估?您可以在CodeSystem代码上定义属性,这些属性可以区分可用的约会类型和不可用的约会类型,并且与“约会”一起使用会更好,因为“类型”应该是代码。

© www.soinside.com 2019 - 2024. All rights reserved.