FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

4.4.1.363 ValueSet http://hl7.org/fhir/ValueSet/namingsystem-identifier-system-type

Terminology Infrastructure icon Work Group  Maturity Level: 1 Trial Use Use Context: Country: World
Official URL: http://hl7.org/fhir/ValueSet/namingsystem-identifier-system-type Version: 6.0.0-ballot2
draft as of 2020-12-28 Computable Name: NamingSystemIdentifierSystemType
Flags: Immutable OID: 2.16.840.1.113883.11.21013

This value set is used in the following places:

Identifies the style of unique identifier used to identify a namespace.


Generated Narrative: ValueSet namingsystem-identifier-system-type

Last updated: 2024-11-01T18:14:34.482Z

Profile: Shareable ValueSet

 

This expansion generated 01 Nov 2024


Generated Narrative: ValueSet

Last updated: 2024-11-01T18:14:34.482Z

Profile: Shareable ValueSet

Expansion based on codesystem identifierType v4.0.0 (CodeSystem) icon

This value set contains 138 concepts

CodeSystemDisplayDefinition
  AC icon http://terminology.hl7.org/CodeSystem/v2-0203 Accreditation/Certification Identifier

Identifier that has been assigned by an accreditation or certification organization in specific fields, indicating a recognized skill

  ACSN icon http://terminology.hl7.org/CodeSystem/v2-0203 Accession ID

Accession Identifier

  AIN icon http://terminology.hl7.org/CodeSystem/v2-0203 Animal Identification Number (US Official)

A numbering system for the official identification of individual animals in the United States that provides a nationally unique identification number for each animal. The first two numbers on a tag are the numbers assigned to a specific State.

  AM icon http://terminology.hl7.org/CodeSystem/v2-0203 American Express

American Express

  AMA icon http://terminology.hl7.org/CodeSystem/v2-0203 American Medical Association Number

A physician identifier assigned by the AMA.

  AN icon http://terminology.hl7.org/CodeSystem/v2-0203 Account number

Account An identifier that is unique to an account.

  ANC icon http://terminology.hl7.org/CodeSystem/v2-0203 Account number Creditor

A more precise definition of an account number

  AND icon http://terminology.hl7.org/CodeSystem/v2-0203 Account number debitor

A more precise definition of an account number

  ANON icon http://terminology.hl7.org/CodeSystem/v2-0203 Anonymous identifier

An identifier for a living subject whose real identity is protected or suppressed

  ANT icon http://terminology.hl7.org/CodeSystem/v2-0203 Temporary Account Number

Temporary version of an Account Number

  APRN icon http://terminology.hl7.org/CodeSystem/v2-0203 Advanced Practice Registered Nurse number

An identifier that is unique to an advanced practice registered nurse within the jurisdiction of a certifying board

  ASID icon http://terminology.hl7.org/CodeSystem/v2-0203 Ancestor Specimen ID

A unique identifier for the ancestor specimen.

  BA icon http://terminology.hl7.org/CodeSystem/v2-0203 Bank Account Number

Bank Account Number

  BC icon http://terminology.hl7.org/CodeSystem/v2-0203 Bank Card Number

An identifier that is unique to a person's bank card

  BCFN icon http://terminology.hl7.org/CodeSystem/v2-0203 Birth Certificate File Number

The identifier used within the jurisdictional vital records office file system as an auxiliary means of accessing the record associated with the birth certificate.

  BCT icon http://terminology.hl7.org/CodeSystem/v2-0203 Birth Certificate

A number associated with a document identifying the event of a person's birth

  BR icon http://terminology.hl7.org/CodeSystem/v2-0203 Birth registry number

An identifier unique within the Assigning Authority that is the official legal record of a person's birth.

  BRN icon http://terminology.hl7.org/CodeSystem/v2-0203 Breed Registry Number

Breed Registry Number

  BSNR icon http://terminology.hl7.org/CodeSystem/v2-0203 Primary physician office number

Primary physician office number

  CAAI icon http://terminology.hl7.org/CodeSystem/v2-0203 Consumer Application Account Identifier

An identifier for the consumer (e.g., patient, caregiver) for an application such as a portal or App.

  CC icon http://terminology.hl7.org/CodeSystem/v2-0203 Cost Center number

