Versions Compared

Key

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

...

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

...

Expand
titleeHealth Care plan document exqmple
Code Block
languagejsjson
{
    "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"]
}

Expand
titleActivity document example for service request
Code Block
languagejsjson
{
    "id" : ObjectId(UUID) 
    "care_plan": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "system": "eHealth/resources",
                        "code": "care_plan"
                    }
                ]
            },
            "value": "36bacca3-ee29-48fa-8ec8-919d7a0773ca"
        }
    },
    "author": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "code": "employee",
                        "system": "eHealth/resources"
                    }
                ],
                "text": null
            },
            "value": "740246db-6a9a-41ca-bb0b-da2774121368",
        }
    },
    "signed_content_links":["https://36bacca3-ee29-48fa-8ec8-919d7a0773ca/36bacca3-ee29-48fa-8ec8-919d7a0773c1/create"]
    "outcome_reference": [
        {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "procedure",
                            "system": "eHealth/resources"
                        }
                    ]
                },
                "value": "c1d60d70-41f3-498b-b97f-3bd9f6ecdf1e"
            }
        }
    ],
    "outcome_codeable_concept": [
        {
            "coding": [
                {
                    "system": "eHealth/procedure_outcomes",
                    "code": "procedure_cancelled"
                }
            ]
        }
    ],
    "detail": {
        "kind": "service_request",
        "reason_code": [
            {
                "coding": [
                    {
                        "system": "eHealth/ICD10_AM/condition_codes",
                        "code": "X85"
                    }
                ]
            }
        ],
        "reason_reference": [
            {
                "identifier": {
                    "type": {
                        "coding": [
                            {
                                "code": "condition",
                                "system": "eHealth/resources"
                            }
                        ]
                    },
                    "value": "c1d60d70-41f3-498b-b97f-3bd9f6ecdf2e"
                }
            }
        ],
        "goal": [
            {
                "coding": [
                    {
                        "system": "eHealth/care_plan_goals",
                        "code": "diabetes_treatment"
                    }
                ]
            }
        ],
        "status": "cencelled",
        "status_reason": {
            "coding": [
                {
                    "system": "eHealth/activity_status_reasons",
                    "code": "incorrect_patient"
                }
            ]
        },
        "quantity": {
            "value": 10
        },
        "scheduled_period": {
            "start": "2020-12-14",
            "end": "2020-12-28"
        },
        "location": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "division",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121379",
            }
        },
        "performer": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "employee",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121369",
            }
        },
        "product_reference": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "system": "eHealth/resources",
                            "code": "service"
                        }
                    ]
                },
                "value": "97d57238-ffbe-4335-92ea-28d4de117ea2"
            }
        },
        "daily_amount": {
            "value": 10
        },
        "remaining_quantity": {
            "value": 10
        },
        "description": "Some description of the activity",
        "do_not_perform": false,
        "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",
        "program": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "medical_program",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121179",
            }
        }
    }
}
Expand
titleActivity document example for medication request
Code Block
languagejsjson
{
    "id" : ObjectId(UUID)
    "care_plan": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "system": "eHealth/resources",
                        "code": "care_plan"
                    }
                ]
            },
            "value": "36bacca3-ee29-48fa-8ec8-919d7a0773ca"
        }
    },
    "author": {
        "identifier": {
            "type": {
                "coding": [
                    {
                        "code": "employee",
                        "system": "eHealth/resources"
                    }
                ],
                "text": null
            },
            "value": "740246db-6a9a-41ca-bb0b-da2774121369",
        }
    },
    "signed_content_links":["https://36bacca3-ee29-48fa-8ec8-919d7a0773ca/36bacca3-ee29-48fa-8ec8-919d7a0773c2/create"]"
    "outcome_reference": [
        {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "medication_dispense",
                            "system": "eHealth/resources"
                        }
                    ]
                },
                "value": "c1d60d70-41f3-498b-b97f-3bd9f6ecdf2e"
            }
        },
        {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "medication_dispense",
                            "system": "eHealth/resources"
                        }
                    ]
                },
                "value": "c1d60d70-41f3-498b-b97f-3bd9f6ecdf3e"
            }
        }
    ],
    "outcome_codeable_concept": [
        {
            "coding": [
                {
                    "system": "http://snomed.info/sct",
                    "code": "medication_dispensed"
                }
            ]
        }
    ],
    "detail": {
        "kind": "medication_request",
        "reason_code": [
            {
                "coding": [
                    {
                        "system": "eHealth/ICD10_AM/condition_codes",
                        "code": "X85"
                    }
                ]
            }
        ],
        "reason_reference": [
            {
                "identifier": {
                    "type": {
                        "coding": [
                            {
                                "code": "condition",
                                "system": "eHealth/resources"
                            }
                        ]
                    },
                    "value": "c1d60d70-41f3-498b-b97f-3bd9f6ecdf2e"
                }
            }
        ],
        "goal": {
            "coding": [
                {
                    "system": "eHealth/care_plan_goals",
                    "code": "diabetes_treatment"
                }
            ]
        },
        "status": "in_progress",
        "status_reason": null,
        "quantity": {
            "value": 10
        },
        "scheduled_timing": {
            "event": [
                "2017-04-20T19:14:13Z"
            ],
            "repeat": {
                "bounds_duration": {
                    "value": 10,
                    "comparator": ">",
                    "unit": "days",
                    "system": "eHealth/ucum/units",
                    "code": "d"
                },
                "count": 2,
                "count_max": 4,
                "duration": 4,
                "duration_max": 6,
                "duration_unit": "d",
                "frequency": 1,
                "frequency_max": 2,
                "period": 4,
                "period_max": 6,
                "period_unit": "d",
                "day_of_week": [
                    "mon"
                ],
                "time_of_day": [
                    "19:14:00"
                ],
                "when": [
                    "WAKE"
                ],
                "offset": 4
            },
            "code": {
                "coding": [
                    {
                        "system": "TIMING_ABBREVIATION",
                        "code": "Q4H"
                    }
                ]
            }
        },
        "location": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "division",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121379",
            }
        },
        "performer": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "employee",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121369",
            }
        },
        "product_reference": {
            "identifier": {
                "type": {
                    "coding": [
                        {
                            "code": "medication",
                            "system": "eHealth/resources"
                        }
                    ],
                    "text": null
                },
                "value": "740246db-6a9a-41ca-bb0b-da2774121389",
            }
        },
        "daily_amount": {
            "value": 1
        },
        "remaining_quantity": {
            "value": 3
        },
        "description": "Some description of the activity",
        "do_not_perform": false,
        "program": null,
        "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",
    }
}

...