Skip to content

Fut1 23141 ccr0320 oa1 documentation#302

Merged
anjak-systematic merged 8 commits into
release_2026.3from
FUT1-23141_CCR0320OA1_Documentation
Jun 24, 2026
Merged

Fut1 23141 ccr0320 oa1 documentation#302
anjak-systematic merged 8 commits into
release_2026.3from
FUT1-23141_CCR0320OA1_Documentation

Conversation

@anjak-systematic

@anjak-systematic anjak-systematic commented Jun 22, 2026

Copy link
Copy Markdown
Contributor
  • I have ensured the target branch is correct; for new changes, they target e.g. release-3.5.0. Only release branches should target master. For more details, see here.

The IG is materialised as a website automatically by CI, and can be found here.

@sysMATGS sysMATGS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me

}, {
"name": "assigned-material-count",
"definition": "https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-assigned-material-count",
"documentation": "This operation counts the number of material assignments (``ehealth-material-communication resources``) for a given ``ehealth-documentreference`` from the Plan service. This is done by performing an internal search using the given ehealth-documentReference, date and status parameters. the group-by-careteam parameter determines whether a simple '_summary=count' search is performed or if all results should be fetched to extract and count based on participant CareTeam references.\r\n##Input\r\nThe operation has two mandatory input parameters:\r\n - An EHealthDocumentReference reference\r\n - Minimum one status code\r\nAdditionally, it there are two optional input parameters:\r\n - A boolean indicating whether to group the result by participant CareTeam references\r\n - A date parameter\r\n### EHealthDocumentReference reference\r\nA mandatory reference to an EHealthDocumentReference (general-material) in the plan service. Only ``ehealth-material-communication`` resources with the given reference in ``Communication.payload.content`` are counted.\r\n### Group-by-careTeam boolean\r\nThe group-by-careTeam parameter is optional. When not supplied by the user, it is assumed false. When it is set to true, the operation returns a count per CareTeam referenced as a participant in the matching ehealth-material-communication resources.\r\n### Date\r\nThe date parameter is optional, however, the count is always filtered by a date. If one is not given by the user, the date of execution is used instead. Only ``ehealth-material-communication`` resources whose ``Communication.period`` contains the used date are counted.\r\n### Status code list\r\nAt least one ``status`` code must be supplied by the user. Only ``ehealth-material-communications`` with one of the supplied status codes in ``Communication.status`` will be counted.\r\n## Output\r\nWhen supplied with valid inputs, the operation will return a Bundle resource with a single Parameters resource in its ``Bundle.entry`` list. The Parameters resource format depends on whether the group-by-careTeam parameter was true.\r\n### Output Parameters\r\nIf group-by-careTeam was false or not present. The Parameters resource will only contain a single parameter, named ``total`` with the value being the count of the ``ehealth-material-communication`` resources found to satisfy the given parameters.\r\nExample of output with group-by-careTeam as false or not present:\r\n```\r\n\"resource\": {\r\n \"resourceType\": \"Parameters\",\r\n \"parameter\": [{\r\n \"name\": \"total\",\r\n \"valueInteger\": 42\r\n }]\r\n }]\r\n}\r\n ```\r\n\r\nIf group-by-careTeam was true, the Parameters resource will contain a parameter for each CareTeam that is referenced in ``Communication.participant.actor`` in any of the matching ``ehealth-material-communication`` resources. The name of each parameter will be the reference value (CareTeam/[id]) of the CareTeam and the value will be the count of matching ``ehealth-material-communication`` resources that reference that CareTeam. It is worth noting that if an ``ehealth-material-communication`` has two (or more) distinct participant CareTeams, this will add to the count of each of them.\r\nExample of output with group-by-careTeam as true:\r\n```\r\n\"resource\": {\r\n \"resourceType\": \"Parameters\",\r\n \"parameter\": [{\r\n \"name\": \"CareTeam/123\",\r\n \"valueInteger\": 5\r\n },\r\n {\r\n \"name\": \"CareTeam/456\",\r\n \"valueInteger\": 7\r\n }]\r\n }]\r\n}\r\n ```"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"Additionally, it there are two optional input parameters" , jeg tror der er et ord for meget eller noget here

@anjak-systematic anjak-systematic merged commit 7a89799 into release_2026.3 Jun 24, 2026
@anjak-systematic anjak-systematic deleted the FUT1-23141_CCR0320OA1_Documentation branch June 24, 2026 11:33
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.

2 participants