Cost Center number

  CONM icon http://terminology.hl7.org/CodeSystem/v2-0203 Change of Name Document

A number associated with a document identifying a person's legal change of name.

  CY icon http://terminology.hl7.org/CodeSystem/v2-0203 County number

County number

  CZ icon http://terminology.hl7.org/CodeSystem/v2-0203 Citizenship Card

A number assigned by a person's country of residence to identify a person's citizenship.

  DC icon http://terminology.hl7.org/CodeSystem/v2-0203 Death Certificate ID

The identifier assigned to a death certificate, and printed on the death certificate when issued by a jurisdictional vital records office

  DCFN icon http://terminology.hl7.org/CodeSystem/v2-0203 Death Certificate File Number

The identifier used within the jurisdictional vital records office file system as an auxiliary means of accessing the record associated with the death certificate.

  DDS icon http://terminology.hl7.org/CodeSystem/v2-0203 Dentist license number

An identifier that is unique to a dentist within the jurisdiction of the licensing board

  DEA icon http://terminology.hl7.org/CodeSystem/v2-0203 Drug Enforcement Administration registration number

An identifier for an individual or organization relative to controlled substance regulation and transactions.

  DFN icon http://terminology.hl7.org/CodeSystem/v2-0203 Drug Furnishing or prescriptive authority Number

An identifier issued to a health care provider authorizing the person to write drug orders

  DI icon http://terminology.hl7.org/CodeSystem/v2-0203 Diner's Club card

Diner's Club card

  DL icon http://terminology.hl7.org/CodeSystem/v2-0203 Driver's license number

Driver's license number

  DN icon http://terminology.hl7.org/CodeSystem/v2-0203 Doctor number

Doctor number

  DO icon http://terminology.hl7.org/CodeSystem/v2-0203 Osteopathic License number

An identifier that is unique to an osteopath within the jurisdiction of a licensing board.

  DP icon http://terminology.hl7.org/CodeSystem/v2-0203 Diplomatic Passport

A number assigned to a diplomatic passport.

  DPM icon http://terminology.hl7.org/CodeSystem/v2-0203 Podiatrist license number

An identifier that is unique to a podiatrist within the jurisdiction of the licensing board.

  DR icon http://terminology.hl7.org/CodeSystem/v2-0203 Donor Registration Number

Donor Registration Number

  DS icon http://terminology.hl7.org/CodeSystem/v2-0203 Discover Card

Discover Card

  DSG icon http://terminology.hl7.org/CodeSystem/v2-0203 Diagnostic Study Group

Unique Identifier that groups several orders that are to be performed together.

  EI icon http://terminology.hl7.org/CodeSystem/v2-0203 Employee number

A number that uniquely identifies an employee to an employer.

  EN icon http://terminology.hl7.org/CodeSystem/v2-0203 Employer number

Employer number

  ESN icon http://terminology.hl7.org/CodeSystem/v2-0203 Staff Enterprise Number

An identifier that is unique to a staff member within an enterprise (as identified by the Assigning Authority).

  FDR icon http://terminology.hl7.org/CodeSystem/v2-0203 Fetal Death Report ID

The identifier assigned to a fetal death report, and printed on the fetal death report when issued by a jurisdictional vital records office

  FDRFN icon http://terminology.hl7.org/CodeSystem/v2-0203 Fetal Death Report File Number

The identifier used within the jurisdictional vital records office file system as an auxiliary means of accessing the record associated with the fetal death report certificate.

  FGN icon http://terminology.hl7.org/CodeSystem/v2-0203 Filler Group Number

Unique identifier assigned to a group of orders by the filler application.

  FI icon http://terminology.hl7.org/CodeSystem/v2-0203 Facility ID

Facility ID

  FILL icon http://terminology.hl7.org/CodeSystem/v2-0203 Filler Identifier

An identifier for a request where the identifier is issued by the person, or service, that produces the observations or fulfills the request.

  GI icon http://terminology.hl7.org/CodeSystem/v2-0203 Guarantor internal identifier

Guarantor internal identifier

  GIN icon http://terminology.hl7.org/CodeSystem/v2-0203 Animal Group Identifier (US Official)

Identifier that can be used to unambiguously describe a specific group of animals.

  GL icon http://terminology.hl7.org/CodeSystem/v2-0203 General ledger number

