NHSDigital / DataDictionaryPublication

Apache License 2.0
7 stars 1 forks source link

Data Element Multiplicity: Multiple occurrences of this item are permitted #532

Open AngelaFaulding opened 1 month ago

AngelaFaulding commented 1 month ago

We require multiplicity for Data Elements to show where, for example "Multiple occurrences of this item are permitted"

image

I have done this by putting Min 0 and Max in a Data Element description, as below. Can we use anything else in that field, e.g. Multiple occurrences of this item are required? I have tried adding Min 1 and Max and get the same result in the Orchestrator.

PERSON FULL NAME has Min 0 and Max *: image

NHS NUMBER has Min 1 Max * image

They both look the same in the Orchestrator:

image

Can we only add Min 0 and Max *? We need to know so we can document it?

pjmonks commented 1 month ago

You are able to add any value to the "Min" field so long as "Max" is the asterisk "*" character - asterisk denoting "many". The key is that a value min value must also be provided to create a valid multiplicity field value, it can be anything though.

We are working on making sure the ingested data set elements have the correct multiplicities set when imported from Borland Together, see:

AngelaFaulding commented 1 month ago

19/08/24 - System C are working on this.

AngelaFaulding commented 2 weeks ago

This has been fixed and is waiting for deployment

pjmonks commented 1 week ago

This issue has been fixed and deployed to TEST, TRAINING and LIVE. Please move this to the "Ready for NHS E Testing" state.

pjmonks commented 1 week ago

The fix was to update all branches so that a min and max multiplicity is set for every data element in the data set. Refer to the screenshots in previous comments for more details.

AngelaFaulding commented 1 hour ago

@pjmonks - I have tested this is the Eye Colour Data Set in CR8008. I have added 0 and 1 to test this and found that whatever I put I get "Multiple occurrences of this item are permitted". Should we be able to put 1 * and it have required instead of permitted?

Header page in the Orchestrator: image.

The items in Mauro:

image

image

image