hl7au / au-fhir-core-inferno

This is an Inferno test kit for the AU Core Implementation Guide
https://inferno.hl7.org.au
Apache License 2.0
9 stars 3 forks source link

Search by patient (IHI) (chained parameters) tests not working #153

Closed StephThaoOng closed 4 months ago

StephThaoOng commented 4 months ago

Search by patient (IHI) (chained parameters) not working across all AU Core Test suites.

Version: V.0.0.9

projkov commented 4 months ago

@StephThaoOng Hello Steph

Could you provide me an example of a patient for whom the tests are not working?

As I understand, we didn't have an IHI identifier for our default patients, except hayes-maria

However, identifiers exist for these patients:

"baldry-terence",
    "baldwin-dinah",
    "ballantyne-flavia",
    "ballantyne-kelvin",
    "ballantyne-sandy",
    "ballantyne-terry",
    "banks-jamila",
    "banks-jeramy",
    "banks-jonas",
    "banks-mia",
    "bassett-imogene",
    "black-kerry",
    "britton-brian",
    "callow-veronica",
    "campbell-ambrose",
    "cane-cheyenne",
    "dietrich-blake",
    "dietrich-diedre",
    "dietrich-kimbra",
    "dietrich-phillipa",
    "frost-rhett",
    "hoskins-marisa",
    "hoskins-sergio",
    "humphries-jayson",
    "irvine-ronny",
    "little-rose",
    "lynch-alyce",
    "martin-shawn",
    "moffitt-heath",
    "nielsen-eleanore",
    "odonnell-gillian",
    "pennington-donnie",
    "potts-felix",
    "ralph-rudolf",
    "ridgewell-troy",
    "sandilands-young",
    "scott-elijah",
    "todd-tanya",
    "veitch-beau",
    "veitch-miles",
    "veitch-mitchell",
    "veitch-nathan",
    "veitch-savannah",
    "patient-tc",
    "archibald-dante",
    "baldry-terence-emile",
    "ballantyne-flavia-indira",
    "ballantyne-kelvin-hans",
    "ballantyne-sandy-choy",
    "ballantyne-terry-bob",
    "banks-jamila-angie",
    "banks-jeramy-ezra",
    "banks-jonas-cary",
    "banks-mia-leanne",
    "baratz-toni",
    "bassett-imogene-betsy",
    "belger-remedios",
    "black-kerry-dougal",
    "boulton-annika",
    "britton-brian-edwin",
    "callow-veronica-connie",
    "cane-cheyenne-elaina",
    "cummings-angelo",
    "davis-juan",
    "dietrich-blake-louis",
    "dietrich-diedre-alicia",
    "dietrich-kimbra-althea",
    "dietrich-phillipa-grace",
    "downie-grant",
    "ewing-ferdinand",
    "foreman-caterina",
    "frost-rhett-kent",
    "hampton-jenice",
    "hayes-arianne",
    "hoskins-sergio-lionel",
    "howe-deangelo",
    "hulme-brant",
    "inveraity-polly",
    "irvine-ronny-lawrence",
    "johnson-joyce",
    "keaton-jayme",
    "little-rose-gretal",
    "lynch-alyce-shauna",
    "mackay-elliott",
    "mackay-fritz",
    "mackay-heather",
    "moffitt-heath-igor",
    "morris-charlotte",
    "moylan-brock",
    "nash-abel",
    "pennington-donnie-kip",
    "potts-felix-ernie",
    "roberts-fred",
    "robson-adam",
    "sandilands-kendall",
    "scott-elijah-ken",
    "simpson-tristan",
    "thomson-mika",
    "todd-tanya-estelle",
    "veitch-beau-bradley",
    "veitch-miles-dudley",
    "veitch-mitchell-carl",
    "veitch-nathan-chris",
    "veitch-savannah-sheena",
    "hayes-maria"

Proof: 1.[ List of Patient IDs for patients with IHI identifiers](https://fhirpath.me/?url=https%3A%2F%2Ffhir.hl7.org.au%2Faucore%2Ffhir%2FDEFAULT%2FPatient%3F_count%3D150&expression=Bundle.entry.resource.where(%0A%20%20%20%20identifier.where(%0A%20%20%20%20%20%20%20%20system%3D%27http%3A%2F%2Fns.electronichealth.net.au%2Fid%2Fhi%2Fihi%2F1.0%27%0A%20%20%20%20).count()%20%3E%200%0A).id)

Are you sure that resources like Observation, AllergyIntolerance, and Procedure exist for hayes-maria?

StephThaoOng commented 4 months ago

@projkov sorry Pavel. Correct, currently IHI only exists for hayes-maria. I had added IHI for other default input patients but they didn't get loaded onto the Sparked dev/test server. Apologies!