Aidbox / Issues

Issue tracker for Aidbox FHIR backend by Health Samurai
7 stars 0 forks source link

CodeSystem Get do not return concepts #51

Closed arey32 closed 5 years ago

arey32 commented 5 years ago

После обновления до fhir-4.0.0 и DevBox 0.3.4 (Version: 0.3.4 Modules: access-policy, oauth, aidbox-apps, fhirterm-3.3.0, fhir-4.0.0)

Конфигурация:

#AIDBOX_CLIENT_ID=root
#AIDBOX_CLIENT_SECRET=secret
AIDBOX_PORT=8886
AIDBOX_FHIR_VERSION=4.0.0
PGPORT=5432
PGHOSTPORT=5437
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=devbox
PGIMAGE=aidbox/db:11.1.0
AIDBOX_IMAGE=healthsamurai/devbox:0.3.4
# uncomment next line to work with edge channel
# AIDBOX_IMAGE=healthsamurai/devbox:edge

При запросе http://192.168.177.222:8887/fhir/CodeSystem/dicom-cid29

Возвращает без массива concepts

{
    "url": "http://hl7.org/fhir/CodeSystem/dicom-cid29",
    "status": "active",
    "content": "complete",
    "id": "dicom-cid29",
    "meta": {
        "lastUpdated": "2019-03-01T10:18:13.614Z",
        "versionId": "5"
    },
    "resourceType": "CodeSystem"
}

Ожидаемый результат (как и было до обновления. До обновления была среда: Modules: access-policy, oauth, aidbox-apps, fhirterm-3.3.0, fhir-3.0.1)

{
    "url": "http://hl7.org/fhir/CodeSystem/dicom-cid29",
    "status": "active",
    "concept": [
        {
            "code": "AR",
            "display": "Autorefraction"
        },
        {
            "code": "BMD",
            "display": "Bone Mineral Densitometry"
        },
        {
            "code": "BDUS",
            "display": "Ultrasound Bone Densitometry"
        },
        {
            "code": "EPS",
            "display": "Cardiac Electrophysiology"
        },
        {
            "code": "CR",
            "display": "Computed Radiography"
        },
        {
            "code": "CT",
            "display": "Computed Tomography"
        },
        {
            "code": "DX",
            "display": "Digital Radiography"
        },
        {
            "code": "ECG",
            "display": "Electrocardiography"
        },
        {
            "code": "ES",
            "display": "Endoscopy"
        },
        {
            "code": "XC",
            "display": "External-camera Photography"
        },
        {
            "code": "GM",
            "display": "General Microscopy"
        },
        {
            "code": "HD",
            "display": "Hemodynamic Waveform"
        },
        {
            "code": "IO",
            "display": "Intra-oral Radiography"
        },
        {
            "code": "IVOCT",
            "display": "Intravascular Optical Coherence Tomography"
        },
        {
            "code": "IVUS",
            "display": "Intravascular Ultrasound"
        },
        {
            "code": "KER",
            "display": "Keratometry"
        },
        {
            "code": "LEN",
            "display": "Lensometry"
        },
        {
            "code": "MR",
            "display": "Magnetic Resonance"
        },
        {
            "code": "MG",
            "display": "Mammography"
        },
        {
            "code": "NM",
            "display": "Nuclear Medicine"
        },
        {
            "code": "OAM",
            "display": "Ophthalmic Axial Measurements"
        },
        {
            "code": "OCT",
            "display": "Optical Coherence Tomography"
        },
        {
            "code": "OPM",
            "display": "Ophthalmic Mapping"
        },
        {
            "code": "OP",
            "display": "Ophthalmic Photography"
        },
        {
            "code": "OPR",
            "display": "Ophthalmic Refraction"
        },
        {
            "code": "OPT",
            "display": "Ophthalmic Tomography"
        },
        {
            "code": "OPV",
            "display": "Ophthalmic Visual Field"
        },
        {
            "code": "OSS",
            "display": "Optical Surface Scanner"
        },
        {
            "code": "PX",
            "display": "Panoramic X-Ray"
        },
        {
            "code": "PT",
            "display": "Positron emission tomography"
        },
        {
            "code": "RF",
            "display": "Radiofluoroscopy"
        },
        {
            "code": "RG",
            "display": "Radiographic imaging"
        },
        {
            "code": "SM",
            "display": "Slide Microscopy"
        },
        {
            "code": "SRF",
            "display": "Subjective Refraction"
        },
        {
            "code": "US",
            "display": "Ultrasound"
        },
        {
            "code": "VA",
            "display": "Visual Acuity"
        },
        {
            "code": "XA",
            "display": "X-Ray Angiography"
        }
    ],
    "content": "complete",
    "id": "dicom-cid29",
    "meta": {
        "lastUpdated": "2019-03-04T13:31:45.826Z",
        "versionId": "7"
    },
    "resourceType": "CodeSystem"
}
Aitem commented 5 years ago

RELATED #38 #50

Aitem commented 5 years ago

Fixed in 0.3.5 Please check it

arey32 commented 5 years ago

Works