@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsv-serum> a fhir:PlanDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-lab-service-hsv-serum"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en-US"] ; # 
  fhir:text [
     fhir:status [ fhir:v "additional" ] ;
     fhir:div [ fhir:v "<div xml:lang=\"en-US\" xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-US\">\n            <p><b>Additional Narrative: </b></p>\n            <p><b>Laboratory service title</b>: laboratory service - HSV 1 &amp; 2 IgM on serum</p>\n            <p><b>id:</b> example-lab-service-hsv-serum</p>\n            <p><b>meta - profile:</b> hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition</p>\n            <p><b>CatalogReference:</b> <a href=\"Composition-example-lab-compendium-header.html\"> Composition/example-lab-compendium-header</a> </p>\n            <p><b>name:</b> HSVIgMserum</p>\n            <p><b>description:</b> serum HSV 1 &amp; 2 IgM screen test - may trigger titer on each virus when screen is positive</p>\n            <p><b>type:</b> panel</p>\n            <p><b>status:</b> draft</p>\n            <p><b>publisher:</b> HL7 International </p>\n            <p><b>contact:</b> HL7 Orders and Observations Work Group (<a href=\"http://www.hl7.org/Special/committees/orders/index.cfm\"> http://www.hl7.org/Special/committees/orders/index.cfm</a>)</p>\n            <p><b>useContext (task):</b> LABOE (laboratory test order entry task)</p>\n            <p><b>topic:</b> SNOMED CT: 68793005 |Serologic test|</p>\n            <p><b>related artifacts:</b></p> \n            <ul>\n                <li><b>composed-of:</b> <a href=\"PlanDefinition-example-lab-service-hsvt1-serum.html\"> PlanDefinition HSV 1 IgM titer on serum</a> </li>\n                <li><b>composed-of:</b> <a href=\"PlanDefinition-example-lab-service-hsvt2-serum.html\"> PlanDefinition HSV 2 IgM titer on serum</a> </li>\n             </ul>\n            <table class=\"grid\">\n                <tbody>\n                    <tr><td><b>action:</b></td><td colspan=\"5\">Herpes simplex virus 1 &amp; 2 IgM</td></tr>\n                    <tr><td/><td><b>extension:SpecimenRequested:</b></td><td colspan=\"4\"><a href=\"SpecimenDefinition-example-specimen-2ml-serum.html\"> SpecimenDefinition/example-specimen-2ml-serum</a></td></tr>\n                    <tr><td/><td><b>code:</b></td><td colspan=\"4\"> LOINC: 90229-6 |Herpes simplex virus 1 and 2 Ab.IgG and IgM panel - Serum or Plasma|</td></tr>\n                    <tr><td/><td><b>definition:</b></td><td colspan=\"4\"> <a href=\"ActivityDefinition-example-lab-procedure-hsv.html\"> ActivityDefinition/example-lab-procedure-rubella</a></td></tr>\n                    <tr><td/><td/><td><b>groupingBehavior</b></td><td colspan=\"3\"> logical-group</td></tr>\n                    <tr><td/><td/><td><b>selectionBehavior</b></td><td colspan=\"3\"> any</td></tr>\n                    <tr><td/><td/><td><b>action:</b></td><td colspan=\"3\"> <a href=\"ActivityDefinition-example-lab-procedure-hsvt1.html\"> ActivityDefinition/example-lab-procedure-hsvt1</a></td></tr>\n                    <tr><td/><td/><td/><td colspan=\"3\"><b>trigger (reflex):</b></td></tr>\n                    <tr><td/><td/><td/><td/><td><b>type:</b></td><td> named-event</td></tr>\n                    <tr><td/><td/><td/><td/><td><b>name:</b></td><td> HSV 1 IgM screen positive</td></tr>\n                    <tr><td/><td/><td><b>action:</b></td><td colspan=\"3\"> <a href=\"ActivityDefinition-example-lab-procedure-hsvt2.html\"> ActivityDefinition/example-lab-procedure-hsvt2</a></td></tr>\n                    <tr><td/><td/><td/><td colspan=\"3\"><b>trigger (reflex):</b></td></tr>\n                    <tr><td/><td/><td/><td/><td><b>type:</b></td><td> named-event</td></tr>\n                    <tr><td/><td/><td/><td/><td><b>name:</b></td><td> HSV 2 IgM screen positive</td></tr>\n                </tbody>\n            </table>\n        </div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/Composition/example-lab-compendium-header> ;
       fhir:reference [ fhir:v "Composition/example-lab-compendium-header" ]
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsv-serum"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsv-serum>
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ;
       fhir:l <urn:ietf:rfc:3986>
     ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.40.55.34.5" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "HSVIgMserum"] ; # 
  fhir:title [ fhir:v "laboratory service - HSV 1 & 2 IgM on serum"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/uv/order-catalog/CodeSystem/laboratory-service-definition-type"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/CodeSystem/laboratory-service-definition-type>
       ] ;
       fhir:code [ fhir:v "panel" ] ;
       fhir:display [ fhir:v "collection of tests and panels performed on one or more in vitro biologic specimens" ]
     ] )
  ] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v true] ; # 
  fhir:date [ fhir:v "2020-02-05T20:00:00+02:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "HL7 International / Orders and Observations"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/orders" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "serum HSV 1 & 2 IgM screen test - may trigger titer on each virus when screen is positive"] ; # 
  fhir:useContext ( [
     fhir:code [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/usage-context-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/usage-context-type>
       ] ;
       fhir:code [ fhir:v "task" ]
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "LABOE" ] ;
         fhir:display [ fhir:v "laboratory test order entry task" ]
       ] )
     ]
  ] ) ; # 
  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:topic ( [
     fhir:coding ( [
       a sct:68793005 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "68793005" ] ;
       fhir:display [ fhir:v "Serologic test" ]
     ] )
  ] ) ; # 
  fhir:relatedArtifact ( [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsvt1-serum"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsvt1-serum>
     ]
  ] [
     fhir:type [ fhir:v "composed-of" ] ;
     fhir:resource [
       fhir:v "http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsvt2-serum"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/PlanDefinition/example-lab-service-hsvt2-serum>
     ]
  ] ) ; # 
  fhir:action ( [
     fhir:extension ( [
       fhir:extension ( [
         fhir:extension ( [
           fhir:url [
             fhir:v "Material"^^xsd:anyURI ;
             fhir:l fhir:Material
           ] ;
           fhir:value [
             a fhir:Reference ;
             fhir:l <http://hl7.org/fhir/uv/order-catalog/SpecimenDefinition/example-specimen-2ml-serum> ;
             fhir:reference [ fhir:v "SpecimenDefinition/example-specimen-2ml-serum" ]
           ]
         ] ) ;
         fhir:url [
           fhir:v "ExclusiveGroup"^^xsd:anyURI ;
           fhir:l fhir:ExclusiveGroup
         ]
       ] ) ;
       fhir:url [
         fhir:v "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested>
       ]
     ] ) ;
     fhir:code [
       fhir:coding ( [
         a loinc:90229-6 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "90229-6" ] ;
         fhir:display [ fhir:v "Herpes simplex virus 1 and 2 Ab.IgG and IgM panel - Serum or Plasma" ]
       ] )
     ] ;
     fhir:groupingBehavior [ fhir:v "logical-group" ] ;
     fhir:selectionBehavior [ fhir:v "any" ] ;
     fhir:definition [
       a fhir:Canonical ;
       fhir:v "http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsv"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsv>
     ] ;
     fhir:action ( [
       fhir:trigger ( [
         fhir:type [ fhir:v "named-event" ] ;
         fhir:name [ fhir:v "HSV 1 IgM screen positive" ]
       ] ) ;
       fhir:definition [
         a fhir:Canonical ;
         fhir:v "http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsvt1"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsvt1>
       ]
     ] [
       fhir:trigger ( [
         fhir:type [ fhir:v "named-event" ] ;
         fhir:name [ fhir:v "HSV 2 IgM screen positive" ]
       ] ) ;
       fhir:definition [
         a fhir:Canonical ;
         fhir:v "http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsvt2"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/order-catalog/ActivityDefinition/example-lab-procedure-hsvt2>
       ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/uv/order-catalog/Composition/example-lab-compendium-header> a fhir:Uv .

<http://hl7.org/fhir/uv/order-catalog/SpecimenDefinition/example-specimen-2ml-serum> a fhir:Uv .

# -------------------------------------------------------------------------------------