General ledger number

  GN icon http://terminology.hl7.org/CodeSystem/v2-0203 Guarantor external identifier

Guarantor external identifier

  HC icon http://terminology.hl7.org/CodeSystem/v2-0203 Health Card Number

Health Card Number

  IND icon http://terminology.hl7.org/CodeSystem/v2-0203 Indigenous/Aboriginal

A number assigned to a member of an indigenous or aboriginal group outside of Canada.

  IRISTEM icon http://terminology.hl7.org/CodeSystem/v2-0203 An IRI stem

An IRI string that can be prepended to the code to obtain a concept IRI for RDF applications. This should be a valid, absolute IRI as defined in RFC 3987. See https://hl7.org/fhir/rdf.html#iri-stem for details on how this value may be used.

  JHN icon http://terminology.hl7.org/CodeSystem/v2-0203 Jurisdictional health number

Jurisdictional health number

  LACSN icon http://terminology.hl7.org/CodeSystem/v2-0203 Laboratory Accession ID

A laboratory accession id is used in the laboratory domain.

  LANR icon http://terminology.hl7.org/CodeSystem/v2-0203 Lifelong physician number

Lifelong physician number

  LI icon http://terminology.hl7.org/CodeSystem/v2-0203 Labor and industries number

Labor and industries number

  L&I icon http://terminology.hl7.org/CodeSystem/v2-0203 Labor and industries number

Labor and industries number. Note that this was introduced erroneously (with an ampersand in the code value) many years ago.

  LN icon http://terminology.hl7.org/CodeSystem/v2-0203 License number

License number

  LR icon http://terminology.hl7.org/CodeSystem/v2-0203 Local Registry ID

Local Registry ID

  MA icon http://terminology.hl7.org/CodeSystem/v2-0203 Patient Medicaid number

Patient Medicaid number

  MB icon http://terminology.hl7.org/CodeSystem/v2-0203 Member Number

An identifier for the insured of an insurance policy (this insured always has a subscriber), usually assigned by the insurance carrier.

  MC icon http://terminology.hl7.org/CodeSystem/v2-0203 Patient's Medicare number

Patient's Medicare number

  MCD icon http://terminology.hl7.org/CodeSystem/v2-0203 Practitioner Medicaid number

Practitioner Medicaid number

  MCN icon http://terminology.hl7.org/CodeSystem/v2-0203 Microchip Number

Microchip Number

  MCR icon http://terminology.hl7.org/CodeSystem/v2-0203 Practitioner Medicare number

Practitioner Medicare number

  MCT icon http://terminology.hl7.org/CodeSystem/v2-0203 Marriage Certificate

A number associated with a document identifying the event of a person's marriage.

  MD icon http://terminology.hl7.org/CodeSystem/v2-0203 Medical License number

An identifier that is unique to a medical doctor within the jurisdiction of a licensing board.

  MI icon http://terminology.hl7.org/CodeSystem/v2-0203 Military ID number

A number assigned to an individual who has had military duty, but is not currently on active duty. The number is assigned by the DOD or Veterans' Affairs (VA).

  MR icon http://terminology.hl7.org/CodeSystem/v2-0203 Medical record number

An identifier that is unique to a patient within a set of medical records, not necessarily unique within an application.

  MRT icon http://terminology.hl7.org/CodeSystem/v2-0203 Temporary Medical Record Number

Temporary version of a Medical Record Number

  MS icon http://terminology.hl7.org/CodeSystem/v2-0203 MasterCard

MasterCard

  NBSNR icon http://terminology.hl7.org/CodeSystem/v2-0203 Secondary physician office number

Secondary physician office number

  NCT icon http://terminology.hl7.org/CodeSystem/v2-0203 Naturalization Certificate

A number associated with a document identifying a person's retention of citizenship in a particular country.

  NE icon http://terminology.hl7.org/CodeSystem/v2-0203 National employer identifier

National employer identifier

  NH icon http://terminology.hl7.org/CodeSystem/v2-0203 National Health Plan Identifier

National Health Plan Identifier

  NI icon http://terminology.hl7.org/CodeSystem/v2-0203 National unique individual identifier

