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 DeviceAssociation/example (Turtle)

Maturity Level : N/A
Responsible Owner: Orders and Observations Work Group Standards Status : Informative Compartments : Device , Group , Patient , Practitioner , RelatedPerson

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

General DeviceAssociation Example

@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 -------------------------------------------------------------------

#   insert contents here  

<http://hl7.org/fhir/DeviceAssociation/example> a fhir:DeviceAssociation ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">[Put rendering here]</div>"^^rdf:XMLLiteral
  ] ; # 

  fhir:device [
     fhir:link <http://hl7.org/fhir/Device/prod1> ;

     fhir:l <http://hl7.org/fhir/Device/prod1> ;

     fhir:reference [ fhir:v "Device/prod1" ]
  ] ; # 
  fhir:status [

  fhir:status [ fhir:v "active"] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://acme.com/deviceassociations/id"^^xsd:anyURI ;
       fhir:l <http://acme.com/deviceassociations/id>
     ] ;
     fhir:value [ fhir:v "DA12345" ]
  ] ) ; # 
  fhir:relationship ( [

     fhir:coding ( [
       fhir:system [ fhir:v "http://hl7.org/fhir/deviceassociation-status"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "implanted" ]

       fhir:system [
         fhir:v "http://hl7.org/fhir/CodeSystem/deviceassociation-relationship"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/CodeSystem/deviceassociation-relationship>
       ] ;
       fhir:code [ fhir:v "patient" ] ;
       fhir:display [ fhir:v "Patient" ]

     ] )
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2023-01-01T08:00:00Z"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2023-12-31T17:00:00Z"^^xsd:dateTime ]

  ] ; # 
  fhir:associationStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/CodeSystem/deviceassociation-association-status"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/CodeSystem/deviceassociation-association-status>
       ] ;
       fhir:code [ fhir:v "implanted" ] ;
       fhir:display [ fhir:v "Implanted" ]
     ] )
  ] ; #   Association/operational state moved here  

  fhir:subject [
     fhir:link <http://hl7.org/fhir/Patient/pat1> ;

     fhir:l <http://hl7.org/fhir/Patient/pat1> ;

     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] . # 

<http://hl7.org/fhir/Device/prod1> a fhir:Device .

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

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


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.