Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

FHIR description

Care Plan

Schema

...

eHealth description

Care plan

Collection name: care_plans

This collection used to store care plan document without activity documents.

Care plan document

Name

Type

M/O

Description and constraints

HL7 vs eHealth comparison result

id

string

M

System identifier of Care plan (ObjectID)

Doesn't comply with FHIR

based_on

{Reference}

O

Reference on parent Care plan

Ok

part_of

{Reference}

O

Reference on another Care plan

Ok

category

{Codeable_concept}

M

Category of the care plan. Fetches from the dictionary

Ok

title

string

M

Title of the care plan

Ok

description

string

O

Description of the care plan

Ok

period

{Period}

M

Period when care plan starts and ends

Ok

supporting_info

[Reference]

O

Reference on supporting medical events.

Ok

note

string

O

Comments, notes about care plan

Doesn't comply with FHIR

requisition

string

M

Hashed value of human-readable care plan number

Doesn't comply with FHIR

managing_organization

{Reference}

M

Reference on legal_entity

Doesn't comply with FHIR

intent

string

M

By default is order

Ok

encounter

{Reference}

M

Reference on encounter with main diagnosis

Ok

addresses

[Codeable_concept]

M

Condition code. Fetches from the dictionary eHealth/ICD10_AM/condition_codes

Doesn't comply with FHIR (datatype)

status

string

M

Status of care plan

Ok

status_reason

{Codeable_concept}

O

Reason of changing a status

Doesn't comply with FHIR

status_history

[Status_history]

M

Care plan status change history

Doesn't comply with FHIR

subject

string

M

Hashed patient_id

Doesn't comply with FHIR (datatype)

author

{Reference}

M

Reference on care plan creator employee

Ok

contributor

[Reference]

O

References on care plan contributor employees

Ok

terms_of_service

{Codeable_concept}

M

Providing condition of care plan. Fetches from the dictionary PROVIDING_CONDITION. Allowed values: INPATIENT, OUTPATIENT

Doesn't comply with FHIR

inserted_at

timestamp

M

Datetime when care plan was created

Doesn't comply with FHIR

inserted_by

string

M

Identifier on the user created the care plan

Doesn't comply with FHIR

updated_at

timestamp

M

Datetime when care plan was last updated

Doesn't comply with FHIR

updated_by

string

M

Identifier on the user last updated the care plan

Doesn't comply with FHIR

signed_content_links

[string]

M

Array with links on signed content in media storage.

Doesn't comply with FHIR

Activities

Collection name: activities

This collection is used to store activities only with link on their Care plan

Activity document

Activity should be described with detail attribute only, without using reference attribute.

Name

Type

M/O

Description and constraints

HL7 vs eHealth comparison result

id

string

M

System identifier of the activity. Unique within the Care plan

Doesn’t comply with FHIR

care_plan

{Reference}

M

Reference on the Care plan to which activity has been related.

Doesn’t comply with FHIR

author

{Reference}

M

Reference on activity creator employee

Doesn’t comply with FHIR CarePlan (matches with ActivityDefinition)

signed_content_links

[string]

M

Array with links on signed content in media storage.

Doesn't comply with FHIR

outcome_reference

[Reference]

O

Reference on resources which represents result of the activity. For medication requests there are medication dispenses, for service requests - procedures, encounters, diagnostic_reports

Ok

outcome_codeable_concept

[Codeable_concept]

O

Descriptions of the activity result. Fetches from a dictionary.

Ok

inserted_at

timestamp

M

Datetime when care plan was created

Doesn't comply with FHIR

inserted_by

string

M

Identifier on the user created the care plan

Doesn't comply with FHIR

updated_at

timestamp

M

Datetime when care plan was last updated

Doesn't comply with FHIR

updated_by

string

M

Identifier on the user last updated the care plan

Doesn't comply with FHIR

detail

{Detail document}

M

Summary of the care plan activity

Ok

Detail document

Name

Type

M/O

Description and constraints

HL7 vs eHealth comparison result

kind

string

M

Type of the activity. Allowed values: medication_requestservice_request

Ok

reason_code

[Codeable_concept]

O

Diagnoses. May be a few, fetches from the condition_codes dictionary

Ok

reason_reference

[Reference]

O

References on conditions/oservations/diagnostic_reports with diagnoses.

Ok

goal

[Codeable_concept]

O

A goal of the activity. Fetches from a dictionary.

Doesn't comply with FHIR (type)

status

string

M

