eHealth Infrastructure (v2020.4)

{
  "resourceType" : "OperationDefinition",
  "id" : "-s-fetch-practitioner-stats",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>fetch-practitioner-stats</h2><p>OPERATION: fetch-practitioner-stats</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-practitioner-stats</pre><div><h3>Report Contents</h3>\n<p>This report contains counts of practitioners associated with Organizations and CareTeams</p>\n<ul>\n<li>List of Organization and associated practitonerCount</li>\n<li>List of CareTeam and associated practitionerCount</li>\n</ul>\n<h3>Grouping</h3>\n<p>None. The report is returned in a single JSon file.</p>\n<h3>Parameters</h3>\n<ul>\n<li>organization:\n<ul>\n<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>\n<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>\n</ul>\n</li>\n<li>period\n<ul>\n<li>CareTeam: Filter on CareTeam.participant.period overlap</li>\n<li>PractitionerRole: Filter on PractitionerRole.perid overlap</li>\n</ul>\n</li>\n</ul>\n<h3>Output</h3>\n<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>\n<h3>Example output</h3>\n<p>Organization and CareTeam are Fhir resources. See the implementation guide for details</p>\n<pre><code>{\n    'PractitionerSummary': {\n        'organizationPractitionerStatistics': [{\n                'organization': {\n                    'resourceType': 'Organization',\n                    'id': '69075',\n                    'meta': {\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']\n                    },\n                    'extension': [{\n                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',\n                            'valueCodeableConcept': {\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/organization-source',\n                                        'code': 'manual'\n                                    }\n                                ]\n                            }\n                        }, {\n                            'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',\n                            'valueCodeableConcept': {\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',\n                                        'code': 'NotSynchronized'\n                                    }\n                                ]\n                            }\n                        }\n                    ],\n                    'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'\n                },\n                'practitionerCount': 1\n            }\n        ],\n        'careTeamPractitionerStatistics': [{\n                'careTeam': {\n                    'resourceType': 'CareTeam',\n                    'id': '44267',\n                    'meta': {\n                        'versionId': '1',\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                    },\n                    'identifier': [{\n                            'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',\n                            'system': 'urn:ietf:rfc:3986'\n                        }\n                    ],\n                    'status': 'active',\n                    'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',\n                    'reasonCode': [{\n                            'coding': [{\n                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                    'code': 'TBD'\n                                }\n                            ]\n                        }\n                    ],\n                    'managingOrganization': [{\n                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                        }\n                    ]\n                },\n                'practitionerCount': 0\n            }, {\n                'careTeam': {\n                    'resourceType': 'CareTeam',\n                    'id': '40831',\n                    'meta': {\n                        'versionId': '1',\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                    },\n                    'identifier': [{\n                            'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',\n                            'system': 'urn:ietf:rfc:3986'\n                        }\n                    ],\n                    'status': 'active',\n                    'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',\n                    'reasonCode': [{\n                            'coding': [{\n                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                    'code': 'TBD'\n                                }\n                            ]\n                        }\n                    ],\n                    'managingOrganization': [{\n                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                        }\n                    ]\n                },\n                'practitionerCount': 0\n            }, {\n                'careTeam': {\n                    'resourceType': 'CareTeam',\n                    'id': '78765',\n                    'meta': {\n                        'versionId': '1',\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                    },\n                    'identifier': [{\n                            'id': '7378e850-aff6-430d-9e86-cca801bf2375',\n                            'system': 'urn:ietf:rfc:3986'\n                        }\n                    ],\n                    'status': 'active',\n                    'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',\n                    'reasonCode': [{\n                            'coding': [{\n                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                    'code': 'TBD'\n                                }\n                            ]\n                        }\n                    ],\n                    'managingOrganization': [{\n                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                        }\n                    ]\n                },\n                'practitionerCount': 0\n            }, {\n                'careTeam': {\n                    'resourceType': 'CareTeam',\n                    'id': '46096',\n                    'meta': {\n                        'versionId': '1',\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                    },\n                    'identifier': [{\n                            'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',\n                            'system': 'urn:ietf:rfc:3986'\n                        }\n                    ],\n                    'status': 'active',\n                    'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',\n                    'reasonCode': [{\n                            'coding': [{\n                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                    'code': 'TBD'\n                                }\n                            ]\n                        }\n                    ],\n                    'managingOrganization': [{\n                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                        }\n                    ]\n                },\n                'practitionerCount': 0\n            }, {\n                'careTeam': {\n                    'resourceType': 'CareTeam',\n                    'id': '32543',\n                    'meta': {\n                        'versionId': '1',\n                        'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                    },\n                    'identifier': [{\n                            'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',\n                            'system': 'urn:ietf:rfc:3986'\n                        }\n                    ],\n                    'status': 'active',\n                    'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',\n                    'reasonCode': [{\n                            'coding': [{\n                                    'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                    'code': 'TBD'\n                                }\n                            ]\n                        }\n                    ],\n                    'managingOrganization': [{\n                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                        }\n                    ]\n                },\n                'practitionerCount': 0\n            }\n        ]\n    }\n}\n</code></pre>\n</div><p>URL: [base]/$fetch-practitioner-stats</p><p>Parameters</p><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>anonymization</td><td>1..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#string\">string</a></td><td/><td/></tr><tr><td>IN</td><td>organization</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/references.html#Reference\">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>period</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/datatypes.html#Period\">Period</a></td><td/><td/></tr><tr><td>OUT</td><td>return</td><td>0..1</td><td><a href=\"http://hl7.org/fhir/STU3/binary.html\">Binary</a></td><td/><td/></tr></table></div>"
  },
  "url" : "http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-practitioner-stats",
  "name" : "fetch-practitioner-stats",
  "status" : "active",
  "kind" : "operation",
  "date" : "2020-05-22T12:11:22+00:00",
  "description" : "### Report Contents\nThis report contains counts of practitioners associated with Organizations and CareTeams\n- List of Organization and associated practitonerCount\n- List of CareTeam and associated practitionerCount\n### Grouping \nNone. The report is returned in a single JSon file.\n### Parameters\n- organization: \n    - CareTeam: Filter on CareTeam.ManagingOrganization match\n    - PractitionerRole: Filter on PractitionerRole.Organization match\n- period\n    - CareTeam: Filter on CareTeam.participant.period overlap\n    - PractitionerRole: Filter on PractitionerRole.perid overlap\n### Output\nOutput can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.\n### Example output\nOrganization and CareTeam are Fhir resources. See the implementation guide for details\n\n    {\n        'PractitionerSummary': {\n            'organizationPractitionerStatistics': [{\n                    'organization': {\n                        'resourceType': 'Organization',\n                        'id': '69075',\n                        'meta': {\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization']\n                        },\n                        'extension': [{\n                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source',\n                                'valueCodeableConcept': {\n                                    'coding': [{\n                                            'system': 'http://ehealth.sundhed.dk/cs/organization-source',\n                                            'code': 'manual'\n                                        }\n                                    ]\n                                }\n                            }, {\n                                'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus',\n                                'valueCodeableConcept': {\n                                    'coding': [{\n                                            'system': 'http://ehealth.sundhed.dk/cs/organization-synchronization-status',\n                                            'code': 'NotSynchronized'\n                                        }\n                                    ]\n                                }\n                            }\n                        ],\n                        'name': 'e7c2b264-b2d9-4a6d-aba9-f23be1017d39'\n                    },\n                    'practitionerCount': 1\n                }\n            ],\n            'careTeamPractitionerStatistics': [{\n                    'careTeam': {\n                        'resourceType': 'CareTeam',\n                        'id': '44267',\n                        'meta': {\n                            'versionId': '1',\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                        },\n                        'identifier': [{\n                                'id': '7ced02e2-3082-4e02-86cc-030e8df8906d',\n                                'system': 'urn:ietf:rfc:3986'\n                            }\n                        ],\n                        'status': 'active',\n                        'name': 'd1e7d427-1565-42f6-951d-5508d494d4c8',\n                        'reasonCode': [{\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                        'code': 'TBD'\n                                    }\n                                ]\n                            }\n                        ],\n                        'managingOrganization': [{\n                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                            }\n                        ]\n                    },\n                    'practitionerCount': 0\n                }, {\n                    'careTeam': {\n                        'resourceType': 'CareTeam',\n                        'id': '40831',\n                        'meta': {\n                            'versionId': '1',\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                        },\n                        'identifier': [{\n                                'id': 'f12b2b87-95d9-487c-b088-457acfa1693f',\n                                'system': 'urn:ietf:rfc:3986'\n                            }\n                        ],\n                        'status': 'active',\n                        'name': 'c572c5ac-bac3-4f9e-b948-795db7563145',\n                        'reasonCode': [{\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                        'code': 'TBD'\n                                    }\n                                ]\n                            }\n                        ],\n                        'managingOrganization': [{\n                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                            }\n                        ]\n                    },\n                    'practitionerCount': 0\n                }, {\n                    'careTeam': {\n                        'resourceType': 'CareTeam',\n                        'id': '78765',\n                        'meta': {\n                            'versionId': '1',\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                        },\n                        'identifier': [{\n                                'id': '7378e850-aff6-430d-9e86-cca801bf2375',\n                                'system': 'urn:ietf:rfc:3986'\n                            }\n                        ],\n                        'status': 'active',\n                        'name': '3e038dd3-9e80-41e4-9932-8597f8706da4',\n                        'reasonCode': [{\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                        'code': 'TBD'\n                                    }\n                                ]\n                            }\n                        ],\n                        'managingOrganization': [{\n                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                            }\n                        ]\n                    },\n                    'practitionerCount': 0\n                }, {\n                    'careTeam': {\n                        'resourceType': 'CareTeam',\n                        'id': '46096',\n                        'meta': {\n                            'versionId': '1',\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                        },\n                        'identifier': [{\n                                'id': '37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8',\n                                'system': 'urn:ietf:rfc:3986'\n                            }\n                        ],\n                        'status': 'active',\n                        'name': '311ebab3-d310-44bb-b72b-65bdf74b3729',\n                        'reasonCode': [{\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                        'code': 'TBD'\n                                    }\n                                ]\n                            }\n                        ],\n                        'managingOrganization': [{\n                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                            }\n                        ]\n                    },\n                    'practitionerCount': 0\n                }, {\n                    'careTeam': {\n                        'resourceType': 'CareTeam',\n                        'id': '32543',\n                        'meta': {\n                            'versionId': '1',\n                            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']\n                        },\n                        'identifier': [{\n                                'id': '3671c951-d20e-4d5c-82ec-fae5ee03821e',\n                                'system': 'urn:ietf:rfc:3986'\n                            }\n                        ],\n                        'status': 'active',\n                        'name': '1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1',\n                        'reasonCode': [{\n                                'coding': [{\n                                        'system': 'http://ehealth.sundhed.dk/cs/conditions',\n                                        'code': 'TBD'\n                                    }\n                                ]\n                            }\n                        ],\n                        'managingOrganization': [{\n                                'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075'\n                            }\n                        ]\n                    },\n                    'practitionerCount': 0\n                }\n            ]\n        }\n    }\n",
  "idempotent" : false,
  "code" : "fetch-practitioner-stats",
  "system" : true,
  "type" : false,
  "instance" : false,
  "parameter" : [
    {
      "name" : "anonymization",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "type" : "string"
    },
    {
      "name" : "organization",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Reference"
    },
    {
      "name" : "period",
      "use" : "in",
      "min" : 0,
      "max" : "1",
      "type" : "Period"
    },
    {
      "name" : "return",
      "use" : "out",
      "min" : 0,
      "max" : "1",
      "type" : "Binary"
    }
  ]
}