National unique individual identifier

  NII icon http://terminology.hl7.org/CodeSystem/v2-0203 National Insurance Organization Identifier

National Insurance Organization Identifier

  NIIP icon http://terminology.hl7.org/CodeSystem/v2-0203 National Insurance Payor Identifier (Payor)

National Insurance Payor Identifier (Payor)

  NNxxx icon http://terminology.hl7.org/CodeSystem/v2-0203 National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code

National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code

  NP icon http://terminology.hl7.org/CodeSystem/v2-0203 Nurse practitioner number

An identifier that is unique to a nurse practitioner within the jurisdiction of a certifying board.

  NPI icon http://terminology.hl7.org/CodeSystem/v2-0203 National provider identifier

National provider identifier

  OBI icon http://terminology.hl7.org/CodeSystem/v2-0203 Observation Instance Identifier

Unique and persistent identifier for an observation instance

  OD icon http://terminology.hl7.org/CodeSystem/v2-0203 Optometrist license number

A number that is unique to an individual optometrist within the jurisdiction of the licensing board.

  PA icon http://terminology.hl7.org/CodeSystem/v2-0203 Physician Assistant number

An identifier that is unique to a physician assistant within the jurisdiction of a licensing board

  PC icon http://terminology.hl7.org/CodeSystem/v2-0203 Parole Card

A number identifying a person on parole.

  PCN icon http://terminology.hl7.org/CodeSystem/v2-0203 Penitentiary/correctional institution Number

A number assigned to individual who is incarcerated.

  PE icon http://terminology.hl7.org/CodeSystem/v2-0203 Living Subject Enterprise Number

An identifier that is unique to a living subject within an enterprise (as identified by the Assigning Authority).

  PEN icon http://terminology.hl7.org/CodeSystem/v2-0203 Pension Number

Pension Number

  PGN icon http://terminology.hl7.org/CodeSystem/v2-0203 Placer Group Number

Unique identifier assigned to a group of orders by the placer application.

  PHC icon http://terminology.hl7.org/CodeSystem/v2-0203 Public Health Case Identifier

Identifier assigned to a person during a case investigation as part of a public health event

  PHE icon http://terminology.hl7.org/CodeSystem/v2-0203 Public Health Event Identifier

Identifier assigned to an event of interest to public health

  PHO icon http://terminology.hl7.org/CodeSystem/v2-0203 Public Health Official ID

An identifier for a person working at a public health agency (PHA), assigned or issued by the agency

  PI icon http://terminology.hl7.org/CodeSystem/v2-0203 Patient internal identifier

A number that is unique to a patient within an Assigning Authority.

  PIN icon http://terminology.hl7.org/CodeSystem/v2-0203 Premises Identifier Number (US Official)

Identifier that uniquely identifies a geographic location in the US.

  PLAC icon http://terminology.hl7.org/CodeSystem/v2-0203 Placer Identifier

An identifier for a request where the identifier is issued by the person or service making the request.

  PN icon http://terminology.hl7.org/CodeSystem/v2-0203 Person number

A number that is unique to a living subject within an Assigning Authority.

  PNT icon http://terminology.hl7.org/CodeSystem/v2-0203 Temporary Living Subject Number

Temporary version of a Living Subject Number.

  PPIN icon http://terminology.hl7.org/CodeSystem/v2-0203 Medicare/CMS Performing Provider Identification Number

Medicare/CMS Performing Provider Identification Number

  PPN icon http://terminology.hl7.org/CodeSystem/v2-0203 Passport number

A unique number assigned to the document affirming that a person is a citizen of the country.

  PRC icon http://terminology.hl7.org/CodeSystem/v2-0203 Permanent Resident Card Number

Permanent Resident Card Number

  PRN icon http://terminology.hl7.org/CodeSystem/v2-0203 Provider number

A number that is unique to an individual provider, a provider group or an organization within an Assigning Authority.

  PT icon http://terminology.hl7.org/CodeSystem/v2-0203 Patient external identifier

Patient external identifier

  QA icon http://terminology.hl7.org/CodeSystem/v2-0203 QA number

QA number

  RI icon http://terminology.hl7.org/CodeSystem/v2-0203 Resource identifier

A generalized resource identifier.

  RN icon http://terminology.hl7.org/CodeSystem/v2-0203 Registered Nurse Number

