US Veterans Health Administration FHIR Map Set Implementation Guide
2.5.0 - 260401a United States of America flag

US Veterans Health Administration FHIR Map Set Implementation Guide - Downloaded Version 2.5.0 See the Directory of published versions

: Vpr2VAAppointment - TTL Representation

Draft as of 2026-03-31

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:StructureMap ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Vpr2VAAppointment"] ; # 
  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: StructureMap Vpr2VAAppointment</b></p><a name=\"Vpr2VAAppointment\"> </a><a name=\"hcVpr2VAAppointment\"> </a><pre class=\"fml\">#xD;\n<b>map</b><span style=\"color: navy\"> \"</span>http://va.gov/fhir/StructureMap/Vpr2VAAppointment<span style=\"color: navy\">\" = \"</span>Vpr2VAAppointment<span style=\"color: navy\">\"#xD;\n#xD;\n</span><b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VprAppointment.html\" title=\"VPR appointment\">http://va.gov/fhir/StructureDefinition/VprAppointment</a><span style=\"color: navy\">\" </span><b>alias </b>VprAppointment <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VprDemographics.html\" title=\"VPR demographics\">http://va.gov/fhir/StructureDefinition/VprDemographics</a><span style=\"color: navy\">\" </span><b>alias </b>VprDemographics <b>as </b><b>source</b>#xD;\n<b>uses</b><span style=\"color: navy\"> \"</span><a href=\"StructureDefinition-VAAppointment.html\" title=\"VAAppointment\">http://va.gov/fhir/StructureDefinition/VAAppointment</a><span style=\"color: navy\">\" </span><b>alias </b>VAAppointment <b>as </b><b>target</b>#xD;\n#xD;\n<b>group </b>map<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">appointment</span><span style=\"color: navy\"> : </span>VprAppointment, <b>source</b> <span style=\"color: maroon\">demographics</span><span style=\"color: navy\"> : </span>VprDemographics, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>VAAppointment<span style=\"color: navy\">)</span><b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {#xD;\n</span>  appointment.apptStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.patientClass<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.serviceCategory<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.apptStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#booked'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.patientClass<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#booked'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.serviceCategory<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#booked'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.apptStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#arrived'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.patientClass<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#arrived'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.serviceCategory<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#arrived'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.apptStatus<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#fulfilled'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.patientClass<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#fulfilled'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.serviceCategory<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <span style=\"color: blue\">'#fulfilled'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.extension<b> as </b><span style=\"color: maroon\">e0</span><span style=\"color: navy\">, </span> e0.url = <span style=\"color: blue\">'http://va.gov/fhir/StructureDefinition/resource-serviceConnection'</span><span style=\"color: navy\">, </span> e0.value = <span style=\"color: blue\">'http://va.gov/fhir/CodeSystem/409.1#SC \\\"Service Connected\\\"'</span><span style=\"color: navy\">, </span> e0.value = <span style=\"color: blue\">'http://va.gov/fhir/CodeSystem/409.1#NSC \\\"Not Service Connected\\\"'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.appointmentType<b> as </b><span style=\"color: maroon\">a0</span><span style=\"color: navy\">, </span> a0.text = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.dateTime<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.start = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.id<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.start = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.visitString<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.start = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.clinicStop<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.participant<b> as </b><span style=\"color: maroon\">p0</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.actor = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">, </span> p0.status = <span style=\"color: blue\">'#accepted'</span><span style=\"color: navy\">;</span>#xD;\n  appointment.clinicStop<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.participant<b> as </b><span style=\"color: maroon\">p0</span><span style=\"color: navy\">, </span> p0.type<b> as </b><span style=\"color: maroon\">t1</span><span style=\"color: navy\">, </span> t1.coding<b> as </b><span style=\"color: maroon\">c2</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">, </span> c2.code = <span style=\"color: blue\">'#PART'</span><span style=\"color: navy\">;</span>#xD;\n  demographics.familyName<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span> tgt.participant<b> as </b><span style=\"color: maroon\">p0</span><span style=\"color: navy\">, </span> p0.actor<b> as </b><span style=\"color: maroon\">a1</span><span style=\"color: navy\">, </span> a1.display = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a1.display = <span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span> a1.display = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n  appointment.type<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.description = <span style=\"color: maroon\">v</span><span style=\"color: navy\">;</span>#xD;\n<span style=\"color: navy\">}#xD;\n#xD;\n</span></pre></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "http://va.gov/fhir/StructureMap/Vpr2VAAppointment"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureMap/Vpr2VAAppointment>
  ] ; # 
  fhir:version [ fhir:v "2.5.0"] ; # 
  fhir:name [ fhir:v "Vpr2VAAppointment"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2026-03-31T16:09:38+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "VA"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "VA" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.va.gov" ]     ] )
  ] ) ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
