FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagedk.ehealth.sundhed.fhir.ig.core
Resource TypeOperationDefinition
IdOperationDefinition--s-fetch-patient-usage-stats.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/fut-infrastructure/implementation-guide/OperationDefinition--s-fetch-patient-usage-stats.html
URLhttp://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-patient-usage-stats
Version8.0.0
Statusactive
Date2026-02-18T09:10:00+00:00
Namefetch-patient-usage-stats
TitleFetch unique active citizens total
Realmdk
Description### Report Contents This report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis. ### Grouping This report is grouped by months and years. All groups are contained in the same JSON file. ### Parameters - None ### Output Output can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups. ### Example output All returned objects are Fhir resources. See the implementation guide for details First example is the monthly data: { 'PatientsUsageSummary': { 'monthData': [ { 'month': '1', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '2', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '3', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '4', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '5', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '6', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '7', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '8', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '9', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '10', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '11', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] }, { 'month': '12', 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 1, 'percentChangeFromLastMonth': 0.0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 1, 'percentChangeFromLastMonth': 0.0 } ] } ] } } Second example is the yearly data: { 'PatientsUsageSummary': { 'yearData': [ { 'year': '1970', 'entries': [ { 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 }, { 'name': 'uniquePatientsWithEpisodeOfCare', 'count': 12, 'average': 1.0, 'usageBaseline': 10000, 'averageRounded': 1000.0, 'averageBeyondBaseline': 0 } ] } ] } }
Typefalse
Kindoperation

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: OperationDefinition -s-fetch-patient-usage-stats

URL: [base]/$fetch-patient-usage-stats

Parameters

UseNameScopeCardinalityTypeBindingDocumentation
INanonymization1..1string

This parameter is used to control if the report should be anonymized or not. If the value is set to NONE (no anonymization) and the user lacks the required permission, an exception is thrown.

OUTreturn0..1Binary

Source1

{
  "resourceType": "OperationDefinition",
  "id": "-s-fetch-patient-usage-stats",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-patient-usage-stats",
  "version": "8.0.0",
  "name": "fetch-patient-usage-stats",
  "title": "Fetch unique active citizens total",
  "status": "active",
  "kind": "operation",
  "date": "2026-02-18T09:10:00+00:00",
  "publisher": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
  "contact": [
    {
      "name": "Den telemedicinske infrastruktur (eHealth Infrastructure)",
      "telecom": [
        {
          "system": "url",
          "value": "http://ehealth.sundhed.dk"
        }
      ]
    }
  ],
  "description": "### Report Contents\nThis report contains an overview of the number of unique active citizens with Episodes of Care, shown both on monthly and yearly basis.\n### Grouping \nThis report is grouped by months and years. All groups are contained in the same JSON file.\n### Parameters\n- None\n### Output\nOutput can be found in Binary.content. This is a Base64 encoded .zip file containing a JSon file corresponding to the report groups.\n### Example output\nAll returned objects are Fhir resources. See the implementation guide for details\nFirst example is the monthly data:\n\n{\n\t'PatientsUsageSummary': {\n\t\t'monthData': [\n\t\t\t{\n\t\t\t\t'month': '1',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '2',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '3',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '4',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '5',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '6',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '7',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '8',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '9',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '10',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '11',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\t'month': '12',\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 1,\n\t\t\t\t\t\t'percentChangeFromLastMonth': 0.0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n      ]\n   }\n}\n\nSecond example is the yearly data:\n\n{\n\t'PatientsUsageSummary': {\n\t\t'yearData': [\n\t\t\t{\n\t\t\t\t'year': '1970',\n\t\t\t\t'entries': [\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n\t\t\t\t\t\t'count': 12,\n\t\t\t\t\t\t'average': 1.0,\n\t\t\t\t\t\t'usageBaseline': 10000,\n\t\t\t\t\t\t'averageRounded': 1000.0,\n\t\t\t\t\t\t'averageBeyondBaseline': 0\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\t'name': 'uniquePatientsWithEpisodeOfCare',\n\t\t\t\t\t\t'count': 12,\n\t\t\t\t\t\t'average': 1.0,\n\t\t\t\t\t\t'usageBaseline': 10000,\n\t\t\t\t\t\t'averageRounded': 1000.0,\n\t\t\t\t\t\t'averageBeyondBaseline': 0\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t}\n      ]\n   }\n}\n",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "DK",
          "display": "Denmark"
        }
      ]
    }
  ],
  "affectsState": true,
  "code": "fetch-patient-usage-stats",
  "system": true,
  "type": false,
  "instance": false,
  "parameter": [
    {
      "name": "anonymization",
      "use": "in",
      "min": 1,
      "max": "1",
      "documentation": "This parameter is used to control if the report should be anonymized or not. If the value is set to NONE (no anonymization) and the user lacks the required permission, an exception is thrown.",
      "type": "string"
    },
    {
      "name": "return",
      "use": "out",
      "min": 0,
      "max": "1",
      "type": "Binary"
    }
  ]
}