onaio / fhir-tooling

A command line utility to support FHIR Core content authoring
Other
1 stars 1 forks source link

[Enhancement] Update the location importer template to use Location.type and not Location.physicalType #115

Closed f-odhiambo closed 5 months ago

f-odhiambo commented 5 months ago

Definition Type Type of function performed
ServiceDeliveryLocationRoleType (Extensible)

The physical form of the location LocationType (Example)

Requirement When uploading and creating a new location modify the template to use Location.type instead of Location.physicalType . Type is a defined search param that can be used for both CQL and FHIRPath expressions

f-odhiambo commented 5 months ago
"physicalType": {
    "coding": [
        {
            "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
            "code": "bu",
            "display": "Building"
        }
    ]
}
  "type": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
          "code": "RNEU",
          "display": "Neuroradiology unit"
        }
      ]
    }
  ],

Sample script snippets

dubdabasoduba commented 5 months ago

@Wambere I am going to reopen the ticket based on this comment

Sorry I checked this PR late