Status of the activity.

Ok

status_reason

{Codeable_concept}

O

Reason of the activity status change. Fetches from a dictionary.

Ok

quantity

{SimpleQuantity}

O

Quantity of required medications (MR) or procedures e.t.c. (SR)

Ok

scheduled_timing

sheduled_period

scheduted_string

{Timing}

{Period}

string

O

One of these fields is allowed, another should be forbidden.

Describes a period, timing or frequency upon which the activity is to occur.

Ok

location

{Reference}

O

Reference on the performer’s division

Ok

performer

{Reference}

O

Reference on employee who will perform the activity.

Ok

product_reference

{Reference}

M

Required. If kind=medication_request , reference on the medication. If kind=service_request , reference on the service

Ok

daily_amount

{SimpleQuantity}

O

Quantity of medication, procedures to be consumed a day 

Ok

remaining_quantity

{SimpleQuantity}

O

Remaining quantity medication (procedures e.t.c. fot SR) allowed to medication dispense. It calculates as difference between detail.quantity and count of corresponding references in activity.outcome_reference???

Ok

description

string

O

Description of the activity

Ok

do_not_perform

bool

By default is false

Ok

program

{Reference}

O

Reference on medical program resource

Doesn't comply with FHIR

Example

Expand
titleeHealth Care plan document exqmple
Code Block
languagejson
{
    "id": "36bacca3-ee29-48fa-8ec8-919d7a0773ca",
    "based_on": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "system": "eHealth/resources",
                        "code": "care_plan"
                    }
                ]
            },
            "value": "36bacca3-ee29-48fa-8ec8-919d7a0773ca"
        }
    },
    "part_of": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "system": "eHealth/resources",
                        "code": "care_plan"
                    }
                ]
            },
            "value": "36bacca3-ee29-48fa-8ec8-919d7a0773ca"
        }
    },
    "category": {
        "coding": [
            {
                "system": "eHealth/SNOMED/care_plan_categories",
                "code": "diabetics"
            }
        ]
    },
    "title": "Example",
    "description": "Care plan example",
    "period": {
        "start": "2020-01-01",
        "end": "2021-01-01"
    },
    "supporting_info": [
        {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "episode_of_care",
                            "system": "eHealth/resources"
                        }
                    ]
                },
                "value": "789b1866-31b3-4ed3-82e9-236ff629cb23"
            }
        }
    ],
    "note": "Some notes",
    "requisition": "3D19B775D1444A16A4AA61172103F4A4F0ADB474216927898C75A9391D81BA0A",
    "intent": "order",
    "encounter": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "code": "encounter",
                        "system": "eHealth/resources"
                    }
                ]
            },
            "value": "0433b247-d907-4d09-b460-9614f84e6db6"
        }
    },
    "addresses": [
            {
            "coding" : [ 
                {
                    "code" : "E11.9",
                    "system" : "eHealth/ICD10_AM/condition_codes"
                }
            ]
        }
    ],
    "status": "active",
    "status_reason": {
        "coding": [
            {
                "system": "eHealth/care_plan_status_reasons",
                "code": "some code"
            }
        ]
    }, 
    "status_history": [
        {
            "inserted_at": "2020-09-22T08:23:33.597Z",
            "inserted_by": "22b42cb6-bc01-4436-a1f4-a5a7365fa29a",
            "status": "active",
            "status_reason": null
        }
    ],
    "subject": "87B0E1A2D106232D253ACB8627BCCCD8056FC685CEBA1CB587B2C3AFD9467BA9",
    "author": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "code": "employee",
                        "system": "eHealth/resources"
                    }
                ],
                "text": null
            },
            "value": "740246db-6a9a-41ca-bb0b-da2774121369",
        }
    },
    "contributor": [
        {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "employee",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121368",
            }
        }
    ],
    "terms_of_service": {
        "coding": [
            {
                "code": "INPATIENT",
                "system": "eHealth/PROVIDING_CONDITION"
            }
        ],
        "text": "Стаціонарні умови"
    },
    "inserted_at": "2020-09-22T08:23:33.597Z",
    "inserted_by": "22b42cb6-bc01-4436-a1f4-a5a7365fa29a",
    "updated_at": "2020-09-22T08:23:33.597Z",
    "updated_by": "22b42cb6-bc01-4436-a1f4-a5a7365fa29a",
    "signed_content_links":["https://36bacca3-ee29-48fa-8ec8-919d7a0773ca/create"]
}

...