This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Difference between revisions of "Migrating OIDs to FHIR"

From HL7Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
In V3 the only option for identifying instances, and code systems has always been an [http://www.hl7.org/oid/index.cfm OID]. Realms/countries that have ever been involved V3 will have a given number of OIDs for various things they need to identify, some of which would need to be exposed in FHIR as well.
 
In V3 the only option for identifying instances, and code systems has always been an [http://www.hl7.org/oid/index.cfm OID]. Realms/countries that have ever been involved V3 will have a given number of OIDs for various things they need to identify, some of which would need to be exposed in FHIR as well.
 +
 +
==(Best) Practices==
 +
First of all a check list:
 +
# Has the OID already been assigned a URI -- check: [http://hl7.org/fhir/datatypes.html#Coding] for a nice checklist
 +
# Does the OID or object(s) it represents have to be used in FHIR?
 +
#*if not: consider not assigning anything
 +
# Create a strategy for assigning URLs for what the OIDs represent. Valid strategies include:
 +
## Use symbolicNames from the branches and leaves leading to the OID: <nowiki>[</nowiki>base<nowiki>]</nowiki>/identifiers/ssn where <nowiki>[</nowiki>base<nowiki>]</nowiki> could be http://www.hl7.br
 +
## Use a number of branches for types of identifiers and add any sensible name as a leaf under that: <nowiki>[</nowiki>base<nowiki>]</nowiki>/id/ssn, <nowiki>[</nowiki>base<nowiki>]</nowiki>/vs/AdministrativeGender, <nowiki>[</nowiki>base<nowiki>]</nowiki>/cs/AdministrativeGender

Revision as of 21:09, 12 May 2015

Purpose

This page collects input from people looking into implementing FHIR and have vested interest in OIDs. The input will lead to 'best practice' guidance and 'things to consider' in order to help people make informed decisions.

Background

FHIR just like V2 and V3 before that has a way to identify objects. It normally uses a system/value or a system/code pair where the system determines the context for value or code. A system could be viewed as a namespace and is expressed using a uri. A URI could be a URN and a URL [1]. In FHIR the preferred system URI is a URL for readability reasons and the potential for resolving, i.e. a URL could 'lead somewhere'.

In V3 the only option for identifying instances, and code systems has always been an OID. Realms/countries that have ever been involved V3 will have a given number of OIDs for various things they need to identify, some of which would need to be exposed in FHIR as well.

(Best) Practices

First of all a check list:

  1. Has the OID already been assigned a URI -- check: [2] for a nice checklist
  2. Does the OID or object(s) it represents have to be used in FHIR?
    • if not: consider not assigning anything
  3. Create a strategy for assigning URLs for what the OIDs represent. Valid strategies include:
    1. Use symbolicNames from the branches and leaves leading to the OID: [base]/identifiers/ssn where [base] could be http://www.hl7.br
    2. Use a number of branches for types of identifiers and add any sensible name as a leaf under that: [base]/id/ssn, [base]/vs/AdministrativeGender, [base]/cs/AdministrativeGender