This code system http://hl7.org/fhir/us/mcode/CodeSystem/obf-datatype-SettingCS defines the following codes:
| Code | Display | Definition |
| work | At or during work, in a workplace setting. | At or during work, in a workplace setting. |
| home | At home | At home |
| residental | In a residential setting | In a residential setting |
| school | A primary or secondary school | A primary or secondary school |
| vehicle | In a parked or moving vehicle | In a parked or moving vehicle |
| office | An non-manufacturing, indoor business setting | An non-manufacturing, indoor business setting |
| factory | A manufacturing-oriented business setting | A manufacturing-oriented business setting |
| business | A place of business | A place of business |
| restaurant | A setting where food is served | A setting where food is served |
| food_prep | A place where food is prepared | A place where food is prepared |
| worksite | Workplace that is primarily outdoors | Workplace that is primarily outdoors |
| manufacturing | A setting where manufacturing takes place | A setting where manufacturing takes place |
| owned | A building or residence that is owned | A building or residence that is owned |
| rental | A building or residence that is rented | A building or residence that is rented |
| dorm | Shared (unassisted) living residence, such as a dormitory or fraternity | Shared (unassisted) living residence, such as a dormitory or fraternity |
| foster | Foster care group home | Foster care group home |
| assisted | Assisted living or independent living facility | Assisted living or independent living facility |
| snf | Skilled nursing facility or other Long-Term Care | Skilled nursing facility or other Long-Term Care |
| shelter | Homeless or other type of shelter | Homeless or other type of shelter |
| hotel | Hotel or motel | Hotel or motel |
| psh | Permanent supportive housing for formerly homeless persons (such as SHP, S+C, or SRO Mod Rehab) | Permanent supportive housing for formerly homeless persons (such as SHP, S+C, or SRO Mod Rehab) |
| psych | Psychiatric hospital or other psychiatric facility | Psychiatric hospital or other psychiatric facility |
| detox | Substance abuse treatment facility or detox center | Substance abuse treatment facility or detox center |
| prison | Individual resides in a correctional facility, state hospital, jail, prison, youth authority facility, juvenile hall, boot camp or Boys Ranch. | Individual resides in a correctional facility, state hospital, jail, prison, youth authority facility, juvenile hall, boot camp or Boys Ranch. |
| transition | Transitional housing, residential provier program, or any type of halfway house | Transitional housing, residential provier program, or any type of halfway house |
| squat | A homeless camp, abandoned building, shantytown, bus/train/subway station/airport, or squatter area | A homeless camp, abandoned building, shantytown, bus/train/subway station/airport, or squatter area |
| outdoors | Outside of any shelter, e.g., on a street | Outside of any shelter, e.g., on a street |
| agricultural | Agricultural setting | Agricultural setting |
| farm | A farm with livestock | A farm with livestock |
| battlefield | On a battlefield | On a battlefield |
| deployed | Deployed to a military camp or area | Deployed to a military camp or area |
| ship | On a boat | On a boat |
| airplane | On an airplane | On an airplane |
| submarine | Aboard a submarine | Aboard a submarine |