Skip to content

Instantly share code, notes, and snippets.

@sasurfer
sasurfer / composition.xml
Created February 26, 2020 10:09
composition and template
<?xml version="1.0" encoding="US-ASCII"?>
<v1:composition xmlns:v1="http://schemas.openehr.org/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" archetype_node_id="openEHR-EHR-COMPOSITION.hospitalisation.v1"><v1:name><v1:value>Hospitalisation</v1:value></v1:name><v1:uid xsi:type="v1:HIER_OBJECT_ID"><v1:value>1.2.1.10157491015210.19750101575710.29910249484850.49565250514851.515410098575099</v1:value></v1:uid><v1:archetype_details><v1:archetype_id><v1:value>openEHR-EHR-COMPOSITION.hospitalisation.v1</v1:value></v1:archetype_id><v1:template_id><v1:value>hospitalization_ocean</v1:value></v1:template_id><v1:rm_version>1.0.2</v1:rm_version></v1:archetype_details><v1:language><v1:terminology_id><v1:value>ISO_639-1</v1:value></v1:terminology_id><v1:code_string>en</v1:code_string></v1:language><v1:territory><v1:terminology_id><v1:value>ISO_3166-1</v1:value></v1:terminology_id><v1:code_string>BR</v1:code_string></v1:territory><v1:category><v1:value>event</v1:value><v1:defining_code><v1:terminology_id><v1:value>
@sasurfer
sasurfer / openEHR-EHR-ACTION.procedure-sus.v1.adl
Created March 8, 2019 07:44
openEHR-EHR-ACTION.procedure-sus.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-ACTION.procedure-sus.v1
specialize
openEHR-EHR-ACTION.procedure.v1
concept
[at0000.1] -- *Procedure undertaken!(en)
language
original_language = <[ISO_639-1::en]>
translations = <
@sasurfer
sasurfer / openEHR-EHR-EVALUATION.problem_diagnosis-sus.v1.adl
Created March 8, 2019 07:43
openEHR-EHR-EVALUATION.problem_diagnosis-sus.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-EVALUATION.problem_diagnosis-sus.v1
specialize
openEHR-EHR-EVALUATION.problem_diagnosis.v1
concept
[at0000.1] -- Problema
language
original_language = <[ISO_639-1::en]>
translations = <
@sasurfer
sasurfer / openEHR-EHR-ADMIN_ENTRY.admission.v1.adl
Created March 8, 2019 07:41
openEHR-EHR-ADMIN_ENTRY.admission.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-ADMIN_ENTRY.admission.v1
concept
[at0000] -- Patient admission
language
original_language = <[ISO_639-1::en]>
translations = <
["ar-sy"] = <
language = <[ISO_639-1::ar-sy]>
@sasurfer
sasurfer / openEHR-EHR-ADMIN_ENTRY.hospitalization_authorization.v1.adl
Created March 8, 2019 07:40
openEHR-EHR-ADMIN_ENTRY.hospitalization_authorization.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-ADMIN_ENTRY.hospitalization_authorization.v1
concept
[at0000] -- Autorizacao de internacao hospitalar
language
original_language = <[ISO_639-1::pt-br]>
translations = <
["en"] = <
language = <[ISO_639-1::en]>
@sasurfer
sasurfer / openEHR-EHR-ADMIN_ENTRY.patient_discharge.v1.adl
Created March 8, 2019 07:37
openEHR-EHR-ADMIN_ENTRY.patient_discharge.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-ADMIN_ENTRY.patient_discharge.v1
concept
[at0000] -- Alta do paciente
language
original_language = <[ISO_639-1::pt-br]>
translations = <
["en"] = <
language = <[ISO_639-1::en]>
@sasurfer
sasurfer / openEHR-EHR-COMPOSITION.hospitalisation.v1.adl
Created March 8, 2019 07:35
openEHR-EHR-COMPOSITION.hospitalisation.v1.adl
archetype (adl_version=1.4)
openEHR-EHR-COMPOSITION.hospitalisation.v1
concept
[at0000] -- Hospitalisation
language
original_language = <[ISO_639-1::pt-br]>
translations = <
["en"] = <
language = <[ISO_639-1::en]>
@sasurfer
sasurfer / hospitalization.oet
Last active March 8, 2019 07:34
Template oet
<?xml version="1.0"?>
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="openEHR/v1/Template">
<id>02e9b88a-2af7-4fc0-9724-8cd71434188b</id>
<name>hospitalization</name>
<description>
<lifecycle_state>Initial</lifecycle_state>
<details>
<purpose />
<use />
<misuse />
@sasurfer
sasurfer / CompositionHospitalization_premod2.xml
Created March 8, 2019 07:28
Composition with ADMIN_ENTRY and null_flavour
<?xml version="1.0" encoding="US-ASCII"?>
<v1:composition xmlns:v1="http://schemas.openehr.org/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" archetype_node_id="openEHR-EHR-COMPOSITION.hospitalisation.v1">
<v1:name>
<v1:value>Hospitalisation</v1:value>
</v1:name>
<v1:uid xsi:type="v1:HIER_OBJECT_ID">
<v1:value>1.2.1.10157491015210.19750101575710.29910249484850.49565250514851.515410098575099</v1:value>
</v1:uid>
<v1:archetype_details>
<v1:archetype_id>
@sasurfer
sasurfer / hospitalization_ocean_ian.opt
Last active March 8, 2019 07:29
Template for the composition with ADMIN_ENTRY e null_flavour
<?xml version="1.0" encoding="UTF-8"?>
<!--Operational template XML automatically generated by Ocean Template Designer Version 2.8.94Beta-->
<template xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.openehr.org/v1">
<language>
<terminology_id>
<value>ISO_639-1</value>
</terminology_id>
<code_string>it</code_string>
</language>
<description>