eHealth Infrastructure (v2020.4)


<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="-s-fetch-practitioner-gdpr"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>fetch-practitioner-gdpr</h2><p>OPERATION: fetch-practitioner-gdpr</p><p>The official URL for this operation definition is: </p><pre>http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-practitioner-gdpr</pre><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Practitioner</p>
<ul>
<li>Practitioner</li>
<li>CareTeam</li>
<li>PractitionerRole</li>
</ul>
<h3>Grouping</h3>
<p>None. The report is returned in a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization:
<ul>
<li>Practitioner: Not filtered</li>
<li>CareTeam: Filter on CareTeam.ManagingOrganization match</li>
<li>PractitionerRole: Filter on PractitionerRole.Organization match</li>
</ul>
</li>
<li>period: not used</li>
<li>practitionerID: The practitioner to fetch information for</li>
</ul>
<h3>Output</h3>
<p>Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.</p>
<h3>Example output</h3>
<p>All returned objects are Fhir resources. See the implementation guide for details</p>
<pre><code>{
    'EHealthPractitioner': {
        'resourceType': 'Practitioner',
        'id': '20599',
        'meta': {
            'versionId': '1',
            'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner']
        },
        'name': [{
                'family': '2f82a48c-61cc-4c7f-855a-3e6b59729ef1'
            }
        ]
    },
    'EHealthPractitionerRole': [],
    'EHealthCareTeam': [{
            'resourceType': 'CareTeam',
            'id': '99438',
            'meta': {
                'versionId': '1',
                'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam']
            },
            'identifier': [{
                    'id': 'f556eab1-dbe9-40e3-9edd-149fa3bd1ae0',
                    'system': 'urn:ietf:rfc:3986'
                }
            ],
            'status': 'active',
            'name': 'f9d27974-6a6a-44fb-b6eb-bcd22d769a18',
            'participant': [{
                    'member': {
                        'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599'
                    }
                }
            ],
            'reasonCode': [{
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                }
            ],
            'managingOrganization': [{
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174'
                }
            ]
        }
    ]
}
</code></pre>
</div><p>URL: [base]/$fetch-practitioner-gdpr</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>IN</td><td>practitioner</td><td>1..1</td><td><a href="http://hl7.org/fhir/STU3/references.html#Reference">Reference</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>
  </text>
  <url
       value="http://ehealth.sundhed.dk/fhir/OperationDefinition/-s-fetch-practitioner-gdpr"/>
  <name value="fetch-practitioner-gdpr"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2020-05-22T12:11:22+00:00"/>
  <description
               value="### Report Contents
This report contains all information related to the specified Practitioner
- Practitioner
- CareTeam
- PractitionerRole
### Grouping 
None. The report is returned in a single JSon file.
### Parameters
- organization: 
    - Practitioner: Not filtered
    - CareTeam: Filter on CareTeam.ManagingOrganization match
    - PractitionerRole: Filter on PractitionerRole.Organization match
- period: not used
- practitionerID: The practitioner to fetch information for
### Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
### Example output
All returned objects are Fhir resources. See the implementation guide for details

    {
        &#39;EHealthPractitioner&#39;: {
            &#39;resourceType&#39;: &#39;Practitioner&#39;,
            &#39;id&#39;: &#39;20599&#39;,
            &#39;meta&#39;: {
                &#39;versionId&#39;: &#39;1&#39;,
                &#39;profile&#39;: [&#39;http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner&#39;]
            },
            &#39;name&#39;: [{
                    &#39;family&#39;: &#39;2f82a48c-61cc-4c7f-855a-3e6b59729ef1&#39;
                }
            ]
        },
        &#39;EHealthPractitionerRole&#39;: [],
        &#39;EHealthCareTeam&#39;: [{
                &#39;resourceType&#39;: &#39;CareTeam&#39;,
                &#39;id&#39;: &#39;99438&#39;,
                &#39;meta&#39;: {
                    &#39;versionId&#39;: &#39;1&#39;,
                    &#39;profile&#39;: [&#39;http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam&#39;]
                },
                &#39;identifier&#39;: [{
                        &#39;id&#39;: &#39;f556eab1-dbe9-40e3-9edd-149fa3bd1ae0&#39;,
                        &#39;system&#39;: &#39;urn:ietf:rfc:3986&#39;
                    }
                ],
                &#39;status&#39;: &#39;active&#39;,
                &#39;name&#39;: &#39;f9d27974-6a6a-44fb-b6eb-bcd22d769a18&#39;,
                &#39;participant&#39;: [{
                        &#39;member&#39;: {
                            &#39;reference&#39;: &#39;https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599&#39;
                        }
                    }
                ],
                &#39;reasonCode&#39;: [{
                        &#39;coding&#39;: [{
                                &#39;system&#39;: &#39;http://ehealth.sundhed.dk/cs/conditions&#39;,
                                &#39;code&#39;: &#39;TBD&#39;
                            }
                        ]
                    }
                ],
                &#39;managingOrganization&#39;: [{
                        &#39;reference&#39;: &#39;https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174&#39;
                    }
                ]
            }
        ]
    }
"/>
  <idempotent value="false"/>
  <code value="fetch-practitioner-gdpr"/>
  <system value="true"/>
  <type value="false"/>
  <instance value="false"/>
  <parameter>
    <name value="anonymization"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <type value="string"/>
  </parameter>
  <parameter>
    <name value="organization"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <type value="Reference"/>
  </parameter>
  <parameter>
    <name value="period"/>
    <use value="in"/>
    <min value="0"/>
    <max value="1"/>
    <type value="Period"/>
  </parameter>
  <parameter>
    <name value="practitioner"/>
    <use value="in"/>
    <min value="1"/>
    <max value="1"/>
    <type value="Reference"/>
  </parameter>
  <parameter>
    <name value="return"/>
    <use value="out"/>
    <min value="0"/>
    <max value="1"/>
    <type value="Binary"/>
  </parameter>
</OperationDefinition>