An identifier that is unique to a registered nurse within the jurisdiction of the licensing board.

  RPH icon http://terminology.hl7.org/CodeSystem/v2-0203 Pharmacist license number

An identifier that is unique to a pharmacist within the jurisdiction of the licensing board.

  RR icon http://terminology.hl7.org/CodeSystem/v2-0203 Railroad Retirement number

An identifier for an individual enrolled with the Railroad Retirement Administration. Analogous to, but distinct from, a Social Security Number

  RRI icon http://terminology.hl7.org/CodeSystem/v2-0203 Regional registry ID

Regional registry ID

  RRP icon http://terminology.hl7.org/CodeSystem/v2-0203 Railroad Retirement Provider

Railroad Retirement Provider

  SAMN icon http://terminology.hl7.org/CodeSystem/v2-0203 SAMN# accession Number

The accession number for the BioSample data repository at the National Center for Biotechnology Information (NCBI)

  SB icon http://terminology.hl7.org/CodeSystem/v2-0203 Social Beneficiary Identifier

An identifier issued by a governmental organization to a person to identify the person should they apply for or receive social services and/or benefits

  SID icon http://terminology.hl7.org/CodeSystem/v2-0203 Specimen ID

Identifier for a specimen.

  SL icon http://terminology.hl7.org/CodeSystem/v2-0203 State license

State license

  SN icon http://terminology.hl7.org/CodeSystem/v2-0203 Subscriber Number

An identifier for a subscriber of an insurance policy which is unique for, and usually assigned by, the insurance carrier.

  SNBSN icon http://terminology.hl7.org/CodeSystem/v2-0203 State assigned NDBS card Identifier

The identifier on a Newborn Screening Dried Bloodspot (NDBS) card that is assigned by the state which provided the sample collection cards and to whom this information must be reported

  SNO icon http://terminology.hl7.org/CodeSystem/v2-0203 Serial Number

An identifier affixed to an item by the manufacturer when it is first made, where each item has a different identifier.

  SP icon http://terminology.hl7.org/CodeSystem/v2-0203 Study Permit

A number associated with a permit identifying a person who is a resident of a jurisdiction for the purpose of education.

  SR icon http://terminology.hl7.org/CodeSystem/v2-0203 State registry ID

State registry ID

  SRX icon http://terminology.hl7.org/CodeSystem/v2-0203 SRA Accession number

The accession number generated by the Sequence Read Archive (SRA) at the National Center for Biotechnology Information (NCBI) when sequence data are uploaded to NCBI.

  SS icon http://terminology.hl7.org/CodeSystem/v2-0203 Social Security number

Social Security number

  STN icon http://terminology.hl7.org/CodeSystem/v2-0203 Shipment Tracking Number

Identifier assigned to a package being shipped

  TAX icon http://terminology.hl7.org/CodeSystem/v2-0203 Tax ID number

Tax ID number

  TN icon http://terminology.hl7.org/CodeSystem/v2-0203 Treaty Number/ (Canada)

A number assigned to a member of an indigenous group in Canada.

  TPR icon http://terminology.hl7.org/CodeSystem/v2-0203 Temporary Permanent Resident (Canada)

A number associated with a document identifying a person's temporary permanent resident status.

  TRL icon http://terminology.hl7.org/CodeSystem/v2-0203 Training License Number

The license number used during training.

  U icon http://terminology.hl7.org/CodeSystem/v2-0203 Unspecified identifier

Unspecified identifier

  UDI icon http://terminology.hl7.org/CodeSystem/v2-0203 Universal Device Identifier

