Magentus Practice Management FHIR Implementation Guide
1.2.60 - ci-build

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.60) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## : Sample EOrders Task Status Patch - TTL Representation

Raw ttl | Download

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

     a fhir:Bundle ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "EOrdersStatusPatchBundle2"] ; #
      fhir:type [ fhir:v "transaction"] ; #
      fhir:entry ( [
        ( fhir:resource [
    a fhir:Parameters ;
    fhir:id [ fhir:v "group" ] ;
          ( fhir:parameter [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "replace"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.status"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "accepted"           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "add"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task"           ]         ] [
    fhir:name [ fhir:v "name" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "businessStatus"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                ( fhir:coding [
    fhir:system [
    fhir:v "http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem"^^xsd:anyURI ;
    fhir:l <http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem>               ] ;
    fhir:code [ fhir:v "booked" ]             ] )           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "delete"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.statusReason"           ]         ] )       ] )     ] ) ;
    fhir:request [
    fhir:method [ fhir:v "PATCH" ] ;
    fhir:url [
    fhir:v "Task?_id=task1"^^xsd:anyURI ;
    fhir:l fhir:Task?_id=task1       ]     ]
      ] [
        ( fhir:resource [
    a fhir:Parameters ;
    fhir:id [ fhir:v "child1" ] ;
          ( fhir:parameter [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "replace"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.status"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "accepted"           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "add"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task"           ]         ] [
    fhir:name [ fhir:v "name" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "businessStatus"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                ( fhir:coding [
    fhir:system [
    fhir:v "http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem"^^xsd:anyURI ;
    fhir:l <http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem>               ] ;
    fhir:code [ fhir:v "booked" ]             ] )           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "delete"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.statusReason"           ]         ] )       ] )     ] ) ;
    fhir:request [
    fhir:method [ fhir:v "PATCH" ] ;
    fhir:url [
    fhir:v "Task?_id=task2"^^xsd:anyURI ;
    fhir:l fhir:Task?_id=task2       ]     ]
      ] [
        ( fhir:resource [
    a fhir:Parameters ;
    fhir:id [ fhir:v "child2" ] ;
          ( fhir:parameter [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "replace"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.status"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "accepted"           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "add"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task"           ]         ] [
    fhir:name [ fhir:v "name" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "businessStatus"           ]         ] [
    fhir:name [ fhir:v "value" ] ;
    fhir:value [
    a fhir:CodeableConcept ;
                ( fhir:coding [
    fhir:system [
    fhir:v "http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem"^^xsd:anyURI ;
    fhir:l <http://fhir.geniesolutions.io/CodeSystem/eorders-task-business-status-codesystem>               ] ;
    fhir:code [ fhir:v "booked" ]             ] )           ]         ] )       ] [
    fhir:name [ fhir:v "operation" ] ;
            ( fhir:part [
    fhir:name [ fhir:v "type" ] ;
    fhir:value [
    a fhir:Code ;
    fhir:v "delete"           ]         ] [
    fhir:name [ fhir:v "path" ] ;
    fhir:value [
    a fhir:String ;
    fhir:v "Task.statusReason"           ]         ] )       ] )     ] ) ;
    fhir:request [
    fhir:method [ fhir:v "PATCH" ] ;
    fhir:url [
    fhir:v "Task?_id=task3"^^xsd:anyURI ;
    fhir:l fhir:Task?_id=task3       ]     ]
      ] ) . #