fhir:l <urn:iso:std:iso:3166>       ] ;
fhir:code [ fhir:v "US" ] ;
fhir:display [ fhir:v "United States of America" ]     ] )
  ] ) ; # 
  fhir:structure ( [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/VprAppointment"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VprAppointment>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "VprAppointment" ]
  ] [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/VprDemographics"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VprDemographics>     ] ;
fhir:mode [ fhir:v "source" ] ;
fhir:alias [ fhir:v "VprDemographics" ]
  ] [
fhir:url [
fhir:v "http://va.gov/fhir/StructureDefinition/VAAppointment"^^xsd:anyURI ;
fhir:l <http://va.gov/fhir/StructureDefinition/VAAppointment>     ] ;
fhir:mode [ fhir:v "target" ] ;
fhir:alias [ fhir:v "VAAppointment" ]
  ] ) ; # 
  fhir:group ( [
fhir:name [ fhir:v "map" ] ;
fhir:typeMode [ fhir:v "type-and-types" ] ;
    ( fhir:input [
fhir:name [ fhir:v "appointment" ] ;
fhir:type [ fhir:v "VprAppointment" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "demographics" ] ;
fhir:type [ fhir:v "VprDemographics" ] ;
fhir:mode [ fhir:v "source" ]     ] [
fhir:name [ fhir:v "tgt" ] ;
fhir:type [ fhir:v "VAAppointment" ] ;
fhir:mode [ fhir:v "target" ]     ] ) ;
    ( fhir:rule [
fhir:name [ fhir:v "apptStatus" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "apptStatus" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "patientClass" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "patientClass" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "serviceCategory" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "serviceCategory" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "apptStatus" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "apptStatus" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#booked"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "patientClass" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "patientClass" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#booked"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "serviceCategory" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "serviceCategory" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#booked"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "apptStatus" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "apptStatus" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#arrived"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "patientClass" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "patientClass" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#arrived"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "serviceCategory" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "serviceCategory" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#arrived"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "apptStatus" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "apptStatus" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#fulfilled"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "patientClass" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "patientClass" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#fulfilled"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "serviceCategory" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "serviceCategory" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#fulfilled"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "extension" ] ;
fhir:variable [ fhir:v "e0" ]       ] [
fhir:context [ fhir:v "e0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "url" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "http://va.gov/fhir/StructureDefinition/resource-serviceConnection"           ]         ] )       ] [
fhir:context [ fhir:v "e0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "http://va.gov/fhir/CodeSystem/409.1#SC \"Service Connected\""           ]         ] )       ] [
fhir:context [ fhir:v "e0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "value" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "http://va.gov/fhir/CodeSystem/409.1#NSC \"Not Service Connected\""           ]         ] )       ] )     ] [
fhir:name [ fhir:v "type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "appointmentType" ] ;
fhir:variable [ fhir:v "a0" ]       ] [
fhir:context [ fhir:v "a0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "text" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "dateTime" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "dateTime" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "start" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "id" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "id" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "start" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "visitString" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "visitString" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "start" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "clinicStop" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "clinicStop" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "participant" ] ;
fhir:variable [ fhir:v "p0" ]       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "status" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#accepted"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "clinicStop" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "clinicStop" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "participant" ] ;
fhir:variable [ fhir:v "p0" ]       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "t1" ]       ] [
fhir:context [ fhir:v "t1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "coding" ] ;
fhir:variable [ fhir:v "c2" ]       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] [
fhir:context [ fhir:v "c2" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "code" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:String ;
fhir:v "#PART"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "familyName" ] ;
      ( fhir:source [
fhir:context [ fhir:v "demographics" ] ;
fhir:element [ fhir:v "familyName" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "participant" ] ;
fhir:variable [ fhir:v "p0" ]       ] [
fhir:context [ fhir:v "p0" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "actor" ] ;
fhir:variable [ fhir:v "a1" ]       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] [
fhir:context [ fhir:v "a1" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "display" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] [
fhir:name [ fhir:v "type" ] ;
      ( fhir:source [
fhir:context [ fhir:v "appointment" ] ;
fhir:element [ fhir:v "type" ] ;
fhir:variable [ fhir:v "v" ]       ] ) ;
      ( fhir:target [
fhir:context [ fhir:v "tgt" ] ;
fhir:contextType [ fhir:v "variable" ] ;
fhir:element [ fhir:v "description" ] ;
fhir:transform [ fhir:v "copy" ] ;
        ( fhir:parameter [
fhir:value [
a fhir:Id ;
fhir:v "v"           ]         ] )       ] )     ] )
  ] ) . #