An identifier assigned to a device using the Unique Device Identification framework as defined by IMDRF (http://imdrf.org).

  UPIN icon http://terminology.hl7.org/CodeSystem/v2-0203 Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers

An identifier for a provider within the CMS/Medicare program. A globally unique identifier for the provider in the Medicare program.

  USID icon http://terminology.hl7.org/CodeSystem/v2-0203 Unique Specimen ID

A unique identifier for a specimen.

  VN icon http://terminology.hl7.org/CodeSystem/v2-0203 Visit number

Visit number

  VP icon http://terminology.hl7.org/CodeSystem/v2-0203 Visitor Permit

A number associated with a document identifying a person as a visitor of a jurisdiction or country.

  VS icon http://terminology.hl7.org/CodeSystem/v2-0203 VISA

VISA

  WC icon http://terminology.hl7.org/CodeSystem/v2-0203 WIC identifier

WIC identifier

  WCN icon http://terminology.hl7.org/CodeSystem/v2-0203 Workers' Comp Number

Workers' Comp Number

  WP icon http://terminology.hl7.org/CodeSystem/v2-0203 Work Permit

A number associated with a permit for a person who is granted permission to work in a country for a specified time period.

  XV icon http://terminology.hl7.org/CodeSystem/v2-0203 Health Plan Identifier

National unique health plan identifier required by the US Department of Health and Human Services, Centers for Medicare and Medicaid Services (CMS) in the US Realm.

  XX icon http://terminology.hl7.org/CodeSystem/v2-0203 Organization identifier

Organization identifier

Additional Designations and Language Displays

Codehttp://terminology.hl7.org/CodeSystem/hl7TermMaintInfra#preferredForLanguageDeutsch (German, de)
AC
ACSN
AIN
AM American Express American Express
AMA
AN Kontonummer Kontonummer
ANC
AND
ANON
ANT
APRN
ASID
BA
BC
BCFN
BCT
BR Geburtsregisternummer Geburtsregisternummer
BRN
BSNR
CAAI
CC
CONM
CY
CZ
DC
DCFN
DDS
DEA
DFN
DI Diners Club Diners Club
DL Führerscheinnummer Führerscheinnummer
DN Arztnummer Arztnummer
DO
DP
DPM
DR
DS Discover Card Discover Card
DSG
EI Arbeitnehmernummer Arbeitnehmernummer
EN Arbeitgebernummer Arbeitgebernummer
ESN
FDR
FDRFN
FGN
FI
FILL
GI interne ID des Zahlungspflichtigen interne ID des Zahlungspflichtigen
GIN
GL
GN externe ID des Zahlungspflichtigen externe ID des Zahlungspflichtigen
HC
IND
IRISTEM
JHN
LACSN
LANR
LI
L&I
LN
LR
MA Armennummer Armennummer
MB
MC Rentnernummer Rentnernummer
MCD
MCN
MCR
MCT
MD
MI
MR Krankenaktennummer Krankenaktennummer
MRT
MS MasterCard MasterCard
NBSNR
NCT
NE
NH
NI
NII Institutskennzeichen der Krankenkasse Institutskennzeichen der Krankenkasse
NIIP Vertragskassennummer (VKNR) Vertragskassennummer (VKNR)
NNxxx
NP
NPI
OBI
OD
PA Assistenzarztnummer Assistenzarztnummer
PC
PCN
PE
PEN
PGN
PHC
PHE
PHO
PI interne Patienten-ID interne Patienten-ID
PIN
PLAC
PN Personen-ID Personen-ID
PNT
PPIN
PPN Passnummer Passnummer
PRC
PRN
PT externe Patienten-ID externe Patienten-ID
QA
RI
RN
RPH
RR Seniorenkartennummer Seniorenkartennummer
RRI
RRP
SAMN
SB
SID
SL
SN
SNBSN
SNO
SP
SR
SRX
SS Sozialversicherungsnummer Sozialversicherungsnummer
STN
TAX Steueridentifikationsnummer Steueridentifikationsnummer
TN
TPR
TRL
U
UDI
UPIN
USID
VN Fallnummer Fallnummer
VP Besucherkennung Besucherkennung
VS VISA VISA
WC
WCN
WP
XV
XX Organisations-ID Organisations-ID

 

See the full registry of value sets defined as part of FHIR.


Explanation of the columns that may appear on this page:

Lvl A few code lists that FHIR defines are hierarchical - each code is assigned a level. For value sets, levels are mostly used to organize codes for user convenience, but may follow code system hierarchy - see Code System for further information
Source The source of the definition of the code (when the value set draws in codes defined elsewhere)
Code The code (used as the code in the resource instance). If the code is in italics, this indicates that the code is not selectable ('Abstract')
Display The display (used in the display element of a Coding). If there is no display, implementers should not simply display the code, but map the concept into their application
Definition An explanation of the meaning of the concept
Comments Additional notes about how to use the code