Skip to content

Quantity type item control has wrong value type #127

@mlaletina95

Description

@mlaletina95

Calculations like %QuestionnaireResponse.item.where(linkId='height').answer.valueQuantity.value / 100 fails in sdc-ide, but works in fhir-emr
It happens because value is string, but it should be number

item:
  - linkId: height
    answer:
      - valueQuantity:
          value: '9'
          unit: cm
          system: http://unitsofmeasure.org
          code: cm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions