forked from nedap/archie
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adl conv correct atcode numbering #582
Open
wolandscat
wants to merge
2
commits into
master
Choose a base branch
from
ADL-conv-correct_atcode_numbering
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
...t/resources/adl14converted/openEHR-DEMOGRAPHIC-ADDRESS.address-provider.v0.0.1-alpha.adls
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
archetype (adl_version=2.0.6; rm_release=1.1.0; generated; uid=5c4b8ea6-4c9c-4c8f-9c37-b95e0a5e0aff; build_uid=4d801686-8c5f-4d96-b62b-9dcaf4008936) | ||
openEHR-DEMOGRAPHIC-ADDRESS.address-provider.v0.0.1-alpha | ||
|
||
specialize | ||
openEHR-DEMOGRAPHIC-ADDRESS.address.v0 | ||
|
||
language | ||
original_language = <[ISO_639-1::en]> | ||
translations = < | ||
["ko"] = < | ||
language = <[ISO_639-1::ko]> | ||
author = < | ||
["name"] = <"Seung-Jong Yu"> | ||
["organisation"] = <"NOUSCO Co., Ltd."> | ||
> | ||
accreditation = <"Certified Board of Family Medicine in South Korea"> | ||
> | ||
["pt-br"] = < | ||
language = <[ISO_639-1::pt-br]> | ||
author = < | ||
["name"] = <"Sergio Miranda Freire"> | ||
["organisation"] = <"Universidade do Estado do Rio de Janeiro - UERJ"> | ||
["email"] = <"[email protected]"> | ||
> | ||
> | ||
> | ||
|
||
description | ||
original_author = < | ||
["name"] = <"Sergio Miranda Freire & Rigoleta Dutra Mediano Dias"> | ||
["organisation"] = <"Universidade do Estado do Rio de Janeiro - UERJ"> | ||
["email"] = <"[email protected]"> | ||
["date"] = <"2009-05-22"> | ||
> | ||
original_namespace = <"org.openehr"> | ||
original_publisher = <"openEHR Foundation"> | ||
other_contributors = <"Rigoleta Dutra, Ministry of Defense, Brazil (openEHR Editor)", "Sergio Freire, State University of Rio de Janeiro, Brazil (openEHR Editor)", "Sebastian Garde, Ocean Informatics, Germany (Editor)", "Omer Hotomaroglu, Turkey (Editor)", "Heather Leslie, Ocean Informatics, Australia (Editor)", "Ian McNicoll, freshEHR Clinical Informatics, United Kingdom (openEHR Editor)"> | ||
lifecycle_state = <"in_development"> | ||
custodian_namespace = <"org.openehr"> | ||
custodian_organisation = <"openEHR Foundation"> | ||
licence = <"This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/."> | ||
references = < | ||
["1"] = <"ISO/DTS 27527:2007(E) - Provider Identification - Draft Technnical Specification - International Organization for Standardization"> | ||
> | ||
other_details = < | ||
["MD5-CAM-1.0.1"] = <"7B288FEED37BD006D14048650C371F58"> | ||
> | ||
details = < | ||
["ko"] = < | ||
language = <[ISO_639-1::ko]> | ||
purpose = <"ISO 22220 표준에 기반한 진료제공자 주소에 대한 데이터의 표현. 이 주소는 지리학적 위치를 나타나면 여러 방식으로 사용할 수 있음 : 거주지 주소, 우편 주소 등."> | ||
keywords = <"*인적정보 서비스(ko)", "*진료제공자 주소(ko)", "*지리적 주소(ko)"> | ||
use = <"진료제공자 주소에 대한 등록하는 인적정보 서비스에서 사용됨."> | ||
misuse = <"이 archetype은 이메일 주소, IP 주소, 전화, 팩스 그리고 페이져를 위해 사용될 수 없음. 그러한 아이템들을 위해서는 electronic_communication archetype를 사용."> | ||
copyright = <"© openEHR Foundation"> | ||
> | ||
["pt-br"] = < | ||
language = <[ISO_639-1::pt-br]> | ||
purpose = <"Representação dos detalhes do endereço de um prestador de assistência à saúde. Este endereço representa uma localização geográfica que pode ser utilizada para diversos fins: consultório, endereço postal, etc."> | ||
keywords = <"serviço demográfico", "endereço de um prestador de assistência à saúde", "localização geográfica."> | ||
use = <"Usado em serviços demográficos para registrar os detalhes de um endereço de um prestador de assistência à saúde."> | ||
misuse = <"Este arquétipo não deve ser usado para endereços de correio eletrônico, endereços IP, endereços de computador, telefone, fax e pager. Para estes itens, use o arquétipo electronic_communication."> | ||
copyright = <"© openEHR Foundation"> | ||
> | ||
["en"] = < | ||
language = <[ISO_639-1::en]> | ||
purpose = <"Representation of data about a healthcare provider address, based on ISO standards. This address represents a geographic location which can be used in several ways: business address, postal address, etc."> | ||
keywords = <"demographic service", "healthcare provider address", "geographic location"> | ||
use = <"Used in demographic services to register data about a healthcare provider address."> | ||
misuse = <"This archetype can not used for email address, IP address, computer address, telephone, fax and pager. For these items use the electronic_communication archetype."> | ||
copyright = <"© openEHR Foundation"> | ||
> | ||
> | ||
|
||
definition | ||
ADDRESS[id1.1] matches { -- Healthcare provider address | ||
/details[id2]/items matches { | ||
ELEMENT[id0.2] occurrences matches {0..1} matches { -- Communication privacy | ||
value matches { | ||
DV_BOOLEAN[id0.9000] | ||
} | ||
} | ||
ELEMENT[id0.3] matches { -- Healthcare provider identifier | ||
value matches { | ||
DV_TEXT[id0.9001] | ||
} | ||
} | ||
} | ||
} | ||
|
||
terminology | ||
term_definitions = < | ||
["ko"] = < | ||
["id1.1"] = < | ||
text = <"진료제공자 주소"> | ||
description = <"ISO 표준에 기반한 진료제공자 주소."> | ||
> | ||
["id0.3"] = < | ||
text = <"진료제공자 식별자"> | ||
description = <"이 통신 메커니즘을 액세스할지도 모르는 진료자 제공자의 식별자."> | ||
> | ||
["id0.2"] = < | ||
text = <"통신 보안"> | ||
description = <"이 통신 메커니즘이 특정 진료제공자 외에는 공개적으로 표시되지 않는다는 것을 나타냄."> | ||
> | ||
> | ||
["pt-br"] = < | ||
["id1.1"] = < | ||
text = <"Endereço de um Prestador de Assistência à Saúde"> | ||
description = <"Endereço Postal de um Prestador de Assistência à Saúde."> | ||
> | ||
["id0.3"] = < | ||
text = <"Identificador do prestador"> | ||
description = <"Identificador de um prestador que pode acessar este meio de comunicação."> | ||
> | ||
["id0.2"] = < | ||
text = <"Indicador de privacidade"> | ||
description = <"Indica quando um mecanismo de comunicação não é para ser exibido abertamente, exceto para organizações específicas."> | ||
> | ||
> | ||
["en"] = < | ||
["id1.1"] = < | ||
text = <"Healthcare provider address"> | ||
description = <"Healthcare provider address, based on ISO standards."> | ||
> | ||
["id0.3"] = < | ||
text = <"Healthcare provider identifier"> | ||
description = <"Identifier of a healthcare provider who may access this communication mechanism."> | ||
> | ||
["id0.2"] = < | ||
text = <"Communication privacy"> | ||
description = <"Indicates that this communication mechanism is not to be openly displayed, except to specific providers."> | ||
> | ||
> | ||
> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the variable name needing to be adl14ConvertedDir - why write all these files, and why commit them all?
if committed, needs a clear marking to which ADL 2 version these are converted in the directory structure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I included the generated files because you can run a conversion (with or without source code changes) and see in the Git diffs if the conversion changed anything compared to the previous run.
I had not originally envisaged that there would need to be two variants of the at-code conversion, since the SEC seems to agree on the mapping method within which at000N codes are not renumbered in the upgrade to ADL2 codes. But of course the Nedap system actually contains ADL2 archetypes converted from ADL1.4 archetypes, with the previous rule, i.e. 'add one to all codes'.
How we call these various conversions is a question for SEC, so I'll post there. But I agree that we probably need two output directories to distinguish the two forms of code conversion.