This code system https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionWales defines the following codes:

CodeDisplay
19Own Home
20Permanent residence at nursing home, residential care home.
21Temporary residence at nursing home, residential care home.
22No fixed abode.
23Hospice.
29Temporary place of residence, when usually resident elsewhere (includes hotel, residential educational institution).
39Penal establishment, court or police station or police custody suite
51Patient transfer from other health board / trust
55Patient transfer within the same health board / trust.
65Local Authority Part 3 residential accommodations i.e. where care is provided.
66Local Authority foster care but not in Part 3 residential accommodation.
79Babies born in or on way to hospital. (Baby Activity)
87Patient transfer from non NHS hospital, includes private hospitals e.g. BUPA