Skip to content

Smileutil upload-terminology command does not load all concept properties from CSV file #7401

@YalingPeiS

Description

@YalingPeiS

The smileutil upload-terminology command does not support loading more than one CodeSystem.concept.property value to the TRM_CONCEPT_PROPERTY database table with the same CodeSystem.concept.property.code for a given CodeSystem.concept.

{
  "resourceType" : "CodeSystem",
  "id" : "mycodesystem",
  "url" : "http://example.com/mycodesystem",
  "content" : "complete",
  "concept" : [{
    "code" : "code-a",
    "display" : "Code A",
    "property" : [{
      "code" : "alt_description",
      "valueString" : "code a"
    },{
      "code" : "alt_description",
      "valueString" : "CODE A"
    }]
  }]
}

If the above is loaded through a FHIR endpoint via a POST or PUT request, Smile CDR creates two rows in the TRM_CONCEPT_PROPERTY table.

Alternately, if this same code system is loaded using smileutil upload-terminology, only one row is created.

This is problematic as some ValueSet definitions use concept.property values to define their contents.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions