Page History
...
OBO Class | OBO Entity | LexGrid Model Element | Notes | ||
---|---|---|---|---|---|
Document Header | format-version |
| Not mapped. | ||
Document Header | data-version | CodingScheme.representsVersion | Creates a codingSchemeVersion and SystemRelease record. If not specified, then hard coded "UNASSIGNED" | ||
Document Header | version | CodingScheme.representsVersion | Deprecated - use data-version if present. | ||
Document Header | date |
| Not mapped. | ||
Document Header | saved-by |
| Ignored but included if contained in the remark entity. | ||
Document Header | auto-generated-by |
| Ignored but included if contained in the remark entity. | ||
Document Header | subsetdef |
| Not mapped. | ||
Document Header | import |
| Deprecated - Imports are used to assemble a larger document from smaller. | ||
Document Header | typeref |
| Deprecated. | ||
Document Header | synonymtypedef |
| Not mapped. | ||
Document Header | idspace |
| Not mapped.The idspace is a triple - localName, URN and description. | ||
Document Header | default-relationship-id-prefix |
| Not mapped. | ||
Document Header | id-mapping | CodingScheme.supportedAssociation | This is more generalized than the LexGrid model, as it supports mapping between any id's. Note that its primary purpose, however, is to handle supportedAssociation. | ||
Document Header | remark | CodingScheme.entityDescription | Will combine multiple remark entities into the entityDescription. | ||
Document Header | default-namespace | codingScheme.codingScheme | Will use default-namespace if provided; otherwise will use filename without the extension. | ||
Document Header | default-namespace | codingScheme.formalName | Will use default-namespace if provided; otherwise will use filename without the extension. | ||
Document Header | default-namespace | codingScheme.registeredName | Combination of "urn:lsid:bioontology.org:" and if provided, the value in "default-namespace"; but if not will use filename without the extension. | ||
|
| codingScheme.defaultLanguage | Hardcoded "en" | ||
|
| codingScheme.isNative | Hardcoded "true" | ||
Stanza | id | CodedEntry.conceptCode |
| ||
Stanza | name | CodedEntry.entityDescription |
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5e6e29adc9f56741-075c90a2-4c7e447d-ad668943-313e2ec425d822c948ae68e8"><ac:plain-text-body><![CDATA[ |
|
| CodedEntry.presentation['textualPresentation'].text |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="15027763a3161cbb-beb2cc2b-44e64380-94668c02-fc40903ad79e7251bba1ccb4"><ac:plain-text-body><![CDATA[ |
|
| CodedEntry.presentation['textualPresentation'].isPreferred = true |
| ]]></ac:plain-text-body></ac:structured-macro> |
Stanza | alt_id |
|
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="79c4a46594e1f4ab-f1243d80-42eb456d-8cccb464-35d4968292c694dae0744887"><ac:plain-text-body><![CDATA[ |
|
| CodedEntry.property['alt_id'].propertyId |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="129c30681d866763-97de0df9-4e7a4a3f-adf09818-6e87febd5c373b7c85cfb2bf"><ac:plain-text-body><![CDATA[ |
|
| CodedEntry.property['alt_id'].text |
| ]]></ac:plain-text-body></ac:structured-macro> |
Stanza | is_anonymous | CodedEntry.isAnonymous = true |
| ||
Stanza | is_obsolete | CodedEntry.isActive = false |
| ||
Stanza | def | CodedEntry.definition |
| ||
|
| CodedEntry.definition.isPreferred = true |
| ||
Stanza | def.dbxref |
| See dbxref | ||
Stanza | comment | CodedEntry.comment.text |
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98cd409d2dd34915-90a45666-4dc9499e-8a04b3ea-ed8596fc2b429a74a981c56e"><ac:plain-text-body><![CDATA[ | Stanza | subset | property[subset tag] | See subsetdef | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a4c45bfd4947a67d-31649c54-4e214ba3-ba4d9430-5cf798963566f541407b21b0"><ac:plain-text-body><![CDATA[ | Stanza | synonym | presentation['textualPresentation'].text |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="021bf328e1c04546-805fbdda-442e425c-9101937e-daab2bca240ff3ea7557ecc5"><ac:plain-text-body><![CDATA[ | Stanza | synonym.scope | presentation['textualPresentation'].degreeOfFidelity |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="87f29941d4c89a70-05f69a57-475649ce-bfe093cb-1db2b3ec9bca6cf687ffddef"><ac:plain-text-body><![CDATA[ | Stanza | synonym.type | presentation['textualPresentation'].representationalForm |
| ]]></ac:plain-text-body></ac:structured-macro> |
Stanza | synonym.dbxref |
| (see dbxref) | ||
Stanza | exact_synonym |
| See synonym | ||
Stanza | narrow_synonym |
| See synonym | ||
Stanza | broad_synonym |
| See synonym | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d9dbbb23db4d77e9-79d84123-4b044a52-87c5a9d6-c89e3af8caea7e0bf92d11b4"><ac:plain-text-body><![CDATA[ | Stanza | xref | associations.['mapsTo'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
Stanza | xref_analog |
| See synonym | ||
Stanza | xref_unk |
|
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4d2e661c2e9370af-b39fde0a-4e3848a8-97c7a991-82e04611b470049d9c0af3b4"><ac:plain-text-body><![CDATA[ | Stanza | is_a | associations.['hasSubtype'] | Reverse of the source and target. | ]]></ac:plain-text-body></ac:structured-macro> |
Stanza | is_a.namespace |
| If present, the supplied namespace becomes the owning "codingScheme". | ||
Stanza | is_a.derived | associations.hasSubtype.associationQualifier | If present, need to include derived in the supportedAssociationQualifiers section | ||
Stanza | intersection_of |
| Processed the same way that OWL intersection operator is processed. This includes creation of anonymous sets. | ||
Stanza | union_of |
| Same as OWL | ||
Stanza | disjoint_from |
| Same as OWL | ||
Stanza | relationship | associations. |
| ||
Stanza | relationship.not_necessary | associations..associationQualifier |
| ||
Stanza | relationship.inverse_necessary | associations..associationQualifier |
| ||
Stanza | relationship.namespace |
| If present, the supplied namespace becomes the owning "codingScheme". | ||
Stanza | relationship.derived | associations..associationQualifier |
| ||
Stanza | relationship.cardinality | associations..associationQualifier |
| ||
Stanza | relationship.maxCardinality | associations..associationQualifier |
| ||
Stanza | relationship.minCardinality | associations..associationQualifier |
| ||
Stanza | is_obsolete | codedEntry.isActive = false |
| ||
Stanza | replaced_by |
|
| ||
Stanza | consider |
| Not Mapped | ||
Stanza | use_term |
| (deprecated) | ||
dbxref | dbxref name | CodedEntry..source |
| ||
| supportedSource |
| dbxref name format is inconsistent. In most cases, it can be the localName of supportedSource, but special processing may be necessary in the case of URL's, etc | ||
dbxref | dbxref description |
| Not mapped. | ||
dbxref | trailing modifiers |
| Not mapped. | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2789319cd8aaaf2f-57de01ab-449947fa-a5dfbc28-bcf11197467940fd1ec8c9f2"><ac:plain-text-body><![CDATA[ | typeDef Stanza | domain | associations.['has_domain'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="930897679e74dd9a-556f0420-4e744a22-86edb82d-dce14fb20fdc4a12bcae0fb1"><ac:plain-text-body><![CDATA[ | typeDef Stanza | range | associations.['has_range'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2ecd8c2f636ab558-fa03b59f-43ac4922-a6ad89b0-3d3d0bf922490735db8ebfa8"><ac:plain-text-body><![CDATA[ | typeDef Stanza | is_cyclic | property['is_cyclic'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="320bc939140cef0e-0aacddf9-40da4645-94c68ca3-be0bb8edd223304aeb2b8d5b"><ac:plain-text-body><![CDATA[ | typeDef Stanza | is_reflexive | property['is_reflexive'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
|
| association.isReflexive |
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="28f703ee10f03f26-002305a7-4e984258-a1d8985e-5c58ee20a6acede5e15baf3d"><ac:plain-text-body><![CDATA[ | typeDef Stanza | is_symmetric | property['is_symmetric'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
|
| association.isSymmetric |
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="ae3643678055df7b-78168880-42bf4564-80238f19-3412ffa91649a5503d1c67f6"><ac:plain-text-body><![CDATA[ | typeDef Stanza | is_transitive | property['is_transitive'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
|
| association.isTransitive |
| ||
typeDef Stanza | inverse_of | association.inverse |
| ||
instance stanza | id | same rules as general stanza | same rules as general stanza | ||
instance stanza | name | same rules as general stanza | same rules as general stanza | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="719163de1a7ff6f9-8095a0e6-41e74428-bdf89893-4f32525b6269dd3a6be6a028"><ac:plain-text-body><![CDATA[ | instance stanza | instance_of | association['has_instance'] |
| ]]></ac:plain-text-body></ac:structured-macro> |
instance stanza |
| CodedEntry.property.property="" | data type properties go in Coded Entry property section |
...
HL7 Table | HL7 Column | LexGrid Model Element | Notes | Intentionally Not mapped | Outstanding issues | ||||
---|---|---|---|---|---|---|---|---|---|
Model | <modelID> | <codingSchemeName> |
|
|
| ||||
| <name> | <formalName> |
|
|
| ||||
| <registeredName> | http://www.hl7.org/Library/data-model/RIM *1 |
|
|
| ||||
| <defaultLanguage> | en* |
|
|
| ||||
| <versionNumber> | <representsVersion> |
|
|
| ||||
| <isNative> | 0* |
|
|
| ||||
| <approximateNumberofConcepts> | Result of count on concept bearing table? |
|
|
| ||||
| <firstRelease> | MISSING |
|
|
| ||||
| <modifiedRelease> | MISSING |
|
|
| ||||
| <deprecated> | MISSING |
|
|
| ||||
| <description> | <entityDescription> |
|
|
| ||||
| <copyright> | MISSING |
|
|
| ||||
VCS_code_system | codeSystemId | codingScheme.registeredName | Moved to metadata file. |
|
| ||||
| codeSystemType | commonTypes::Properties | This is an HL7 specific code system property to distinguish internal vs external code systems. Moved to metadata file. |
|
| ||||
| codeSystemName | concept.conceptCode | Moved to metadata file. |
|
| ||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9d1fb5cf96237a0b-aad97299-4a6a4a4e-8847a3b2-1ed827ae69cb010bcc1213c2"><ac:plain-text-body><![CDATA[ |
| codeSystemName | concept.presentation['textualPresentation'].text |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> | ||
| fullName | codingScheme.formalName |
|
|
| ||||
| description | codingScheme.entityDescription | Moved to metadata file. |
|
| ||||
| releaseId | codingScheme.representsVersion | Moved to metadata file. |
|
| ||||
| copyrightNotice | codingScheme.copyright | Moved to metadata file. |
|
| ||||
| literal('en') | codingScheme.defaultLanguage | Moved to metadata file. |
|
| ||||
VCS_concept_code_xref | internalId |
|
|
|
| ||||
| Concept Code | concept.conceptCode |
| RIM db column conceptCode2 |
| ||||
| Case Difference | commonTypes::Properties | Basically a proprty property to outline whether there are case differences in the Concept Code or not (mainly used, but not restricted tor units of measure) | RIM db column codeInstance |
| ||||
| Status | concept.isActive=(conceptStatus=='A'?) |
| RIM db column conceptStatus |
| ||||
|
| concept.conceptStatus | Not used by HL7. A = isActive, R = retired |
|
| ||||
VCS_concept_designation | internalId |
| foreign key |
| designation | concept.presentation'textualPresentation'.text | |||
| designationSeq | ||||||||
| language | concept.presentation'textualPresentation'.language | Can be omitted if language = default language | ||||||
| preferredForLanguage | concept.presentation'textualPresentation'.isPreferred | |||||||
| |||||||||
VCS_concept_description | internalId | with(codeSystemderef(internalId).conceptderef(internalId)).definition | foreign key | ||||||
| |||||||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b7d4e0f8-dc62-46d5-9fa8-ddb9edbe603f"><ac:plain-text-body><![CDATA[ |
| designation | concept.presentation['textualPresentation'].text |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> | ||
| designationSeq |
|
|
|
| ||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a89a77a6-9698-4670-aee2-e4f23eca09b4"><ac:plain-text-body><![CDATA[ |
| description | concept.presentation'textualPresentation'.text |
| language | concept.presentation['textualPresentation'].language | Can be omitted if language = default language | literal('true') | concept.presentation'textualPresentation'.isPreferred |
| uniqueId() | concept.presentation'textualPresentation'.propertyId | |||||||
| literal('definition') | concept.presentation'textualPresentation'.property | |||||||
| |||||||||
| |||||||||
VCS_concept_property | internalId | foreign key | |||||||
| propertyCode | concept.property.property | |||||||
| propertySeq | Currently not used by HL7 | |||||||
| propartyValue | concept.property.text | |||||||
| language | concept.property.language | |||||||
| |||||||||
VCS_concept_relationship | relationCode | association.association | |||||||
| sourceInternalId | associationInstance.sourceConcept | |||||||
| targetInternalId | associationTarget.targetConcept | |||||||
| |||||||||
Model | modelID | systemRelease.releaseId | |||||||
| name | service.service | |||||||
| versionNumber | service.version | |||||||
| lastModifiedDate | systemRelease.releaseDate | |||||||
| developingOrganization | systemRelease.releaseAgency | |||||||
| committeeID | ||||||||
| description | systemRelease.entityDescription | |||||||
| concat('urn:oid:2.16.840.1.113883:',systemRelease.releaseId) | systemRelease.releaseURN | |||||||
| literal('true') | systemRelease.isLatest | Also have to set the prior release isLatest to false | ||||||
| preceding-sibling/releaseOrder + 1 | systemRelease.releaseOrder | |||||||
| |||||||||
Model | modelID | commonTypes::Properties | |||||||
(Special mapping for NCI) | name | codingScheme.localName | |||||||
| versionNumber | codingScheme.representsVersion | |||||||
| lastModifiedDate | commonTypes::Properties | |||||||
| developingOrganization | commonTypes::Properties | |||||||
| committeeID | ||||||||
| description | codingScheme.entityDescription | |||||||
| concat('urn:oid:2.16.840.1.113883:',systemRelease.releaseId) | codingScheme.registeredName | |||||||
| literal('true') | commonTypes::Properties | Also have to set the prior release isLatest to false | ||||||
| preceding-sibling/releaseOrder + 1 | commonTypes::Properties | |||||||
| |||||||||
| |||||||||
RIM_vocabulary_domain | vocDomain | codingscheme"VocabularyDomain".concept.conceptCode | Vocabulary Domains are carried in a code system of vocabulary domains. | ||||||
| codingscheme"VocabularyDomain".concept.presentation"textualPresentation".text | preferredPresentation | |||||||
| description | codingscheme"VocabularyDomain".concept.definition.text | preferredDefinition for code | ||||||
| restrictsDomain | codingscheme"VocabularyDomain".association"hasSubtype".sourceConcept | Should this be hasSubtype or something else? | ||||||
| codingscheme"VocabularyDomain".association"hasSubtype".targetconcept = vocDomain | ||||||||
| |||||||||
VOC_code_reference | usedToBuildValueSet | ||||||||
| referencesConceptCode | ...valueDomainEntry/conceptCode |
1) id is synthesized
2) Only stored if isHeadCode h1. false or includeReferencedCode true |
| ]]></ac:plain-text-body></ac:structured-macro> | ||||||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="98642dce-eae4-45d9-89b8-e059a661754c"><ac:plain-text-body><![CDATA[ |
| preferredForLanguage | concept.presentation['textualPresentation'].isPreferred |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4f66d8e1-d649-452d-a183-c730452e787d"><ac:plain-text-body><![CDATA[ | VCS_concept_description | internalId | with(codeSystem[deref(internalId)].concept[deref(internalId)]).definition | foreign key |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="2f1d75f1-fafa-4473-add7-1151cf1b6463"><ac:plain-text-body><![CDATA[ |
| description | concept.presentation['textualPresentation'].text |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0e65b333-74f4-422c-b9c3-42d6d28e2359"><ac:plain-text-body><![CDATA[ |
| language | concept.presentation['textualPresentation'].language |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0ac0b6f7-06f9-4378-bd40-2bcb24f8940d"><ac:plain-text-body><![CDATA[ |
| literal('true') | concept.presentation['textualPresentation'].isPreferred |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="df9ff77f-1ab3-48af-a946-50b216d07b37"><ac:plain-text-body><![CDATA[ |
| uniqueId() | concept.presentation['textualPresentation'].propertyId |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="99ecb16c-9cef-4340-9152-ae2e2b707f11"><ac:plain-text-body><![CDATA[ |
| literal('definition') | concept.presentation['textualPresentation'].property |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
VCS_concept_property | internalId |
| foreign key |
|
| ||
| propertyCode | concept.property.property |
|
|
| ||
| propertySeq |
| Currently not used by HL7 |
|
| ||
| propertyValue | concept.property.text |
|
|
| ||
| language | concept.property.language |
|
|
| ||
VCS_concept_relationship | relationCode | association.association |
|
|
| ||
| sourceInternalId | associationInstance.sourceConcept |
|
|
| ||
| targetInternalId | associationTarget.targetConcept |
|
|
| ||
Model | modelID | systemRelease.releaseId |
|
|
| ||
| name | service.service |
|
|
| ||
| versionNumber | service.version |
|
|
| ||
| lastModifiedDate | systemRelease.releaseDate |
|
|
| ||
| developingOrganization | systemRelease.releaseAgency |
|
|
| ||
| committeeID |
|
|
|
| ||
| description | systemRelease.entityDescription |
|
|
| ||
| concat('urn:oid:2.16.840.1.113883:',systemRelease.releaseId) | systemRelease.releaseURN |
|
|
| ||
| literal('true') | systemRelease.isLatest | Also have to set the prior release isLatest to false |
|
| ||
| preceding-sibling/releaseOrder + 1 | systemRelease.releaseOrder |
|
|
| ||
Model | modelID | commonTypes::Properties |
|
|
| ||
(Special mapping for NCI) | name | codingScheme.localName |
|
|
| ||
| versionNumber | codingScheme.representsVersion |
|
|
| ||
| lastModifiedDate | commonTypes::Properties |
|
|
| ||
| developingOrganization | commonTypes::Properties |
|
|
| ||
| committeeID |
|
|
|
| ||
| description | codingScheme.entityDescription |
|
|
| ||
| concat('urn:oid:2.16.840.1.113883:',systemRelease.releaseId) | codingScheme.registeredName |
|
|
| ||
| literal('true') | commonTypes::Properties | Also have to set the prior release isLatest to false |
|
| ||
| preceding-sibling/releaseOrder + 1 | commonTypes::Properties |
|
|
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a7986f10-ec55-4999-a1f9-fe88125d48fa"><ac:plain-text-body><![CDATA[ | RIM_vocabulary_domain | vocDomain | codingscheme["VocabularyDomain"].concept.conceptCode | Vocabulary Domains are carried in a code system of vocabulary domains. |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fa790a92-d7a2-4edf-87aa-ffe677e614d6"><ac:plain-text-body><![CDATA[ |
|
| codingscheme["VocabularyDomain"].concept.presentation["textualPresentation"].text | preferredPresentation |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f8a0227d-5a4d-4eb8-bcfd-96630eb85a8c"><ac:plain-text-body><![CDATA[ |
| description | codingscheme["VocabularyDomain"].concept.definition.text | preferredDefinition for code |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6dded0db-efcc-44c6-bbcd-4d02e0ad1a4b"><ac:plain-text-body><![CDATA[ |
| restrictsDomain | codingscheme["VocabularyDomain"].association["hasSubtype"].sourceConcept | Should this be hasSubtype or something else? |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a7d1543c-750e-4e4a-8e13-0d7623744a1a"><ac:plain-text-body><![CDATA[ |
|
| codingscheme["VocabularyDomain"].association["hasSubtype"].targetconcept = vocDomain |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="508c615b-7177-4eb5-9c9e-1edf6e726fec"><ac:plain-text-body><![CDATA[ | VOC_code_reference | usedToBuildValueSet | with(valueDomain[registeredName=current()/.]) |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
| referencesConceptCode | ...valueDomainEntry/conceptCode | 1) id is synthesized |
|
| ||
| referencesInternalId |
| Internal id's aren't exposed in lexGrid |
|
| ||
| relationship | ...valueDomainEntry/includeChildren = (relationship == 'hasSubtype') | Won't deal w/ non-hasSubtype relationships, but HL7 doesn't have any. |
|
| ||
| includeReferencedCode | ...valueDomainEntry/isSelectable |
| Not in current implementation |
| ||
| leafOnly |
| Not used in HL7 Model |
|
| ||
| directChildrenOnly |
| Not used in HL7 Model |
|
| ||
| isHeadCode |
| Only used when referenced in VOC_value_set_constructor. |
|
| ||
| referencesCodeSystem | .../valueDomainEntry.codingScheme | Shortcut in HL7 model. Must = VOC_value_set.basedOnCodeSystem |
|
| ||
| arbitraryUniqueValue() | .../valueDomainEntry.id |
|
|
| ||
VOC_registered_code_system | codeSystemId |
| VOC_registered_code_system isn't currently transferred to Lexgrid |
|
| ||
| sponsor |
|
|
|
| ||
| publisher |
|
|
|
| ||
| versionReportingMethod |
|
|
|
| ||
| licensingInformation |
| This field should really be transfer to copyright? |
|
| ||
| inUMLS |
|
|
|
| ||
| systemSpecificLocatorInfo |
|
|
|
| ||
| uri |
|
|
|
| ||
| isExternal |
|
|
|
| ||
VOC_value_set | valueSetId | valueDomain.registeredName |
|
|
| ||
| valueSetName | valueDomain.valueDomain | Name is the key in LexGrid, and is optional in HL7 - will need to be addressed. |
|
| ||
| basedOnCodeSystem | valueDomain.defaultCodingScheme | Optional in HL7, required in LexGrid. |
|
| ||
| description | valueDomain.entityDescription |
|
|
| ||
| definingExpression |
| Not used. |
|
| ||
| allCodes |
|
|
|
| ||
| isTaxonomicSet |
| No mapping available |
|
| ||
| valueSetAuthority |
| Included in valueSetID |
|
| ||
| valueSetNumber |
|
|
|
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="51622a98-0389-435b-90f1-5861fbe432e7"><ac:plain-text-body><![CDATA[ | VOC_value_set_constructor | usedToBuildValueSet | new valueDomainEntry(parent = valueDomain[valueSetId=current()/.],id=unique()) |
|
|
| ]]></ac:plain-text-body></ac:structured-macro> |
| includesOrExcludesSet | valueDomainEntry.includesValueDomain |
|
|
| ||
| includeHeadCode | valueDomainEntry.isSelectable |
|
|
| ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="86426379-0872-43e9-b77e-cce6d6df0cc5"><ac:plain-text-body><![CDATA[ |
|
| valueDomainEntry.conceptCode = VOC_code_reference[usedToBuildValueSet=current().usedToBuildValueSet and isHeadCode=true].referencesConceptCode | ||||
|
| referencesInternalId | Internal id's aren't exposed in lexGrid | ||||
|
| relationship | ...valueDomainEntry/includeChildren = (relationship h1. 'hasSubtype') | Won't deal w/ non-hasSubtype relationships, but HL7 doesn't have any. | |||
| includeReferencedCode | ...valueDomainEntry/isSelectable | Not in current implementation | ||||
|
| leafOnly | Not used in HL7 Model | ||||
|
| directChildrenOnly | Not used in HL7 Model | ||||
| isHeadCode | Only used when referenced in VOC_value_set_constructor. | |||||
| referencesCodeSystem | .../valueDomainEntry.codingScheme | Shortcut in HL7 model. Must = VOC_value_set.basedOnCodeSystem | ||||
| arbitraryUniqueValue() | .../valueDomainEntry.id | |||||
| |||||||
VOC_registered_code_system | codeSystemId | VOC_registered_code_system isn't currently transferred to Lexgrid | |||||
|
| sponsor | |||||
| publisher | ||||||
|
| versionReportingMethod | |||||
|
| licensingInformation | This field should really be transfer to copyright? | ||||
|
| inUMLS | |||||
|
| systemSpecificLocatorInfo | |||||
|
| uri | |||||
|
| isExternal | |||||
| |||||||
VOC_value_set | valueSetId | valueDomain.registeredName | |||||
|
| valueSetName | valueDomain.valueDomain | Name is the key in LexGrid, and is optional in HL7 - will need to be addressed. | |||
| basedOnCodeSystem | valueDomain.defaultCodingScheme | Optional in HL7, required in LexGrid. | ||||
| description | valueDomain.entityDescription | |||||
|
| definingExpression | Not used. | ||||
| allCodes | ||||||
|
| isTaxonomicSet | No mapping available | ||||
|
| valueSetAuthority | Included in valueSetID | ||||
|
| valueSetNumber | |||||
| |||||||
VOC_value_set_constructor | usedToBuildValueSet | ||||||
| includesOrExcludesSet | valueDomainEntry.includesValueDomain | |||||
| includeHeadCode | valueDomainEntry.isSelectable | |||||
| Assumes that there always is a head code. |
|
| ]]></ac:plain-text-body></ac:structured-macro> | |||
VOC_vocabulary_domain_value_set | representsVocDomain | representsVocDomain | (selector) |
|
|
| |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a1a6b1b9-b0fc-4ab4-82db-6cc4ce80908f"><ac:plain-text-body><![CDATA[ (selector) |
| definedByValueSet | codingscheme['VocabularyDomain'].concept[representsVocDomain].property['definedByValueSet'].text | have to get 'representsVocDomain' into supportedProperty header |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="264640fa-8963-4dab-ab8f-48ae06fa0916"><ac:plain-text-body><![CDATA[ |
| appliesInContext | codingscheme['VocabularyDomain'].concept[representsVocDomain].property['definedByValueSet'].usageContext | Have to get all the contexts in the VocabularyDomain supportedContext header |
|
| ]]></ac:plain-text-body></ac:structured-macro> |
VCS_release_version | releaseId | codingSchemeVersion.version | Note: this is not the way that things are done at the moment. At the moment, VCS_release_versions are loaded into systemRelease. Entered if one or more concept/relationship change. |
|
| ||
|
| valueDomainVersion.version | Set iff one or more value sets change |
|
| ||
| literal("false") | codingSchemeVersion.isComplete | All versions are delta's in this model |
|
| ||
| releaseAgency |
|
|
|
| ||
| releaseDate | codingSchemeVersion.versionDate |
|
|
| ||
| valueDomainVersion.versionDate |
|
|
| |||
| description | codingSchemeVersion.entityDescription |
|
|
| ||
| valueDomainVersion.entityDescription |
|
|
| |||
| editorID |
| There is no place for these currently. |
|
| ||
| forWhomID |
| There is no place for these currently. |
|
| ||
| concat('urn:oid:2.16.840.1.113883:',systemRelease.releaseId) |
| This corresponds to the containing system release when the sytem release occurs. It is empty until then. |
|
|
LexGrid Text Mapping
...
LexGrid Text Mapping | ||||||||||||
| Source Definition | Comments | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| Column | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| ||
Line | 1 | <codingSchemeName> | <codingSchemeId> | <defaultLanguage> | <formalName> | version |
| description | copyright | This must be the first line. It contains the coding scheme metadata. | ||
| 2 |
| <name> | description | Beginning of concepts in coding scheme. | |||||||
3 |
| <name> | description | Represent hierarchical 'hasSubtype' relationship nesting (name hasSubtype name) | ||||||||
| ||||||||||||
| ||||||||||||
| ||||||||||||
| Text Element | LexGrid | Comments | |||||||||
| Coding Scheme | |||||||||||
| codingSchemeName | codingScheme.codingSchemeName | ||||||||||
| codingSchemeId | codingScheme.codingSchemeId | ||||||||||
| defaultLanguage | codingScheme.defaultLanguage | ||||||||||
| formalName | codingScheme.formalName | ||||||||||
| version | codingScheme.representsVersion | Optional | |||||||||
| source | codingScheme.source | Optional | |||||||||
| description | codingScheme.entityDescription | Optional | |||||||||
| copyright | codingScheme.copyright | Optional | |||||||||
| Concepts | |||||||||||
| code | concept.conceptCode | Optional | |||||||||
| name | concept.conceptName | ||||||||||
| description | concept.entityDescription |
...