eHealth Infrastructure
2022.2 - release

eHealth Infrastructure - Local Development build (v2022.2). See the Directory of published versions

: Fetch patient GDPR - XML Representation

Active as of 2022-06-20

Raw xml | Download



<OperationDefinition xmlns="http://hl7.org/fhir">
  <id value="-s-fetch-patient-gdpr"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><h2>fetch-patient-gdpr</h2><p>OPERATION: fetch-patient-gdpr</p><p>The official URL for this operation definition is: </p><pre>https://reporting.devtest.systematic-ehealth.com/fhir/OperationDefinition/-s-fetch-patient-gdpr</pre><div><h3>Report Contents</h3>
<p>This report contains all information related to the specified Patient</p>
<h3>Grouping</h3>
<p>None. This report returns a single JSon file.</p>
<h3>Parameters</h3>
<ul>
<li>organization: Filter on EpisodeOfCare.managingOrganization match</li>
<li>period: not used.</li>
<li>patient: The patient 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>{
    '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'
                    }
                }
            ]
        }
    ]
}
</code></pre>
</div><p>URL: [base]/$fetch-patient-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/R4/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/R4/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/R4/datatypes.html#Period">Period</a></td><td/><td/></tr><tr><td>IN</td><td>patient</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>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-fetch-patient-gdpr"/>
  <version value="2022.2"/>
  <name value="fetch-patient-gdpr"/>
  <title value="Fetch patient GDPR"/>
  <status value="active"/>
  <kind value="operation"/>
  <date value="2022-06-20T13:22:29+00:00"/>
  <publisher value="Systematic | Trifork"/>
  <contact>
    <name value="Systematic | Trifork"/>
    <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

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