Create a careplan
|
This operation creates a careplan for a specific episodeOfCare using this PlanDefinition as a template.
|
Create an EpisodeOfCare
|
This operation persists an EpisodeOfCare based on the transient value of an EpisodeOfCare provided in the input.
The input is a Bundle which must contain exactly one EpisodeOfCare, conditions referenced in diagnosis list and at least one Provenance resource. All Provenances in the input must have the EpisodeOfCare as target. At least one Provenance must be interpreted into a ‘Privacy-provenance’ (see below).
The EpisodeOfCare resource
The EpisodeOfCare has to have PLANNED status
The ‘id’ property of the EpisodeOfCare will be reassigned by the server, but can be referenced by other resources in the same bundle.
The ‘managingOrganization’ property of the EpisodeOfCare references the GDPR Data Controller (Danish: ‘Dataansvarlig’).
The privacy-Provenance resource
A privacy-Provenance is a Provenance resource characterized by having at least one entry in Provenance.policy which data are transported, stored, or processed in the system. Possible values are:
- ‘http://ehealth.sundhed.dk/policy/dk/sundhedsloven’
- ‘http://ehealth.sundhed.dk/policy/dk/serviceloven’
Diagnosis referenced Condition resource
For any diagnosis listed, the referenced Condition must be concerning the same Patient as the EpisodeOfCare.
Output
For valid inputs, the server will create, persist and return a new EpisodeOfCare, client-supplied provenances, conditions and origin-provenance carrying a server-assigned ids.
To get resources bodies in the output the request header has to contain parameter Prefer: return=representation .
The origin-Provenance resource
Whenever an EpisodeOfCare is created, the server automatically creates an ‘origin’ Provenance resource point to it (in addition to the client-supplied Privacy-Provenance). This Origin-Provenance resource is filled with data from the JWT access token in order to record the origin of the EpisodeOfCare resource. For instance agent.whoReference points to a resource which is created as a shadow identity from the JWT token.
|
Fetch careplan and episode of care stats
|
Report Contents
This report contains a count of active EpisodeOfCare and CarePlans.
Grouping
This report is grouped by ConditionCode. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
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
The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details
{
'ConditionCode': {
'valueCodeableConcept': {
'coding': [{
'system': 'urn:oid:1.2.208.176.2.4',
'code': 'DJ44'
}
]
}
},
'ConditionSummary': {
'activeEpisodeOfCareCount': 1,
'activeCarePlanCount': 1
}
}
|
Fetch careplan customization stats
|
Report Contents
This report contains a count of patient specific modifications of:
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
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details
{
'EHealthPlanDefinition': {
'resourceType': 'PlanDefinition',
'id': '53450',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension': [{
'url': 'reference',
'valueReference': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
}
}, {
'url': 'role',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
'code': 'owner'
}
]
}
}
]
}
],
'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
'status': 'active'
},
'CarePlanCustomizationSummary': {
'timingCustomizationCount': 1,
'referenceRangeCustomizationCount': 1
}
}
|
Fetch careplan duration stats
|
Report Contents
This report contains statistics on status changes for CarePlans:
- count: Number of CarePlans in each state
- min: Shortest time spent in each state
- max: Longest time spent in each state
- sum: Sum of time spent in each state
- average: Average time spent in each state.
The durations are specified in ISO 8601 format.
Grouping
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
- condition: Filter on EpisodeOfCare condition match
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
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details
{
'EHealthPlanDefinition': {
'resourceType': 'PlanDefinition',
'id': '257',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension': [{
'url': 'reference',
'valueReference': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
}
}, {
'url': 'role',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
'code': 'owner'
}
]
}
}
]
}
],
'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
'status': 'active'
},
'CarePlanStatusDurationSummary': {
'statusDurationStatistics': {
'draft': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'draft'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P10DT10H0M0S',
'max': 'P15DT0H0M0S',
'sum': 'P25DT10H0M0S',
'average': 'P12DT17H0M0S'
}
},
'active': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'active'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P200DT0H0M0S',
'max': 'P200DT0H0M0S',
'sum': 'P400DT0H0M0S',
'average': 'P200DT0H0M0S'
}
},
'completed': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'completed'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P284DT14H0M0S',
'max': 'P380DT0H0M0S',
'sum': 'P664DT14H0M0S',
'average': 'P332DT7H0M0S'
}
},
'suspended': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'suspended'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P5DT0H0M0S',
'max': 'P5DT0H0M0S',
'sum': 'P10DT0H0M0S',
'average': 'P5DT0H0M0S'
}
}
}
}
}
|
Fetch careplans by patient
|
Report Contents
This report contains the following resources:
- EpisodeOfCare
- PlanDefinition
- CarePlan
- ServiceRequest
Grouping
This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
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
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘30254’,
‘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/88873’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EHealthCarePlan’: [{
‘resourceType’: ‘CarePlan’,
‘id’: ‘1597’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan’]
},
‘definition’: [{
‘reference’: ‘https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578’
}
],
‘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/57779’
},
‘context’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254’
},
‘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/74721’
}
],
‘activity’: [{
‘reference’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916’
}
}
]
}
],
‘EHealthPlanDefinition’: [{
‘resourceType’: ‘PlanDefinition’,
‘id’: ‘59578’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition’]
},
‘extension’: [{
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role’,
‘extension’: [{
‘url’: ‘reference’,
‘valueReference’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757’
}
}, {
‘url’: ‘role’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/modifier-role’,
‘code’: ‘owner’
}
]
}
}
]
}
],
‘version’: ‘c701b8e8-abe6-41bd-9db5-c05b94bc1e2b’,
‘status’: ‘active’
}
],
‘EHealthServiceRequest’: [{
‘resourceType’: ‘ServiceRequest’,
‘id’: ‘76916’,
‘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/13593’
}
],
‘status’: ‘completed’,
‘intent’: ‘filler-order’,
‘code’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/activitydefinition-code’,
‘code’: ‘TBD’
}
],
‘text’: ‘31d136f2-0b98-4e0a-8f82-f0731b54893d’
},
‘subject’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397’
},
‘context’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791’
}
}
]
}
|
Fetch careteam stats
|
Report Contents
This report contains counts of resources associated with CareTeams:
- EpisodeOfCare
- CarePlan
- Task: Count for each task category
Grouping
This report is grouped by CareTeam. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on CareTeam.managingOrganization match
- period: Filter on:
- CarePlan.period overlap for CarePlans
- EpisodeOfCare.period overlap for EpisodeOfCare
- Task.authoredOn inside period for Tasks
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
EHealthCareTeam is a Fhir resource. See the implementation guide for details
{
‘EHealthCareTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘12958’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘59f70e4e-1c31-4647-8c91-404939b6b14e’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘0cea5c11-af39-4e5c-8733-9f532ea9961a’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642’
}
]
},
‘CareTeamSummary’: {
‘episodeOfCareCount’: 2,
‘carePlanCount’: 6,
‘taskCountByCategory’: {
‘MissingMeasurementResolving’: 2
}
}
}
|
Fetch measurement stats
|
Report Contents
This report contains counts of Measurements for each EpisodeOfCare:
- Observation
- QuestionnaireResponse
- Media
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on:
- Observation.effective inside period for Observations
- Questionnaire.authored inside period for QuestionnaireResponses
- Media.occurence inside period for Media
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
EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘21357’,
‘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/30170’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EpisodeOfCareMeasurementSummary’: {
‘observationCount’: 5,
‘mediaCount’: 0,
‘questionnaireResponseCount’: 0
}
}
|
Fetch patient devices
|
Report Contents
This report contains Device information for each EpisodeOfCare:
- Device
- DeviceUseStatement
- DeviceMetrics
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on DeviceUseStatement.whenUsed overlap
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
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘F417C17F9FDE24C9090BD629C8EE1697’,
‘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/313D8B0E0AC8EA8169D1DA45ECEEACB9’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EHealthDeviceUseStatement’: [{
‘resourceType’: ‘DeviceUseStatement’,
‘id’: ‘9541E8EAEAD24376F208D5CD8A4D25F5’,
‘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/23D34B29DD02EB232B6575537FE8ADC5’
}
}
],
‘status’: ‘active’,
‘subject’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586’
},
‘device’: {
‘reference’: ‘https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A’
}
}
],
‘EHealthDevice’: [{
‘resourceType’: ‘Device’,
‘id’: ‘08D51B81A7FE5B480278150A94D4048A’,
‘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’: ‘7EA21ACD27EE012439F1440574A6BB21’,
‘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/08D51B81A7FE5B480278150A94D4048A’
},
‘category’: ‘calculation’
}
]
}
|
Fetch patient GDPR
|
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’
}
}
]
}
]
}
|
Fetch patient total
|
Report Contents
This report contains clinical information for each Patient
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on EpisodeOfCare.period overlap
- conditionCode: Filter on Condition.code related to EpisodeOfCare
- status: Filter on EpisodeOfCare.status
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’
}
},
‘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’
}
}
]
}
|
Fetch practitioner GDPR
|
Report Contents
This report contains all information related to the specified Practitioner
- Practitioner
- CareTeam
- PractitionerRole
Grouping
None. The report is returned in a single JSon file.
Parameters
- organization:
- Practitioner: Not filtered
- CareTeam: Filter on CareTeam.ManagingOrganization match
- PractitionerRole: Filter on PractitionerRole.Organization match
- period: not used
- practitionerID: The practitioner to fetch information for
Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
Example output
All returned objects are Fhir resources. See the implementation guide for details
{
‘EHealthPractitioner’: {
‘resourceType’: ‘Practitioner’,
‘id’: ‘20599’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner’]
},
‘name’: [{
‘family’: ‘2f82a48c-61cc-4c7f-855a-3e6b59729ef1’
}
]
},
‘EHealthPractitionerRole’: [],
‘EHealthCareTeam’: [{
‘resourceType’: ‘CareTeam’,
‘id’: ‘99438’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘f556eab1-dbe9-40e3-9edd-149fa3bd1ae0’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘f9d27974-6a6a-44fb-b6eb-bcd22d769a18’,
‘participant’: [{
‘member’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599’
}
}
],
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174’
}
]
}
]
}
|
Fetch practitioner stats
|
Report Contents
This report contains counts of practitioners associated with Organizations and CareTeams
- List of Organization and associated practitonerCount
- List of CareTeam and associated practitionerCount
Grouping
None. The report is returned in a single JSon file.
Parameters
- organization:
- CareTeam: Filter on CareTeam.ManagingOrganization match
- PractitionerRole: Filter on PractitionerRole.Organization match
- period
- CareTeam: Filter on CareTeam.participant.period overlap
- PractitionerRole: Filter on PractitionerRole.perid overlap
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
Organization and CareTeam are Fhir resources. See the implementation guide for details
{
‘PractitionerSummary’: {
‘organizationPractitionerStatistics’: [{
‘organization’: {
‘resourceType’: ‘Organization’,
‘id’: ‘69075’,
‘meta’: {
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization’]
},
‘extension’: [{
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/organization-source’,
‘code’: ‘manual’
}
]
}
}, {
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/organization-synchronization-status’,
‘code’: ‘NotSynchronized’
}
]
}
}
],
‘name’: ‘e7c2b264-b2d9-4a6d-aba9-f23be1017d39’
},
‘practitionerCount’: 1
}
],
‘careTeamPractitionerStatistics’: [{
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘44267’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘7ced02e2-3082-4e02-86cc-030e8df8906d’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘d1e7d427-1565-42f6-951d-5508d494d4c8’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘40831’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘f12b2b87-95d9-487c-b088-457acfa1693f’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘c572c5ac-bac3-4f9e-b948-795db7563145’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘78765’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘7378e850-aff6-430d-9e86-cca801bf2375’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘3e038dd3-9e80-41e4-9932-8597f8706da4’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘46096’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘311ebab3-d310-44bb-b72b-65bdf74b3729’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘32543’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘3671c951-d20e-4d5c-82ec-fae5ee03821e’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}
]
}
}
|
Fetch ssl orders
|
Report Contents
This report contains SSL Orders
- OrderDetails
- OrderLines
- TraceLines
Grouping
Order. Each Order is returned in a single JSon file.
Parameters
- organization: Filter on Order.buyer
- period: Filter on TraceLine.timestamp
- seller: Filter on Order.seller
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 SSL resources. See the SSL API description for details
{
‘OrderDetails’: {
‘order’: {
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘threadId’: null,
‘identifiers’: null,
‘status’: null,
‘priority’: null,
‘notes’: null,
‘buyer’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER’,
‘seller’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER’,
‘sellerDeliveryContactEmail’: null,
‘carePlanRef’: null,
‘carePlanTitle’: null,
‘earliestDeliveryDate’: null,
‘latestDeliveryDate’: null,
‘receiver’: null
},
‘orderLines’: [{
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE’,
‘order’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘status’: null,
‘item’: null,
‘agreedDate’: null,
‘device’: null
}
],
‘traceLines’: [{
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1’,
‘timestamp’: ‘2019-12-24T18:00:00Z’,
‘createdByOrganization’: null,
‘createdByUser’: null,
‘text’: null,
‘supplementaryText’: null,
‘order’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘orderLine’: null,
‘statusChange’: null
}
]
}
}
|
Get patient procedures
|
This operation returns an overview of patient activities within a time period and filtered by either EpisodeOfCare or Condition code(s). On success, the returned Bundle contains a Parameters structure detailing the count of measurements received and expected. This is done per ServiceRequest with status active for those part of a CarePlan with status active related to eligible EpisodeOfCare resources. Eligible EpisodeOfCare are those with status active that refer to the given Patient and are either given as EpisodeOfCare reference in input or are referencing a Condition with a condition code that matches at least one of the Condition codes possibly given as input. The measurement regime expressed in ServiceRequest.occurrence[x] is, when possible, resolved to time slot(s) corresponding to datetime/period where an action is supposed to take place, typically performed by the Patient. When the occurrenceTiming variant is used, resolved time slots overlapping with the input time periode are considered. For occurrenceTiming expression which are either adhoc or unresolved, the effective datetime/period of a measurement is considered when checked for overlap with input time period.
The operation has three mandatory inputs, a Patient reference, a start date and an end date. Additionally the operation has two optional inputs: a list of reference(s) to EpisodeOfCare and a list of Codings for Condition.
Patient reference
Mandatory reference for the Patient which the procedure overview is computed for.
Start and end datetimes
Start and end datetime are both mandatory, and together specify the period of interest in the patient procedure overview. As stated above, for resolvable past and future time slots as well as adhoc and unresolved timings there must overlap with this period.
EpisodeOfCare list
The list of EpisodeOfCare references is optional, but either of EpisodeOfCare or Condition codes must be provided. If EpisodeOfCare are provided, these will be used to further filter which active EpisodeOfCare, CarePlan and ServiceRequest are considered for the patient procedure overview.
Condition Coding list
The list of Coding for Condition is optional, but either of EpisodeOfCare or Condition codes must be provided. If Condition Coding are provided, the EpisodeOfCare considered are those referring to a Condition matching at least one of the codes in the list. As above, the EpisodeOfCare (one or more) considered further determines which active EpisodeOfCare, CarePlan and ServiceRequest are considered.
Output
For valid inputs, the server will compute and return a Bundle. The Bundle contains a Parameters resource with resolved measurement regimes and associated counts of measurement submitted and counts expected. Such counts are also included in the Parameters structure when the measurement regime is either adhoc or unresolved. In addition, the Bundle contains CarePlan and ServiceRequest referenced in the Parameters. The Bundle can contain an OperationOutcome describing any encountered warnings.
Output Parameters
The output contains rows (encoded in parameters) for each matching and active ServiceRequest with resolved timings overlapping with the requested period.
Rows are represented as Parameters.parameter with names: item_1, item_2, etc. Columns are represented as Parameters.parameter.part with name and value

