R6 Ballot (3rd Draft) FHIR CI-Build

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

Example CodeSystem/deviceassociation-status (Turtle)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative

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

Definition for Code SystemDeviceAssociation

@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-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "deviceassociation-status"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2025-04-01T12:16:37.966+11:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )

     fhir:lastUpdated [ fhir:v "2025-11-10T15:17:08.817+00:00"^^xsd:dateTime ]

  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem deviceassociation-status</b></p><a name=\"deviceassociation-status\"> </a><a name=\"hcdeviceassociation-status\"> </a><a name=\"deviceassociation-status-en-AU\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p>This case-sensitive code system <code>http://hl7.org/fhir/deviceassociation-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">implanted<a name=\"deviceassociation-status-implanted\"> </a></td><td>Implanted</td><td>The device is implanted in the patient.</td></tr><tr><td style=\"white-space:nowrap\">explanted<a name=\"deviceassociation-status-explanted\"> </a></td><td>Explanted</td><td>The device is no longer implanted in the patient. Note that this is not the value to be used for devices that have never been implanted. In those cases, no value or a specific value can be used.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"deviceassociation-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The association was entered in error and therefore nullified.</td></tr><tr><td style=\"white-space:nowrap\">attached<a name=\"deviceassociation-status-attached\"> </a></td><td>Attached</td><td>The device is attached to the patient but not implanted in the patient.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"deviceassociation-status-unknown\"> </a></td><td>Unknown</td><td>The association status of the device has not been determined.</td></tr></table></div>"^^rdf:XMLLiteral

     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem deviceassociation-status</b></p><a name=\"deviceassociation-status\"> </a><a name=\"hcdeviceassociation-status\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/deviceassociation-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">active<a name=\"deviceassociation-status-active\"> </a></td><td>Active</td><td>The DeviceAssociation record is active.</td></tr><tr><td style=\"white-space:nowrap\">inactive<a name=\"deviceassociation-status-inactive\"> </a></td><td>Inactive</td><td>The DeviceAssociation record is no longer active.</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"deviceassociation-status-entered-in-error\"> </a></td><td>Entered in Error</td><td>The DeviceAssociation record was entered in error.</td></tr><tr><td style=\"white-space:nowrap\">unknown<a name=\"deviceassociation-status-unknown\"> </a></td><td>Unknown</td><td>The status of the DeviceAssociation record is unknown.</td></tr></table></div>"^^rdf:XMLLiteral ]

  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;

     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 ;

       a fhir:Code ;

       fhir:v "oo"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/deviceassociation-status"^^xsd:anyURI] ; # 

  fhir:url [
     fhir:v "http://hl7.org/fhir/deviceassociation-status"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/deviceassociation-status>
  ] ; # 

  fhir:version [ fhir:v "6.0.0-ballot3"] ; # 
  fhir:name [ fhir:v "DeviceAssociation"] ; # 
  fhir:title [ fhir:v "DeviceAssociation Status Codes"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:publisher [ fhir:v "HL7 International"] ; # 
  fhir:description [ fhir:v "DeviceAssociation Status Codes"] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;

       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:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/deviceassociation-status"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/deviceassociation-status>

     fhir:l <http://hl7.org/fhir/ValueSet/deviceassociation-status>

  ] ; # 
  fhir:hierarchyMeaning [] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "implanted" ] ;
     fhir:display [ fhir:v "Implanted" ] ;
     fhir:definition [ fhir:v "The device is implanted in the patient." ]

     fhir:code [ fhir:v "active" ] ;
     fhir:display [ fhir:v "Active" ] ;
     fhir:definition [ fhir:v "The DeviceAssociation record is active." ]

  ] [
     fhir:code [ fhir:v "explanted" ] ;
     fhir:display [ fhir:v "Explanted" ] ;
     fhir:definition [ fhir:v "The device is no longer implanted in the patient. Note that this is not the value to be used for devices that have never been implanted. In those cases, no value or a specific value can be used." ]

     fhir:code [ fhir:v "inactive" ] ;
     fhir:display [ fhir:v "Inactive" ] ;
     fhir:definition [ fhir:v "The DeviceAssociation record is no longer active." ]

  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "The association was entered in error and therefore nullified." ]
  ] [
     fhir:code [ fhir:v "attached" ] ;
     fhir:display [ fhir:v "Attached" ] ;
     fhir:definition [ fhir:v "The device is attached to the patient but not implanted in the patient." ]

     fhir:definition [ fhir:v "The DeviceAssociation record was entered in error." ]

  ] [
     fhir:code [ fhir:v "unknown" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "The association status of the device has not been determined." ]

     fhir:definition [ fhir:v "The status of the DeviceAssociation record is unknown." ]

  ] ) . # 

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


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.