eHealth Infrastructure
3.1.0 - release

This page is part of the FUT Infrastructure (v3.1.0: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Execute patient GDPR - XML Representation

Active as of 2024-07-01

Raw xml | Download



<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="-s-execute-patient-gdpr"/>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: OperationDefinition -s-execute-patient-gdpr</b></p><a name="-s-execute-patient-gdpr"> </a><a name="hc-s-execute-patient-gdpr"> </a><a name="hc-s-execute-patient-gdpr-en-US"> </a><p>URL: [base]/$execute-patient-gdpr</p><p>Parameters</p><table class="grid"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</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/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td/><td/></tr><tr><td>IN</td><td>organization</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>IN</td><td>period</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/datatypes.html#Period">Period</a></td><td/><td/></tr><tr><td>IN</td><td>patient</td><td/><td>1..1</td><td><a href="http://hl7.org/fhir/R4/references.html#Reference">Reference</a></td><td/><td/></tr><tr><td>OUT</td><td>return</td><td/><td>0..1</td><td><a href="http://hl7.org/fhir/R4/binary.html">Binary</a></td><td/><td/></tr></table></div>
  </text>
  <url
       value="https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-execute-patient-gdpr"/>
  <version value="3.1.0"/>
  <name value="execute-patient-gdpr"/>
  <title value="Execute patient GDPR"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2024-07-01T11:04:33+00:00"/>
  <publisher
             value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
  <contact>
    <name value="Den telemedicinske infrastruktur (eHealth Infrastructure)"/>
    <telecom>
      <system value="url"/>
      <value value="http://ehealth.sundhed.dk"/>
    </telecom>
  </contact>
  <description
               value="### Report Contents
This report contains all information related to the specified Patient
### Grouping 
None. This report returns a single JSon file.
### Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: not used.
- patient: The patient 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

    {
        'Patient': {
            'resourceType': 'Patient',
            'id': '70791',
            'meta': {
                'versionId': '1'
            }
        },
        'Communication': [{
                'resourceType': 'Communication',
                'id': '29256',
                'meta': {
                    'versionId': '1'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'RelatedPerson': [{
                'resourceType': 'RelatedPerson',
                'id': '44196',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-relatedperson']
                },
                'identifier': [{
                        'use': 'official',
                        'system': 'urn:oid:1.2.208.176.1.2',
                        'value': '2412001234'
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'name': [{
                        'text': 'Tester'
                    }
                ]
            }
        ],
        'Appointment': [{
                'resourceType': 'Appointment',
                'id': '74036',
                'meta': {
                    'versionId': '1'
                },
                'participant': [{
                        'id': '5fda865d-5e46-4fc4-8dcc-9b5f9a6b501a',
                        'actor': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                        }
                    }
                ]
            }
        ],
        'AppointmentResponse': [{
                'resourceType': 'AppointmentResponse',
                'id': '63226',
                'meta': {
                    'versionId': '1'
                },
                'actor': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                }
            }
        ],
        'EHealthEpisodeOfCare': [{
                'resourceType': 'EpisodeOfCare',
                'id': '10928',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/43014'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/33654'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }, {
                'resourceType': 'EpisodeOfCare',
                'id': '48392',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-episodeofcare-caremanagerOrganization',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/41282'
                        }
                    }
                ],
                'status': 'active',
                'diagnosis': [{
                        'condition': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/87020'
                        },
                        'rank': 1
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47956'
                },
                'managingOrganization': {
                    'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/34361'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                }
            }
        ],
        'EHealthDeviceUseStatement': [{
                'resourceType': 'DeviceUseStatement',
                'id': '4021',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/87235'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/69099'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                }
            }, {
                'resourceType': 'DeviceUseStatement',
                'id': '5732',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-deviceusestatement-context',
                        'valueReference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/CarePlan/23385'
                        }
                    }
                ],
                'status': 'active',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/10543'
                },
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/91432'
                }
            }
        ],
        'EHealthDevice': [{
                'resourceType': 'Device',
                'id': '81729',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }, {
                'resourceType': 'Device',
                'id': '91432',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-device-privatelyOwned',
                        'valueBoolean': true
                    }
                ],
                'status': 'active'
            }
        ],
        'EHealthDeviceMetric': [{
                'resourceType': 'DeviceMetric',
                'id': '35094',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }, {
                'resourceType': 'DeviceMetric',
                'id': '22449',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-qualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 5
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 10
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 12
                            }
                        ]
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-devicemetric-templateQualities',
                        'extension': [{
                                'url': 'category',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/devicemetric-quality-types',
                                            'code': 'initial'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'value',
                                'valueInteger': 14
                            }
                        ]
                    }
                ],
                'identifier': {
                    'value': 'Foo'
                },
                'type': {
                    'text': 'code'
                },
                'source': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/81729'
                },
                'category': 'calculation'
            }
        ],
        'EHealthConsent': [{
                'resourceType': 'Consent',
                'id': '51690',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-consent']
                },
                'status': 'active',
                'category': [{
                        'coding': [{
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'patient': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/70791'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'consentingParty': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/41034'
                    }
                ],
                'actor': [{
                        'id': 'f31bec27-965f-49ea-b8fe-5fdb259c539d',
                        'role': {
                            'coding': [{
                                    'code': 'authserver'
                                }
                            ]
                        },
                        'reference': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/60499'
                        }
                    }
                ],
                'policyRule': 'Rule',
                'data': [{
                        'meaning': 'related',
                        'reference': {
                            'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/51427'
                        }
                    }
                ]
            }
        ],
        'EHealthCarePlan': [{
                'resourceType': 'CarePlan',
                'id': '87235',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/98996'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/55953'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/25664'
                    }
                ]
            }, {
                'resourceType': 'CarePlan',
                'id': '23385',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan']
                },
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/83648'
                    }
                ],
                'status': 'draft',
                'intent': 'option',
                'category': [{
                        'coding': [{
                                'system': 'http://ehealth.sundhed.dk/cs/careplan-category',
                                'code': 'TBD'
                            }
                        ]
                    }
                ],
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/51258'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                },
                'period': {
                    'start': '1970-01-01T01:00:01+01:00',
                    'end': '1970-01-01T01:01:40+01:00'
                },
                'addresses': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/Condition/4845'
                    }
                ]
            }
        ],
        'EHealthServiceRequest': [{
                'resourceType': 'ServiceRequest',
                'id': '18904',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-servicerequest']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-sharingPolicy',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/measurement-sharing-policies',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }
                ],
                'definition': [{
                        'reference': 'https://plan.local.ehealth.sundhed.dk/fhir/ActivityDefinition/64273'
                    }
                ],
                'status': 'completed',
                'intent': 'filler-order',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/activitydefinition-code',
                            'code': 'TBD'
                        }
                    ],
                    'text': '7654414a-7f86-4170-9920-fde60368b58b'
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/59415'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthCondition': [{
                'resourceType': 'Condition',
                'id': '22743',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-condition']
                },
                'clinicalStatus': 'active',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/conditions',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/84730'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthObservation': [{
                'resourceType': 'Observation',
                'id': '55832',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-observation']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/69506'
                    }
                ],
                'status': 'amended',
                'code': {
                    'coding': [{
                            'system': 'urn:oid:1.2.208.176.2.1',
                            'code': 'NPU03011'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/96798'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'effectivePeriod': {
                    'start': '2020-03-26T13:37:40+01:00',
                    'end': '2020-03-26T13:37:40+01:00'
                },
                'performer': [{
                        'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/43621'
                    }
                ],
                'device': {
                    'reference': 'https://device.local.ehealth.sundhed.dk/fhir/Device/30416'
                }
            }
        ],
        'EHealthQuestionnaireResponse': [{
                'resourceType': 'QuestionnaireResponse',
                'id': '21957',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaireresponse']
                },
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/12403'
                    }
                ],
                'questionnaire': {
                    'reference': 'https://questionnaire.local.ehealth.sundhed.dk/fhir/Questionnaire/42078'
                },
                'status': 'completed',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/47155'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'authored': '2020-03-26T13:37:40+01:00',
                'source': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/61666'
                }
            }
        ],
        'EHealthMedia': [{
                'resourceType': 'Media',
                'id': '18256',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-media']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-quality',
                        'extension': [{
                                'url': 'qualityType',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/quality-types',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }, {
                                'url': 'qualityCode',
                                'valueCodeableConcept': {
                                    'coding': [{
                                            'system': 'http://ehealth.sundhed.dk/cs/usage-quality',
                                            'code': 'TBD'
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                ],
                'basedOn': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/98474'
                    }
                ],
                'type': 'audio',
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/20886'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                },
                'occurrenceDateTime': '2020-03-26T13:37:40+01:00',
                'content': {
                    'language': 'en'
                }
            }
        ],
        'EHealthClinicalImpression': [{
                'resourceType': 'ClinicalImpression',
                'id': '39697',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-clinicalimpression']
                },
                'status': 'draft',
                'code': {
                    'coding': [{
                            'system': 'http://ehealth.sundhed.dk/cs/clinicalimpression-codes',
                            'code': 'TBD'
                        }
                    ]
                },
                'subject': {
                    'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/32140'
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthTask': [{
                'resourceType': 'Task',
                'id': '96988',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task']
                },
                'extension': [{
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-category',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/task-category',
                                    'code': 'TBD'
                                }
                            ]
                        }
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-restriction-category',
                        'valueCodeableConcept': {
                            'coding': [{
                                    'system': 'http://ehealth.sundhed.dk/cs/restriction-category',
                                    'code': 'None'
                                }
                            ]
                        }
                    }, {
                        'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-task-responsible',
                        'valueReference': {
                            'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/74334'
                        }
                    }
                ],
                'status': 'draft',
                'intent': 'proposal',
                'priority': 'routine',
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthCommunication': [{
                'resourceType': 'Communication',
                'id': '29256',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-communication']
                },
                'context': {
                    'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                }
            }
        ],
        'EHealthProvenance': [{
                'resourceType': 'Provenance',
                'id': '68399',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
                },
                'target': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/10928'
                    }
                ],
                'recorded': '2020-03-26T13:37:39.772+01:00',
                'policy': ['policy'],
                'agent': [{
                        'whoReference': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/6901'
                        }
                    }
                ]
            }, {
                'resourceType': 'Provenance',
                'id': '96195',
                'meta': {
                    'versionId': '1',
                    'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-provenance']
                },
                'target': [{
                        'reference': 'https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/48392'
                    }
                ],
                'recorded': '2020-03-26T13:37:39.801+01:00',
                'policy': ['policy'],
                'agent': [{
                        'whoReference': {
                            'reference': 'https://patient.local.ehealth.sundhed.dk/fhir/Patient/45854'
                        }
                    }
                ]
            }
        ]
    }
"/>
  <affectsState value="true"/>
  <code value="execute-patient-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="patient"/>
    <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>