Skip to content

When calling GET on /fhir/List, source identifier response is always the same #515

Description

@Reinaard
  1. Create some entries in the NVI
  2. Do a GET on https://nvi.test.gf.irealisatie.nl/v0.2/api/fhir/List
  3. Source -> identifier is always the same value (in my case EHR-SYS-2024-001)
    Example response with 4 entries:
{
    "resourceType": "Bundle",
    "type": "searchset",
    "total": 4,
    "entry": [
        {
            "resource": {
                "id": "bda3ce8b-7123-48bc-95ce-91d73a33da80",
                "resourceType": "List",
                "extension": [
                    {
                        "url": "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-localization-custodian",
                        "valueReference": {
                            "identifier": {
                                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                                "value": "90000106"
                            }
                        }
                    }
                ],
                "status": "current",
                "mode": "working",
                "source": {
                    "identifier": {
                        "system": "https://cp1-test.example.org/device-identifiers",
                        "value": "EHR-SYS-2024-001"
                    },
                    "type": "Device"
                },
                "code": {
                    "coding": [
                        {
                            "system": "http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-data-categories-cs",
                            "code": "not-used"
                        }
                    ]
                },
                "emptyReason": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/list-empty-reason",
                            "code": "withheld"
                        }
                    ]
                }
            }
        },
        {
            "resource": {
                "id": "53c14d7a-b34e-45fd-b85a-ef2402610609",
                "resourceType": "List",
                "extension": [
                    {
                        "url": "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-localization-custodian",
                        "valueReference": {
                            "identifier": {
                                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                                "value": "90000106"
                            }
                        }
                    }
                ],
                "status": "current",
                "mode": "working",
                "source": {
                    "identifier": {
                        "system": "https://cp1-test.example.org/device-identifiers",
                        "value": "EHR-SYS-2024-001"
                    },
                    "type": "Device"
                },
                "code": {
                    "coding": [
                        {
                            "system": "http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-data-categories-cs",
                            "code": "not-used"
                        }
                    ]
                },
                "emptyReason": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/list-empty-reason",
                            "code": "withheld"
                        }
                    ]
                }
            }
        },
        {
            "resource": {
                "id": "c997f21d-733a-4183-bf8c-8b549cb984b1",
                "resourceType": "List",
                "extension": [
                    {
                        "url": "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-localization-custodian",
                        "valueReference": {
                            "identifier": {
                                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                                "value": "90000106"
                            }
                        }
                    }
                ],
                "status": "current",
                "mode": "working",
                "source": {
                    "identifier": {
                        "system": "https://cp1-test.example.org/device-identifiers",
                        "value": "EHR-SYS-2024-001"
                    },
                    "type": "Device"
                },
                "code": {
                    "coding": [
                        {
                            "system": "http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-data-categories-cs",
                            "code": "not-used"
                        }
                    ]
                },
                "emptyReason": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/list-empty-reason",
                            "code": "withheld"
                        }
                    ]
                }
            }
        },
        {
            "resource": {
                "id": "b07cd9f4-3fde-49ec-bc54-aa7aa9397927",
                "resourceType": "List",
                "extension": [
                    {
                        "url": "http://minvws.github.io/generiekefuncties-docs/StructureDefinition/nl-gf-localization-custodian",
                        "valueReference": {
                            "identifier": {
                                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                                "value": "90000106"
                            }
                        }
                    }
                ],
                "status": "current",
                "mode": "working",
                "source": {
                    "identifier": {
                        "system": "https://cp1-test.example.org/device-identifiers",
                        "value": "EHR-SYS-2024-001"
                    },
                    "type": "Device"
                },
                "code": {
                    "coding": [
                        {
                            "system": "http://minvws.github.io/generiekefuncties-docs/CodeSystem/nl-gf-data-categories-cs",
                            "code": "not-used"
                        }
                    ]
                },
                "emptyReason": {
                    "coding": [
                        {
                            "system": "http://terminology.hl7.org/CodeSystem/list-empty-reason",
                            "code": "withheld"
                        }
                    ]
                }
            }
        }
    ]
}

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

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