Example:
'resource': {
'resourceType': 'Parameters',
'parameter': [{
'name': 'item_1',
'part': [{
'name': 'CarePlan',
'valueReference': {
'reference': 'https://careplan.devtest.systematic-ehealth.com/fhir/CarePlan/164581'
}
}]
}]
}
Columns
- CarePlan: Reference to the CarePlan that the ServiceRequest belongs to.
- ServiceRequest: Reference to the ServiceRequest.
- ServiceRequestVersionId: The version of the ServiceRequest (version specified at time of submit-measurement or the current version (for expected activities)).
- Activity: Description of the planned activity.
- ResolvedTimingStart: A planned start time for the activity in the requested period.
- ResolvedTimingEnd: A planned end time for the activity in the requested period. May be identical to start if no duration is specified in the measurement regime.
- TotalSubmitted: The number of measurements already submitted for this ServiceRequest and resolved timing.
- SubmittedTimely: The number of measurements where the measurement time matches the resolved timing.
- TimingType:
- Resolved: a measurement regime that is supported by the infrastructure and where resolved timing and requested number of measurements can be calculated.
- Unresolved: a measurement regime that is not supported by the infrastructure. Resolved Timing Start, end, submitted timely and Occurrences requested will be empty.
- Adhoc: A ServiceRequest without a measurement regime or a measurement regime stating ad-hoc.
- OccurencesRequested: Expected number of measurements.
|
Import organizations
|
Import a bundle containing at least one organization tree.
|
import
|
Import terminology resources
|
Persist login
|
This operation persists login information into CareTeams and PractitionerRoles
The following elements of each careteam are mandatory:
- id: Reference based on the careteam from the saml security token
- status: any
- name: any
- reasonCode: any
- participant: 1 for each careteam-role in the saml security token
– role: from the saml security token
– member: reference to the practitioner
– onBehalfOf: reference to organization (cannot be set currently because of a bug in hapi)
Persist-login will find each careteam, and update it with any new participants and roles from the input bundle.
The input careteam resources are are used as a container for the participant list. The rest of the fields are not used.
The following elements of each PractitionerRole are mandatory:
- practitioner
- organization
- code: roles from the saml security token (CareteamParticipantRole valueset)
Persist-login will search for practitionerRoles for each combination of (practitioner, organization) and create it if it doesn’t already exists.
|
Schedule careplan and episode of care stats
|
Report Contents
This report contains a count of active EpisodeOfCare and CarePlans.
Grouping
This report is grouped by ConditionCode. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
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
The ConditionCode is a Fhir CodeableConcept. See the implementation guide for details
{
'ConditionCode': {
'valueCodeableConcept': {
'coding': [{
'system': 'urn:oid:1.2.208.176.2.4',
'code': 'DJ44'
}
]
}
},
'ConditionSummary': {
'activeEpisodeOfCareCount': 1,
'activeCarePlanCount': 1
}
}
|
Schedule careplan customization stats
|
Report Contents
This report contains a count of patient specific modifications of:
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
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details
{
'EHealthPlanDefinition': {
'resourceType': 'PlanDefinition',
'id': '53450',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension': [{
'url': 'reference',
'valueReference': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/85109'
}
}, {
'url': 'role',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
'code': 'owner'
}
]
}
}
]
}
],
'version': '97219ba1-2202-42a1-b99d-45de3a506b40',
'status': 'active'
},
'CarePlanCustomizationSummary': {
'timingCustomizationCount': 1,
'referenceRangeCustomizationCount': 1
}
}
|
Schedule careplan duration stats
|
Report Contents
This report contains statistics on status changes for CarePlans:
- count: Number of CarePlans in each state
- min: Shortest time spent in each state
- max: Longest time spent in each state
- sum: Sum of time spent in each state
- average: Average time spent in each state.
The durations are specified in ISO 8601 format.
Grouping
This report is grouped by PlanDefinition. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
- condition: Filter on EpisodeOfCare condition match
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
EHealthPlanDefinition is a Fhir resource. See the implementation guide for details
{
'EHealthPlanDefinition': {
'resourceType': 'PlanDefinition',
'id': '257',
'meta': {
'versionId': '1',
'profile': ['http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition']
},
'extension': [{
'url': 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role',
'extension': [{
'url': 'reference',
'valueReference': {
'reference': 'https://organization.local.ehealth.sundhed.dk/fhir/Organization/73753'
}
}, {
'url': 'role',
'valueCodeableConcept': {
'coding': [{
'system': 'http://ehealth.sundhed.dk/cs/modifier-role',
'code': 'owner'
}
]
}
}
]
}
],
'version': 'dc9ecd87-163f-4d2f-bdfe-434085eafe4f',
'status': 'active'
},
'CarePlanStatusDurationSummary': {
'statusDurationStatistics': {
'draft': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'draft'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P10DT10H0M0S',
'max': 'P15DT0H0M0S',
'sum': 'P25DT10H0M0S',
'average': 'P12DT17H0M0S'
}
},
'active': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'active'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P200DT0H0M0S',
'max': 'P200DT0H0M0S',
'sum': 'P400DT0H0M0S',
'average': 'P200DT0H0M0S'
}
},
'completed': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'completed'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P284DT14H0M0S',
'max': 'P380DT0H0M0S',
'sum': 'P664DT14H0M0S',
'average': 'P332DT7H0M0S'
}
},
'suspended': {
'status': {
'valueCodeableConcept': {
'coding': [{
'system': 'http://hl7.org/fhir/care-plan-status',
'code': 'suspended'
}
]
}
},
'durationStatistics': {
'count': 2,
'min': 'P5DT0H0M0S',
'max': 'P5DT0H0M0S',
'sum': 'P10DT0H0M0S',
'average': 'P5DT0H0M0S'
}
}
}
}
}
|
Schedule careplans-by patient
|
Report Contents
This report contains the following resources:
- EpisodeOfCare
- PlanDefinition
- CarePlan
- ServiceRequest
Grouping
This report is grouped by EpisodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on CarePlan.period overlap
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
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘30254’,
‘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/88873’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/66740’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/18637’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/16046’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EHealthCarePlan’: [{
‘resourceType’: ‘CarePlan’,
‘id’: ‘1597’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careplan’]
},
‘definition’: [{
‘reference’: ‘https://plan.local.ehealth.sundhed.dk/fhir/PlanDefinition/59578’
}
],
‘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/57779’
},
‘context’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/30254’
},
‘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/74721’
}
],
‘activity’: [{
‘reference’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/ServiceRequest/76916’
}
}
]
}
],
‘EHealthPlanDefinition’: [{
‘resourceType’: ‘PlanDefinition’,
‘id’: ‘59578’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-plandefinition’]
},
‘extension’: [{
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role’,
‘extension’: [{
‘url’: ‘reference’,
‘valueReference’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/41757’
}
}, {
‘url’: ‘role’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/modifier-role’,
‘code’: ‘owner’
}
]
}
}
]
}
],
‘version’: ‘c701b8e8-abe6-41bd-9db5-c05b94bc1e2b’,
‘status’: ‘active’
}
],
‘EHealthServiceRequest’: [{
‘resourceType’: ‘ServiceRequest’,
‘id’: ‘76916’,
‘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/13593’
}
],
‘status’: ‘completed’,
‘intent’: ‘filler-order’,
‘code’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/activitydefinition-code’,
‘code’: ‘TBD’
}
],
‘text’: ‘31d136f2-0b98-4e0a-8f82-f0731b54893d’
},
‘subject’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/49397’
},
‘context’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/EpisodeOfCare/72791’
}
}
]
}
|
Schedule careteam stats
|
Report Contents
This report contains counts of resources associated with CareTeams:
- EpisodeOfCare
- CarePlan
- Task: Count for each task category
Grouping
This report is grouped by CareTeam. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on CareTeam.managingOrganization match
- period: Filter on:
- CarePlan.period overlap for CarePlans
- EpisodeOfCare.period overlap for EpisodeOfCare
- Task.authoredOn inside period for Tasks
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
EHealthCareTeam is a Fhir resource. See the implementation guide for details
{
‘EHealthCareTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘12958’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘59f70e4e-1c31-4647-8c91-404939b6b14e’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘0cea5c11-af39-4e5c-8733-9f532ea9961a’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/66642’
}
]
},
‘CareTeamSummary’: {
‘episodeOfCareCount’: 2,
‘carePlanCount’: 6,
‘taskCountByCategory’: {
‘MissingMeasurementResolving’: 2
}
}
}
|
Schedule measurement stats
|
Report Contents
This report contains counts of Measurements for each EpisodeOfCare:
- Observation
- QuestionnaireResponse
- Media
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on:
- Observation.effective inside period for Observations
- Questionnaire.authored inside period for QuestionnaireResponses
- Media.occurence inside period for Media
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
EHealthEpisodeOfCare is a Fhir resource. See the implementation guide for details
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘21357’,
‘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/30170’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/70274’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/26565’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/28358’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EpisodeOfCareMeasurementSummary’: {
‘observationCount’: 5,
‘mediaCount’: 0,
‘questionnaireResponseCount’: 0
}
}
|
Schedule patient devices
|
Report Contents
This report contains Device information for each EpisodeOfCare:
- Device
- DeviceUseStatement
- DeviceMetrics
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on DeviceUseStatement.whenUsed overlap
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
{
‘EHealthEpisodeOfCare’: {
‘resourceType’: ‘EpisodeOfCare’,
‘id’: ‘F417C17F9FDE24C9090BD629C8EE1697’,
‘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/313D8B0E0AC8EA8169D1DA45ECEEACB9’
}
}
],
‘status’: ‘active’,
‘diagnosis’: [{
‘condition’: {
‘reference’: ‘https://careplan.local.ehealth.sundhed.dk/fhir/Condition/9A7FCD55CA3031585A8F1690DB1D8034’
},
‘rank’: 1
}
],
‘patient’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/A1D94F323D8EF09E5D913D9522FD83C4’
},
‘managingOrganization’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/8DC75F2B12BCC832F92CC065C3D0B451’
},
‘period’: {
‘start’: ‘1970-01-01T01:00:01+01:00’,
‘end’: ‘1970-01-01T01:01:40+01:00’
}
},
‘EHealthDeviceUseStatement’: [{
‘resourceType’: ‘DeviceUseStatement’,
‘id’: ‘9541E8EAEAD24376F208D5CD8A4D25F5’,
‘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/23D34B29DD02EB232B6575537FE8ADC5’
}
}
],
‘status’: ‘active’,
‘subject’: {
‘reference’: ‘https://patient.local.ehealth.sundhed.dk/fhir/Patient/AC38B1F6391F256002E5A7BE69CB2586’
},
‘device’: {
‘reference’: ‘https://device.local.ehealth.sundhed.dk/fhir/Device/08D51B81A7FE5B480278150A94D4048A’
}
}
],
‘EHealthDevice’: [{
‘resourceType’: ‘Device’,
‘id’: ‘08D51B81A7FE5B480278150A94D4048A’,
‘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’: ‘7EA21ACD27EE012439F1440574A6BB21’,
‘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/08D51B81A7FE5B480278150A94D4048A’
},
‘category’: ‘calculation’
}
]
}
|
Schedule patient GDPR
|
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’
}
}
]
}
]
}
|
Schedule patient total
|
Report Contents
This report contains clinical information for each Patient
Grouping
This report is grouped by EpsiodeOfCare. Each group is returned in a separate JSon file.
Parameters
- organization: Filter on EpisodeOfCare.managingOrganization match
- period: Filter on EpisodeOfCare.period overlap
- conditionCode: Filter on Condition.code related to EpisodeOfCare
- status: Filter on EpisodeOfCare.status
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’
}
},
‘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’
}
}
]
}
|
Schedule practitioner GDPR
|
Report Contents
This report contains all information related to the specified Practitioner
- Practitioner
- CareTeam
- PractitionerRole
Grouping
None. The report is returned in a single JSon file.
Parameters
- organization:
- Practitioner: Not filtered
- CareTeam: Filter on CareTeam.ManagingOrganization match
- PractitionerRole: Filter on PractitionerRole.Organization match
- period: not used
- practitionerID: The practitioner to fetch information for
Output
Output can be found in Binary.content. This is a Base64 encoded .zip file containing JSon files corresponding to the report groups.
Example output
All returned objects are Fhir resources. See the implementation guide for details
{
‘EHealthPractitioner’: {
‘resourceType’: ‘Practitioner’,
‘id’: ‘20599’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-practitioner’]
},
‘name’: [{
‘family’: ‘2f82a48c-61cc-4c7f-855a-3e6b59729ef1’
}
]
},
‘EHealthPractitionerRole’: [],
‘EHealthCareTeam’: [{
‘resourceType’: ‘CareTeam’,
‘id’: ‘99438’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘f556eab1-dbe9-40e3-9edd-149fa3bd1ae0’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘f9d27974-6a6a-44fb-b6eb-bcd22d769a18’,
‘participant’: [{
‘member’: {
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Practitioner/20599’
}
}
],
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/94174’
}
]
}
]
}
|
Schedule practitioner stats
|
Report Contents
This report contains counts of practitioners associated with Organizations and CareTeams
- List of Organization and associated practitonerCount
- List of CareTeam and associated practitionerCount
Grouping
None. The report is returned in a single JSon file.
Parameters
- organization:
- CareTeam: Filter on CareTeam.ManagingOrganization match
- PractitionerRole: Filter on PractitionerRole.Organization match
- period
- CareTeam: Filter on CareTeam.participant.period overlap
- PractitionerRole: Filter on PractitionerRole.perid overlap
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
Organization and CareTeam are Fhir resources. See the implementation guide for details
{
‘PractitionerSummary’: {
‘organizationPractitionerStatistics’: [{
‘organization’: {
‘resourceType’: ‘Organization’,
‘id’: ‘69075’,
‘meta’: {
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization’]
},
‘extension’: [{
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-source’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/organization-source’,
‘code’: ‘manual’
}
]
}
}, {
‘url’: ‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-organization-synchronizationStatus’,
‘valueCodeableConcept’: {
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/organization-synchronization-status’,
‘code’: ‘NotSynchronized’
}
]
}
}
],
‘name’: ‘e7c2b264-b2d9-4a6d-aba9-f23be1017d39’
},
‘practitionerCount’: 1
}
],
‘careTeamPractitionerStatistics’: [{
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘44267’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘7ced02e2-3082-4e02-86cc-030e8df8906d’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘d1e7d427-1565-42f6-951d-5508d494d4c8’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘40831’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘f12b2b87-95d9-487c-b088-457acfa1693f’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘c572c5ac-bac3-4f9e-b948-795db7563145’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘78765’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘7378e850-aff6-430d-9e86-cca801bf2375’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘3e038dd3-9e80-41e4-9932-8597f8706da4’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘46096’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘37a66140-dc7e-4ea4-9ec7-d0dd91adf7c8’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘311ebab3-d310-44bb-b72b-65bdf74b3729’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}, {
‘careTeam’: {
‘resourceType’: ‘CareTeam’,
‘id’: ‘32543’,
‘meta’: {
‘versionId’: ‘1’,
‘profile’: [‘http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-careteam’]
},
‘identifier’: [{
‘id’: ‘3671c951-d20e-4d5c-82ec-fae5ee03821e’,
‘system’: ‘urn:ietf:rfc:3986’
}
],
‘status’: ‘active’,
‘name’: ‘1f74a06c-8ae1-4b5c-b5ee-49abfd2d28e1’,
‘reasonCode’: [{
‘coding’: [{
‘system’: ‘http://ehealth.sundhed.dk/cs/conditions’,
‘code’: ‘TBD’
}
]
}
],
‘managingOrganization’: [{
‘reference’: ‘https://organization.local.ehealth.sundhed.dk/fhir/Organization/69075’
}
]
},
‘practitionerCount’: 0
}
]
}
}
|
Schedule ssl orders
|
Report Contents
This report contains SSL Orders
- OrderDetails
- OrderLines
- TraceLines
Grouping
Order. Each Order is returned in a single JSon file.
Parameters
- organization: Filter on Order.buyer
- period: Filter on TraceLine.timestamp
- seller: Filter on Order.seller
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 SSL resources. See the SSL API description for details
{
‘OrderDetails’: {
‘order’: {
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘threadId’: null,
‘identifiers’: null,
‘status’: null,
‘priority’: null,
‘notes’: null,
‘buyer’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/party/BUYER’,
‘seller’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/party/SELLER’,
‘sellerDeliveryContactEmail’: null,
‘carePlanRef’: null,
‘carePlanTitle’: null,
‘earliestDeliveryDate’: null,
‘latestDeliveryDate’: null,
‘receiver’: null
},
‘orderLines’: [{
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order-line/ORDERLINE’,
‘order’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘status’: null,
‘item’: null,
‘agreedDate’: null,
‘device’: null
}
],
‘traceLines’: [{
‘id’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER/1’,
‘timestamp’: ‘2019-12-24T18:00:00Z’,
‘createdByOrganization’: null,
‘createdByUser’: null,
‘text’: null,
‘supplementaryText’: null,
‘order’: ‘https://ssl-order.local.ehealth.sundhed.dk/v1/order/ORDER’,
‘orderLine’: null,
‘statusChange’: null
}
]
}
}
|
Search measurements
|
The search-measurements operation searches for bundles of related resources having Observations, Media or QuestionnaireResponses matching the search criteria.
Parameter description
- patient: Find resource(s) referring the specified patient - Reference(eHealth Patient).
- episodeOfCare: Find resource(s) referring the specified episode of care - Reference(eHealth EpisodeOfCare).
-
device: Find resource(s) referring the specified device - Reference(eHealth Device |
eHealth DeviceMetric). |
- period: Resource(s) must have either an instant or time period within or overlapping the given period. The used instant/time period varies with resource as follows: Element effective for eHealth Observation; Element authored for eHealth QuestionnaireResponse; Element occurrence for eHealth Media.
- based-on: Resources(s) must be based on any of the specified procedure requests - Reference(eHealth ServiceRequest).
“period” must always be specified.
Additionally at least “patient” or “episodeOfCare” must be specified.
Output description
The result of this operation will return a Bundle with a list of nested Bundles having resources matching the search parameters.
Each of the nested bundles will contain the full set of related eHealth Observation, eHealth Media, eHealth QuestionnaireResponse and eHealth Provenance resources.
If a eHealth QuestionnaireResponse is part of the nested bundle the referenced eHealth Questionnaire will also be included in the nested bundle.
Related resources are the set of resources created by a single invocation of the submit-measurement operation.
|
Submit measurement
|
The submit-measurement operation provides a single measurement in the form of a Bundle of Observation, QuestionnaireResponse and Media for storage and, subsequently, further processing in the eHealth Infrastructure. A Provenance resource is implicitly created by the infrastructure referencing input Bundle resources as target, thereby relating the resources that were submitted.
Parameter description
measurement: Bundle containing:
- 0..* Observation (ehealth-observation profile)
- 0..* QuestionnaireResponse (ehealth-questionnaireresponse profile)
- 0..* Media (ehealth-media profile)
- 0..* Provenance (ehealth-provenance profile). Each Provenance (which is intended for capturing reuse of measurement(s) – as described in the eHealth Observation profile introduction) must refer to other resources in the Bundle as target in the format “urn:oid:<the oid>” or “urn:uuid:<the uuid>.”.
All resources in the Bundle must refer to the same Patient and EpisodeOfCare.
Output description
The returned Bundle contains references to the stored input resources where the id has been substituted.
eHealth infrastructure will substitute the id when saving the resources in a single transaction.
|
Transform from APD
|
Transforms a DK-HL7 Appointment Document (APD) XML document to a FHIR Appointment (ehealth-appointment profile) resource. The input FHIR DocumentReference (ehealth-documentreference profile) contains the APD XML document. The caller must ensure that the APD XML document is valid and adheres to the DK-HL7 Appointment Document profile. The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Appointment (ehealth-appointment profile) resource.
|
Transform from PHMR
|
Transforms a DK-HL7 Personal Health Monitoring Report (PHMR) XML document to FHIR Observation (ehealth-observation profile) resource. The input FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile The returned FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing.one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization.
|
Transform from QFDD
|
Transforms the DK-HL7 Questionnaire Form Definition Document (QFDD) to an eHealth Questionnaire resource. The input FHIR DocumentReference contains QFDD XML for the DK-HL7 Questionnaire Form Definition Document. The returned Bundle contains the eHealth Questionnaire and Composition resource which reference the returned eHealth Questionnaire.
|
Transform from QRD
|
Transforms a DK-HL7 Questionnaire Response Document (QRD) XML document to a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource. The input FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile. The returned FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource.
|
Transform to APD
|
Transforms a FHIR Appointment (ehealth-appointment profile) resource to a DK-HL7 Appointment Document (APD) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing a FHIR Appointment (ehealth-appointment profile) resource and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the APD XML document adhering to the DK-HL7 Appointment Document profile.
|
Transform to PHMR
|
Transforms a FHIR Observation (ehealth-observation profile) resource to a DK-HL7 Personal Health Monitoring Report (PHMR) XML document. The input FHIR Bundle contains a FHIR Composition (ehealth-composition profile) resource referencing one or more FHIR Observation (ehealth-observation profile) resources and referenced resources such as FHIR Organization. The returned FHIR DocumentReference contains the PHMR XML document adhering to the DK-HL7 Personal Health Monitoring Report profile.
|
Transform to QFDD
|
Transforms an eHealth Questionnaire resource to the DK-HL7 Questionnaire Form Definition Document (QFDD). The input Bundle contains an eHealth Questionnaire and Composition resource which reference the returned eHealth Questionnaire. The returned FHIR DocumentReference contains QFDD XML for the DK-HL7 Questionnaire Form Definition Document.
|
Transform to QRD
|
Transforms a FHIR QuestionnaireResponse (ehealth-questionnaireresponse profile) resource to a DK-HL7 Questionnaire Response Document (QRD) XML document. The input FHIR Bundle contains FHIR Composition (ehealth-composition profile) resource referencing a FHIR QuestionnaireResponse (ehealth-documentreference profile) resource. The returned FHIR DocumentReference contains the QRD XML document adhering to the DK-HL7 Questionnaire Response Document profile.
|
upload-external-code-system
|
|
Create a clone of an ActivityDefinition
|
- resourceId: reference to the ActivityDefinition resource that should be cloned
- clone_operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation
- default-clone-behavior: true/false. False signifies deep-clone mode where the list of deep-clone-references determine which resources should be cloned
- deep-clone-references: References to resources to create as new resources rather than referencing the existing ones.
Output
Bundle containing all resources that were created during the operation.
Validation
- New business versions require that the user has modifier-role: owner or co-author for the resource
- New copy does not require that the user has a modifier-role.
- New business version can be made only when no draft resource exists (having identical base identifier).
- Read/search/create privileges are required for the resource types affected by $create-clone
|
Retrieve document
|
Retrieve document
|
Suggest care teams
|
Suggest care teams matching the conditions required by the care plan on either a regional or a municipality level. The suggested care teams has reason codes matching all the conditions addressed by the care plan and has a managing organization matching the input region code or municipality code. One of region code or municipality code must be input. If both region code and municipality code is input, then the municipality code is ignored. Return a bundle with matching care teams and their managing organizations.
|
Modify care team assignment
|
The operation modifies the care team assignment of the care plan and all of its sub plans.
|
Is context allowed
|
Checks that it is allowed to set an EpisodeOfCare as context.
If the user requesting context is a patient, then the patient input parameter should be specified.
If the user requesting context is a practitioner, then the careTeam input parameter should be specified.
Throws an exception if it is not allowed to select the Episode Of Care context.
Output
For valid Episode of Care is returned references that cause the Episode of Care to be valid context.
For a practitioner, two output parameters will be returned on success:
- CareTeam: The Careteam that gave access
- EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam
|
Evaluate
|
This operation evaluates parameters passed as input against the decision support rule identified by the Library resource. It returns the computed clinical decision support result and/or errors. The Library resource identifies the clinical decision rule and define its parameters.
The operation is idempotent.
- 1..1 Parameters: HL7 FHIR Parameters resource containing input parameters for the clinical decision support computation.This should either be a QuestionnaireResponse or an Observation for evaluation.
Output
Upon success this operation returns an GuidanceResponse resource containing the decision support result.
|
get-data
|
|
Traverse to SOR
|
Traverse upforwards to the first SOR organization
Http response code 404 will be returned if no related SOR organization could be found
|
Create a careplan
|
Create a careplan for a specific episodeOfCare using this PlanDefinition as a template.
|
Export a PlanDefinition
|
Export a PlanDefinition.
Export Contents
The export contains the PlanDefinition including referenced resources:- PlanDefinitions
- ActivityDefinitions
- Questionnaires
- Libraries
- Organizations
Each resource is returned in a separate JSon file.
Parameters
|
Import a Plandefinition
|
Import a Plandefinition
Parameters
- planDefinitionPackage: Binary package produced by the export operation
Output
Bundle containing the created resources. PlanDefinitions, ActivityDefinitions, and Questionnaires will be created. Libraries and Organizations are used to find the corresponding resources on the target system.
|
Create a clone of a Questionnaire
|
- resourceId: reference to the Questionnaire resource that should be cloned
- clone-operation: minor-version/major-version/copy Coding from codesystem: http://ehealth.sundhed.dk/cs/ehealth-clone-operation
Output
Bundle containing all resources that were created during the operation.
Validation
- New business versions require that the user has modifier-role: owner or co-author for the resource
- New copy does not require that the user has a modifier-role.
- New business version can be made only when no draft resource exists (having identical base identifier).
- Read/search/create privileges are required for the resource types affected by $create-clone
|
Export Appointment to iCal
|
This operation exports the Appointment to an iCal RFC-5545 format
|
Create Patient
|
This operation is used to create a new Patient resource. Once executed successfully the Patient resource is created on the server and as well returned in the response parameter. The operation takes the input parameters listed and returns the Patient resource where the person having the provided civil registration number (crn) is used as the origin of the data.
Note
This operation is currently the only way to create Patient resources in the eHealth Infrastructure, as it ensures that the correct bindings from national registers
|
Update Patient from KRS
|
This operation is used when batch updates on patient information is available from the national service platform. The operation is used by internal components of the eHealth Infrastructure.
|
Person name lookup
|
This operation is used to do a lookup on a citizen in the national infrastructure based on the identifier of the person unless the identifier can be resolved locally. The operation returns a ‘limited’ Person resource with the identifier and name of the person being the only returned attributes in the bundle. The operation is an implementation of https://www.hl7.org/fhir/stu3/patient-operations.html#match on the Person resource.
|