Skip to content

More test data#163

Merged
xmhorsehead merged 6 commits intohl7au:masterfrom
steveswinsburg:more-test-data
Dec 5, 2025
Merged

More test data#163
xmhorsehead merged 6 commits intohl7au:masterfrom
steveswinsburg:more-test-data

Conversation

@steveswinsburg
Copy link
Collaborator

Added 7 influenza Immunization resources to patients of interest, including notes.
Added the associated Encounter resources for those immunization administrations.

Added notes to 3 of the existing AllergyIntolerance resources for patients of interest.

@steveswinsburg steveswinsburg requested a review from dt-r August 21, 2025 23:41
@steveswinsburg
Copy link
Collaborator Author

I've resolved the merge conflicts since this got out of date, any further changes needed?

@xmhorsehead xmhorsehead self-requested a review November 3, 2025 06:33
@dt-r dt-r requested review from dbojicic and removed request for dt-r November 6, 2025 22:44
@dt-r
Copy link
Contributor

dt-r commented Nov 6, 2025

@steveswinsburg - which HL7 AU projects is this test for?

@dt-r dt-r requested a review from mjosborne1 November 6, 2025 22:52
"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Encounter.type is not mandatory/MS in AU Core Encounter. Is there a reason for this to be included in the example?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As an implementor, realistic test data is more useful than just the minimum set of MS elements as systems should still be able to receive additional fields without falling over. However I have removed it.

"period": {
"start": "2022-04-11T09:20:00+10:00",
"end": "2022-04-11T09:35:00+10:00"
},
Copy link
Collaborator

@mjosborne1 mjosborne1 Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's recommended that test data cover Must Support elements. The following are missing from these examples:

  • reasonCode: Coded reason the encounter takes place
  • reasonReference: Reason the encounter takes place (reference)
  • location : Location the encounter took place

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, will add.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reasonCode and location are straightforward. reasonReference is more tricky since there isn't an existing Condition that can be used as a reason for a flu vaccination so I created two that can be used that make sense for this (immunocompromised and chronic asthma)

"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

@mjosborne1 mjosborne1 Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest type is removed for 2 reasons:

  1. type is not MS or mandatory
  2. Vaccinia is a Smallpox immunization and the serviceType/id/file name suggest this is an Influenza vaccination encounter.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have removed type from all encounters

"start": "2023-04-11T09:20:00+10:00",
"end": "2023-04-11T09:35:00+10:00"
},
"serviceProvider": {
Copy link
Collaborator

@mjosborne1 mjosborne1 Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments in Encounter influenza admin 1 regarding missing MS elements reasonCode, reasonReference and location.

"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest type is removed for 2 reasons:

  1. type is not MS or mandatory
  2. Vaccinia is a Smallpox immunization and the serviceType/id/file name suggest this is an Influenza vaccination encounter.

"period": {
"start": "2025-04-11T09:20:00+10:00",
"end": "2025-04-11T09:35:00+10:00"
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments in Encounter influenza admin 1 regarding missing MS elements reasonCode, reasonReference and location.

@xmhorsehead xmhorsehead removed their request for review November 7, 2025 00:42
"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest type is removed for 2 reasons:

  1. type is not MS or mandatory
  2. Vaccinia is a Smallpox immunization and the serviceType/id/file name suggest this is an Influenza vaccination encounter.

"period": {
"start": "2022-04-11T09:20:00+10:00",
"end": "2022-04-11T09:35:00+10:00"
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments in Encounter influenza admin 1 regarding missing MS elements reasonCode, reasonReference and location.

"start": "2023-04-11T09:20:00+10:00",
"end": "2023-04-11T09:35:00+10:00"
},
"serviceProvider": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments in Encounter influenza admin 1 regarding missing MS elements reasonCode, reasonReference and location.

"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest type is removed for 2 reasons:

  1. type is not MS or mandatory
  2. Vaccinia is a Smallpox immunization and the serviceType/id/file name suggest this is an Influenza vaccination encounter.

"code": "AMB",
"display": "ambulatory"
},
"type": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest type is removed for 2 reasons:

  1. type is not MS or mandatory
  2. Vaccinia is a Smallpox immunization and the serviceType/id/file name suggest this is an Influenza vaccination encounter.

"period": {
"start": "2024-04-11T09:20:00+10:00",
"end": "2024-04-11T09:35:00+10:00"
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments in Encounter influenza admin 1 regarding missing MS elements reasonCode, reasonReference and location.

"reference": "Location/elimbah-medical-centre"
},
"manufacturer": {
"display": "sanofi-aventis australia pty ltd"
Copy link
Collaborator

@mjosborne1 mjosborne1 Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manufacturer is not MS, recommend element is removed from examples.
If the use of the element has justification, then recommend title case 'Sanofi-Aventis Australia' as per https://immunisationhandbook.health.gov.au/vaccines/fluquadri

"display": "sanofi-aventis australia pty ltd"
},
"lotNumber": "FLU2022A01",
"site": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

site has not been defined in AU CORE as an MS element. Please provide justification for inclusion in examples or remove the element.

],
"text": "Left upper arm"
},
"performer": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Immunization.performer is not MS. Consider whether this is required in the example.

}
}
],
"protocolApplied": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AU Core doesn't define how to represent protocol applied by a provider in an Immunisation record. Consider whether this is required in the example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

@@ -0,0 +1,89 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my comments on Immunization-influenza-1 - they all apply to this example.

Copy link
Collaborator

@mjosborne1 mjosborne1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see my inline comments.

@steveswinsburg
Copy link
Collaborator Author

@steveswinsburg - which HL7 AU projects is this test for?

This is a task you requested when I was in Sparked so started it before I finished up, sent the PR and just remembered about it :)

@steveswinsburg
Copy link
Collaborator Author

@steveswinsburg - which HL7 AU projects is this test for?

AU Core, per the profile on the resources.

@steveswinsburg
Copy link
Collaborator Author

steveswinsburg commented Nov 14, 2025

As the test data files have been moved to the the relevant directories (au-core, au-patient-summary etc), I've moved these also.

@xmhorsehead xmhorsehead merged commit df26bb4 into hl7au:master Dec 5, 2025
1 check passed
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.

5 participants