URL: [base]/$execute-patient-usage-stats
Parameters
Use | Name | Scope | Cardinality | Type | Binding | Documentation |
IN | anonymization | | 1..1 | string | | |
OUT | return | | 0..1 | Binary | | |
"
] ; #
fhir:url [ fhir:v "https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-usage-stats"^^xsd:anyURI] ; #
fhir:version [ fhir:v "2.10.0"] ; #
fhir:name [ fhir:v "execute-patient-usage-stats"] ; #
fhir:title [ fhir:v "Execute unique active cititzens total"] ; #
fhir:status [ fhir:v "active"] ; #
fhir:kind [ fhir:v "operation"] ; #
fhir:date [ fhir:v "2023-10-24T11:12:05+00:00"^^xsd:dateTime] ; #
fhir:publisher [ fhir:v "Systematic | Trifork"] ; #
fhir:contact ( [
fhir:name [ fhir:v "Systematic | Trifork" ] ;
fhir:telecom ( [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "http://ehealth.sundhed.dk" ]
] )
] ) ; #
fhir:description [ fhir:v "### 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 'PatientsUsageSummary': {\n 'monthData': [\n {\n 'month': '1',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '2',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '3',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '4',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '5',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '6',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '7',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '8',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '9',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '10',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '11',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n },\n {\n 'month': '12',\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 1,\n 'percentChangeFromLastMonth': 0.0\n }\n ]\n }\n ]\n }\n}\n\nSecond example is the yearly data:\n\n{\n 'PatientsUsageSummary': {\n 'yearData': [\n {\n 'year': '1970',\n 'entries': [\n {\n 'name': 'uniquePatientsWithEpisodeOfCareBeingActiveSevenOrMoreDays',\n 'count': 12,\n 'average': 1.0,\n 'usageBaseline': 10000,\n 'averageRounded': 1000.0,\n 'averageBeyondBaseline': 0\n },\n {\n 'name': 'uniquePatientsWithEpisodeOfCare',\n 'count': 12,\n 'average': 1.0,\n 'usageBaseline': 10000,\n 'averageRounded': 1000.0,\n 'averageBeyondBaseline': 0\n }\n ]\n }\n ]\n }\n}\n"] ; #
fhir:affectsState [ fhir:v "true"^^xsd:boolean] ; #
fhir:code [ fhir:v "execute-patient-usage-stats"] ; #
fhir:system [ fhir:v "true"^^xsd:boolean] ; #
fhir:type [ fhir:v "false"^^xsd:boolean] ; #
fhir:instance [ fhir:v "false"^^xsd:boolean] ; #
fhir:parameter ( [
fhir:name [ fhir:v "anonymization" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v "1"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "string" ]
] [
fhir:name [ fhir:v "return" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v "0"^^xsd:integer ] ;
fhir:max [ fhir:v "1" ] ;
fhir:type [ fhir:v "Binary" ]
] ) . #
# -------------------------------------------------------------------------------------