HealthCatalyst / Fabric.Terminology

Service to provide shared healthcare terminology data
Apache License 2.0
3 stars 3 forks source link

Returning Task properties on valuesetcodes module #95

Closed corytak closed 6 years ago

corytak commented 6 years ago

When trying to query the valuesetcodes module:

http://localhost:61762/v0.6/valuesetcodes/valueset/{5c4905ec-e013-4beb-a5c1-5a8a6e92517d}?$top=20

At the top level there are Task properties:

{
    "result": {
        "totalItems": 2,
        "pagerSettings": {
            "currentPage": 1,
            "itemsPerPage": 30000,
            "orderBy": "Name",
            "direction": 0
        },
        "totalPages": 1,
        "values": [
            {
                "valueSetGuid": "5c4905ec-e013-4beb-a5c1-5a8a6e92517d",
                "codeGuid": "827ea63c-c645-4a4f-8479-3b18e01da6ab",
                "code": "F",
                "name": "Female",
                "codeSystemGuid": "03c5fb1c-7567-4c0d-90ad-e2df6f2ce76f",
                "codeSystemName": "Administrative Gender",
                "retired": false
            },
            {
                "valueSetGuid": "5c4905ec-e013-4beb-a5c1-5a8a6e92517d",
                "codeGuid": "839a010c-65ec-405f-8af6-c6f0c109f103",
                "code": "M",
                "name": "Male",
                "codeSystemGuid": "03c5fb1c-7567-4c0d-90ad-e2df6f2ce76f",
                "codeSystemName": "Administrative Gender",
                "retired": false
            }
        ]
    },
    "id": 15589,
    "exception": null,
    "status": 5,
    "isCanceled": false,
    "isCompleted": true,
    "creationOptions": 0,
    "asyncState": null,
    "isFaulted": false
}

Comparing this with other endpoints, this doesn't seem like the expected behavior.