FHIR CI-Build

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

Example CodeSystem/deviceassociation-relationship (Turtle)

Responsible Owner: Orders and Observations Work GroupStandards Status: Informative

Raw Turtle (+ also see Turtle/RDF Format Specification)

Definition for Code SystemDeviceAssociationRelationshipCodes

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/CodeSystem/deviceassociation-relationship> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "deviceassociation-relationship"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2026-06-11T22:32:02.825+00:00"^^xsd:dateTime ]
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem deviceassociation-relationship</b></p><a name=\"deviceassociation-relationship\"> </a><a name=\"hcdeviceassociation-relationship\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/deviceassociation-relationship</code> defines the following codes in an undefined hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">patient-person<a name=\"deviceassociation-relationship-patient-person\"> </a></td><td>Patient/person</td><td>Associations involving a patient, related person, practitioner, or other person-like subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  used-by<a name=\"deviceassociation-relationship-used-by\"> </a></td><td>Used By</td><td>The device is used by the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  assigned-to<a name=\"deviceassociation-relationship-assigned-to\"> </a></td><td>Assigned To</td><td>The device is assigned to the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  leased-by<a name=\"deviceassociation-relationship-leased-by\"> </a></td><td>Leased By</td><td>The device is leased by the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  worn-by<a name=\"deviceassociation-relationship-worn-by\"> </a></td><td>Worn By</td><td>The device is worn by the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  carried-by<a name=\"deviceassociation-relationship-carried-by\"> </a></td><td>Carried By</td><td>The device is carried by the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  monitored-by<a name=\"deviceassociation-relationship-monitored-by\"> </a></td><td>Monitored By</td><td>The device is associated with the subject for monitoring.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">implantation-attachment<a name=\"deviceassociation-relationship-implantation-attachment\"> </a></td><td>Implantation/attachment</td><td>Associations involving implantation in, or attachment to, the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  implanted-in<a name=\"deviceassociation-relationship-implanted-in\"> </a></td><td>Implanted In</td><td>The device is implanted in the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  attached-to<a name=\"deviceassociation-relationship-attached-to\"> </a></td><td>Attached To</td><td>The device is attached to the subject.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">location<a name=\"deviceassociation-relationship-location\"> </a></td><td>Location</td><td>Associations involving a location where the device is installed, located, or stored.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  installed-at<a name=\"deviceassociation-relationship-installed-at\"> </a></td><td>Installed At</td><td>The device is installed at the subject location.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  located-at<a name=\"deviceassociation-relationship-located-at\"> </a></td><td>Located At</td><td>The device is located at the subject location.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  stored-at<a name=\"deviceassociation-relationship-stored-at\"> </a></td><td>Stored At</td><td>The device is stored at the subject location.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">device-to-device<a name=\"deviceassociation-relationship-device-to-device\"> </a></td><td>Device-to-device</td><td>Associations between the device and another device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  connected-to<a name=\"deviceassociation-relationship-connected-to\"> </a></td><td>Connected To</td><td>The device is connected to the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  controls<a name=\"deviceassociation-relationship-controls\"> </a></td><td>Controls</td><td>The device controls the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  programs<a name=\"deviceassociation-relationship-programs\"> </a></td><td>Programs</td><td>The device programs the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  calibrates<a name=\"deviceassociation-relationship-calibrates\"> </a></td><td>Calibrates</td><td>The device calibrates the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  maintains<a name=\"deviceassociation-relationship-maintains\"> </a></td><td>Maintains</td><td>The device maintains the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  powers<a name=\"deviceassociation-relationship-powers\"> </a></td><td>Powers</td><td>The device powers the subject device.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  communicates-with<a name=\"deviceassociation-relationship-communicates-with\"> </a></td><td>Communicates With</td><td>The device communicates with the subject device.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">organizational<a name=\"deviceassociation-relationship-organizational\"> </a></td><td>Organizational</td><td>Associations involving organizational responsibility or custody.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  managed-by<a name=\"deviceassociation-relationship-managed-by\"> </a></td><td>Managed By</td><td>The device is managed by the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  in-custody-of<a name=\"deviceassociation-relationship-in-custody-of\"> </a></td><td>In Custody Of</td><td>The device is in the custody of the subject.</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  maintained-by<a name=\"deviceassociation-relationship-maintained-by\"> </a></td><td>Maintained By</td><td>The device is maintained by the subject.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "oo"
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "normative"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/deviceassociation-relationship"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/deviceassociation-relationship>
  ] ; # 
  fhir:version [ fhir:v "6.0.0-ballot4"] ; # 
  fhir:name [ fhir:v "DeviceAssociationRelationshipCodes"] ; # 
  fhir:title [ fhir:v "DeviceAssociation Relationship Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "Example codes that describe the relationship between the device and the subject."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "patient-person" ] ;
     fhir:display [ fhir:v "Patient/person" ] ;
     fhir:definition [ fhir:v "Associations involving a patient, related person, practitioner, or other person-like subject." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "used-by" ] ;
       fhir:display [ fhir:v "Used By" ] ;
       fhir:definition [ fhir:v "The device is used by the subject." ]
     ] [
       fhir:code [ fhir:v "assigned-to" ] ;
       fhir:display [ fhir:v "Assigned To" ] ;
       fhir:definition [ fhir:v "The device is assigned to the subject." ]
     ] [
       fhir:code [ fhir:v "leased-by" ] ;
       fhir:display [ fhir:v "Leased By" ] ;
       fhir:definition [ fhir:v "The device is leased by the subject." ]
     ] [
       fhir:code [ fhir:v "worn-by" ] ;
       fhir:display [ fhir:v "Worn By" ] ;
       fhir:definition [ fhir:v "The device is worn by the subject." ]
     ] [
       fhir:code [ fhir:v "carried-by" ] ;
       fhir:display [ fhir:v "Carried By" ] ;
       fhir:definition [ fhir:v "The device is carried by the subject." ]
     ] [
       fhir:code [ fhir:v "monitored-by" ] ;
       fhir:display [ fhir:v "Monitored By" ] ;
       fhir:definition [ fhir:v "The device is associated with the subject for monitoring." ]
     ] )
  ] [
     fhir:code [ fhir:v "implantation-attachment" ] ;
     fhir:display [ fhir:v "Implantation/attachment" ] ;
     fhir:definition [ fhir:v "Associations involving implantation in, or attachment to, the subject." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "implanted-in" ] ;
       fhir:display [ fhir:v "Implanted In" ] ;
       fhir:definition [ fhir:v "The device is implanted in the subject." ]
     ] [
       fhir:code [ fhir:v "attached-to" ] ;
       fhir:display [ fhir:v "Attached To" ] ;
       fhir:definition [ fhir:v "The device is attached to the subject." ]
     ] )
  ] [
     fhir:code [ fhir:v "location" ] ;
     fhir:display [ fhir:v "Location" ] ;
     fhir:definition [ fhir:v "Associations involving a location where the device is installed, located, or stored." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "installed-at" ] ;
       fhir:display [ fhir:v "Installed At" ] ;
       fhir:definition [ fhir:v "The device is installed at the subject location." ]
     ] [
       fhir:code [ fhir:v "located-at" ] ;
       fhir:display [ fhir:v "Located At" ] ;
       fhir:definition [ fhir:v "The device is located at the subject location." ]
     ] [
       fhir:code [ fhir:v "stored-at" ] ;
       fhir:display [ fhir:v "Stored At" ] ;
       fhir:definition [ fhir:v "The device is stored at the subject location." ]
     ] )
  ] [
     fhir:code [ fhir:v "device-to-device" ] ;
     fhir:display [ fhir:v "Device-to-device" ] ;
     fhir:definition [ fhir:v "Associations between the device and another device." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "connected-to" ] ;
       fhir:display [ fhir:v "Connected To" ] ;
       fhir:definition [ fhir:v "The device is connected to the subject device." ]
     ] [
       fhir:code [ fhir:v "controls" ] ;
       fhir:display [ fhir:v "Controls" ] ;
       fhir:definition [ fhir:v "The device controls the subject device." ]
     ] [
       fhir:code [ fhir:v "programs" ] ;
       fhir:display [ fhir:v "Programs" ] ;
       fhir:definition [ fhir:v "The device programs the subject device." ]
     ] [
       fhir:code [ fhir:v "calibrates" ] ;
       fhir:display [ fhir:v "Calibrates" ] ;
       fhir:definition [ fhir:v "The device calibrates the subject device." ]
     ] [
       fhir:code [ fhir:v "maintains" ] ;
       fhir:display [ fhir:v "Maintains" ] ;
       fhir:definition [ fhir:v "The device maintains the subject device." ]
     ] [
       fhir:code [ fhir:v "powers" ] ;
       fhir:display [ fhir:v "Powers" ] ;
       fhir:definition [ fhir:v "The device powers the subject device." ]
     ] [
       fhir:code [ fhir:v "communicates-with" ] ;
       fhir:display [ fhir:v "Communicates With" ] ;
       fhir:definition [ fhir:v "The device communicates with the subject device." ]
     ] )
  ] [
     fhir:code [ fhir:v "organizational" ] ;
     fhir:display [ fhir:v "Organizational" ] ;
     fhir:definition [ fhir:v "Associations involving organizational responsibility or custody." ] ;
     fhir:concept ( [
       fhir:code [ fhir:v "managed-by" ] ;
       fhir:display [ fhir:v "Managed By" ] ;
       fhir:definition [ fhir:v "The device is managed by the subject." ]
     ] [
       fhir:code [ fhir:v "in-custody-of" ] ;
       fhir:display [ fhir:v "In Custody Of" ] ;
       fhir:definition [ fhir:v "The device is in the custody of the subject." ]
     ] [
       fhir:code [ fhir:v "maintained-by" ] ;
       fhir:display [ fhir:v "Maintained By" ] ;
       fhir:definition [ fhir:v "The device is maintained by the subject." ]
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.