Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update eval for Quantity in library eval #253

Merged
merged 5 commits into from
Sep 16, 2020
Merged

Conversation

rob-reynolds
Copy link

No description provided.

@rob-reynolds
Copy link
Author

rob-reynolds commented Sep 16, 2020

results:

{ "fullUrl": "cqltype", "resource": { "resourceType": "Parameters", "id": "cqltype", "parameter": [ { "name": "value", "valueString": "6.0 '1'" }, { "name": "resultType", "valueString": "Quantity" } ] } }, { "fullUrl": "fhirtype", "resource": { "resourceType": "Parameters", "id": "fhirtype", "parameter": [ { "name": "value", "valueString": "10.0 '1'" }, { "name": "resultType", "valueString": "Quantity" } ] } }

@rob-reynolds
Copy link
Author

Hmm, I thought the code formatting would maintain the returns and spaces...

CQL and FHIR, respectively:

{ "name": "value", "valueString": "6.0 '1'" }
and
{ "name": "value", "valueString": "10.0 '1'" }

@rob-reynolds
Copy link
Author

Also:

{ "name": "value", "valueString": "6.0 'lbs'" }
and
{ "name": "value", "valueString": "10.0 'lbs'" }

@rob-reynolds
Copy link
Author

Or:

"parameter": [
{
"name": "value",
"valueQuantity": {
"value": 10.0,
"unit": "lbs"
}
},
{
"name": "resultType",
"valueString": "Quantity"
}
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant