# LabServiceDefinition Profile - Order Catalog Implementation Guide v1.0.0

* [**Table Content**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **LabServiceDefinition Profile**

## Resource Profile: LabServiceDefinition Profile ( Experimental ) 

| | |
| :--- | :--- |
| *Official URL*:http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition | *Version*:1.0.0 |
| * Standards status: *[Informative](http://hl7.org/fhir/R5/versions.html#std-process) | *Computable Name*:LabServiceDefinition |
| *Other Identifiers:*OID:2.16.840.1.113883.4.642.40.55.42.18 | |

 
The LabServiceDefinition profile constrains the PlanDefinition resource to represent a laboratory diagnostic service for the clinicians using such services. Clinicians typically order laboratory services and use the results thereof in the course of their delivery of clinical care. 
A laboratory diagnostic service is a kind of clinical artifact that falls within the scope of PlanDefinition. It involves preparation of the patient, collection and delivery to the lab of biological/digital specimens , tests and panels performed on these specimens, interpretation of the results by the pathologist, and delivery of the results and diagnostic report back to the ordering clinician and possibly other recipients, including the patient. PlanDefinition conveys the general properties of the lab service. It describes the usage of the service, the contexts and situations in which this service is useful, and may also detail the goals that the laboratory service contributes to, such as screening or diagnostic of a particular pathology, monitoring of a long course treatment … 
An instance of PlanDefintion, thus, represents a laboratory service. It references one or more instances of ActivityDefinition, describing the service in terms of laboratory procedures, with their input and output observations. The PlanDefinition also references the instances of SpecimenDefinition representing the kinds of specimens needed to perform the service. 
A service may be a panel or super-panel grouping other laboratory services that may also be ordered independently. In that case, the PlanDefinition of the encompassing service references the PlanDefinition resources representing the included services (relatedArtifact, type composed-of). 
Reflex tests are represented as sub-actions grouped in a logical group with behavior any, meaning that any number of members of the group may be performed. Each sub-action is associated with a trigger conveying the named event, which reflexes it. 
A definition of a laboratory diagnostic service conforming to this profile can be used in a laboratory compendium/catalog as well as in other contexts. 
A laboratory service is fulfilled through the execution of one or more laboratory procedures. The logical combinations of these procedures may be conjunctions (execute each of them) or disjunctions (execute at most one of them), or a mixture of both logical structures. The closest resource that may represent a service as a set of activities logically combined with this flexibility is PlanDefinition. PlanDefinition is therefore selected to represent a laboratory service, and the laboratory procedures needed to achieve this service are represented by instances of ActivityDefinition referenced by PlanDefinition, from logical groups defined in PlanDefinition. 

**Usages:**

* Refer to this Profile: [Laboratory Service Definition](StructureDefinition-LabServiceDefinition.md)
* Examples for this Profile: [BloodElectrolytePanel](PlanDefinition-example-lab-panel-blood-electrolyte.md), [UrineCreatinineClearancePanel](PlanDefinition-example-lab-panel-urine24h-creatinine-clearance.md), [UrineCreatininePanel](PlanDefinition-example-lab-panel-urine24h-creatinine.md), [CMVIgM](PlanDefinition-example-lab-service-cmv-serum.md)... Show 9 more, [HSVIgMserum](PlanDefinition-example-lab-service-hsv-serum.md), [HVS1IgMtiter](PlanDefinition-example-lab-service-hsvt1-serum.md), [HVS2IgMtiter](PlanDefinition-example-lab-service-hsvt2-serum.md), [PotassiumSerumMeasurement](PlanDefinition-example-lab-service-potassium-serum.md), [RubellaIgM](PlanDefinition-example-lab-service-rubella-serum.md), [TORCH](PlanDefinition-example-lab-service-torch.md), [Toxoplasmagondii](PlanDefinition-example-lab-service-toxoplasma-serum.md), [VitaminDMeasurement](PlanDefinition-example-lab-service-vitamind-serum.md) and [SerumCreatinineTest](PlanDefinition-example-lab-test-serum-creatinine.md)
* CapabilityStatements using this Profile: [CapabilityStatement for custodian of catalog of laboratory in vitro diagnostic services](CapabilityStatement-cs-lab-service-custodian.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/resource/hl7.fhir.uv.order-catalog|current/StructureDefinition/StructureDefinition-LabServiceDefinition.json)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-LabServiceDefinition.csv), [Excel](StructureDefinition-LabServiceDefinition.xlsx), [Schematron](StructureDefinition-LabServiceDefinition.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "LabServiceDefinition",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "oo"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "informative",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/order-catalog/ImplementationGuide/ig-uv-order-catalog"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition",
  "identifier" : [{
    "system" : "urn:ietf:rfc:3986",
    "value" : "urn:oid:2.16.840.1.113883.4.642.40.55.42.18"
  }],
  "version" : "1.0.0",
  "name" : "LabServiceDefinition",
  "title" : "Laboratory Service Definition",
  "status" : "active",
  "experimental" : true,
  "date" : "2026-06-04T02:14:04+10:00",
  "publisher" : "HL7 International / Orders and Observations",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/orders"
    }]
  }],
  "description" : "The LabServiceDefinition profile constrains the PlanDefinition resource to represent a laboratory diagnostic service for the clinicians using such services. Clinicians typically order laboratory services and use the results thereof in the course of their delivery of clinical care. \r\n\r\nA laboratory diagnostic service is a kind of clinical artifact that falls within the scope of PlanDefinition. It involves preparation of the patient, collection and delivery to the lab of biological/digital specimens , tests and panels performed on these specimens, interpretation of the results by the pathologist, and delivery of the results and diagnostic report back to the ordering clinician and possibly other recipients, including the patient. PlanDefinition conveys the general properties of the lab service. It describes the usage of the service, the contexts and situations in which this service is useful, and may also detail the goals that the laboratory service contributes to, such as screening or diagnostic of a particular pathology, monitoring of a long course treatment ... \r\n\r\n An instance of PlanDefintion, thus, represents a laboratory service. It references one or more instances of ActivityDefinition, describing the service in terms of laboratory procedures, with their input and output observations. The PlanDefinition also references the instances of SpecimenDefinition representing the kinds of specimens needed to perform the service. \r\n\r\n A service may be a panel or super-panel grouping other laboratory services that may also be ordered independently. In that case, the PlanDefinition of the encompassing service references the PlanDefinition resources representing the included services (relatedArtifact, type composed-of). \r\n\r\n Reflex tests are represented as sub-actions grouped in a logical group with behavior any, meaning that any number of members of the group may be performed. Each sub-action is associated with a trigger conveying the named event, which reflexes it. \r\n\r\nA definition of a laboratory diagnostic service conforming to this profile can be used in a laboratory compendium/catalog as well as in other contexts. \r\n\r\nA laboratory service is fulfilled through the execution of one or more laboratory procedures. The logical combinations of these procedures may be conjunctions (execute each of them) or disjunctions (execute at most one of them), or a mixture of both logical structures. The closest resource that may represent a service as a set of activities logically combined with this flexibility is PlanDefinition.\r\nPlanDefinition is therefore selected to represent a laboratory service, and the laboratory procedures needed to achieve this service are represented by instances of ActivityDefinition referenced by PlanDefinition, from logical groups defined in PlanDefinition.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "objimpl",
    "uri" : "http://hl7.org/fhir/object-implementation",
    "name" : "Object Implementation Information"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "PlanDefinition",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/PlanDefinition",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "PlanDefinition",
      "path" : "PlanDefinition",
      "short" : "The definition of a plan for a series of actions",
      "comment" : "The LabServiceDefinition profile constrains the resource PlanDefinition to represent a laboratory diagnostic service made visible to clinicians: the potential consumers of this service."
    },
    {
      "id" : "PlanDefinition.extension",
      "path" : "PlanDefinition.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "PlanDefinition.extension:CatalogReference",
      "path" : "PlanDefinition.extension",
      "sliceName" : "CatalogReference",
      "short" : "Reference to a catalog exposing this service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/CatalogReference"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:ServiceBillingCode",
      "path" : "PlanDefinition.extension",
      "sliceName" : "ServiceBillingCode",
      "short" : "A billing code associated with the service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ServiceBillingCode"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:BillingSummary",
      "path" : "PlanDefinition.extension",
      "sliceName" : "BillingSummary",
      "short" : "Textual summary of billing applied to the service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/BillingSummary"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:ScheduleSummary",
      "path" : "PlanDefinition.extension",
      "sliceName" : "ScheduleSummary",
      "short" : "Textual summary of the schedule of the service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ScheduleSummary"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:LimitationSummary",
      "path" : "PlanDefinition.extension",
      "sliceName" : "LimitationSummary",
      "short" : "Textual summary  of limitations associated with the service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LimitationSummary"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:RegulatorySummary",
      "path" : "PlanDefinition.extension",
      "sliceName" : "RegulatorySummary",
      "short" : "Textual summary of regulations applicable to this service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/RegulatorySummary"]
      }]
    },
    {
      "id" : "PlanDefinition.extension:ResultInterpretationSummary",
      "path" : "PlanDefinition.extension",
      "sliceName" : "ResultInterpretationSummary",
      "short" : "markdown summary of result interpretation guidance for this service",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/ResultInterpretationSummary"]
      }]
    },
    {
      "id" : "PlanDefinition.title.extension",
      "path" : "PlanDefinition.title.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "PlanDefinition.title.extension:OtherTitle",
      "path" : "PlanDefinition.title.extension",
      "sliceName" : "OtherTitle",
      "short" : "Synonym in a specified language",
      "definition" : "Expresses a synonym of the laboratory service in a specified language",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/translation"]
      }]
    },
    {
      "id" : "PlanDefinition.type",
      "path" : "PlanDefinition.type",
      "short" : "panel | test",
      "comment" : "In this LabServiceDefiniton profile, PlanDefinition represents a laboratory service, which can be either a test or a panel. \r\nA test is a single measurement performed on a material/digital specimen, producing generally one result (sometimes zero, sometime more).\r\nA panel is a collection of tests and panels, performed on one or more material/digital specimens, and producing a collection of results.\r\nTherefore, the type is bound to a value set {\"test\", \"panel\"}. The original value bound to this element with binding strength \"extensible\" does not contain appropriate values for laboratory diagnostic services.",
      "mustSupport" : true,
      "binding" : {
        "strength" : "extensible",
        "valueSet" : "http://hl7.org/fhir/uv/order-catalog/ValueSet/laboratory-service-type"
      }
    },
    {
      "id" : "PlanDefinition.description",
      "path" : "PlanDefinition.description",
      "comment" : "This description provides details such as when this laboratory diagnostic service can be ordered, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the plan definition as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the plan definition is presumed to be the predominant language in the place the plan definition was created)."
    },
    {
      "id" : "PlanDefinition.description.extension",
      "path" : "PlanDefinition.description.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "PlanDefinition.description.extension:OtherDescription",
      "path" : "PlanDefinition.description.extension",
      "sliceName" : "OtherDescription",
      "short" : "Translation in a specified language",
      "definition" : "Translation of the description of the laboratory service in a specified language",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/translation"]
      }]
    },
    {
      "id" : "PlanDefinition.useContext",
      "path" : "PlanDefinition.useContext",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "code"
        },
        {
          "type" : "type",
          "path" : "value"
        },
        {
          "type" : "value",
          "path" : "value"
        }],
        "rules" : "open"
      },
      "comment" : "When multiple useContexts are specified, in this LabServiceDefinition profile, all contexts apply to the defined laboratory service.",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:Orderable",
      "path" : "PlanDefinition.useContext",
      "sliceName" : "Orderable",
      "label" : "orderable",
      "short" : "Service is orderable",
      "definition" : "The presence of this slice indicates that the service is open to laboratory order entry",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:Orderable.code",
      "path" : "PlanDefinition.useContext.code",
      "patternCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task"
      }
    },
    {
      "id" : "PlanDefinition.useContext:Orderable.value[x]",
      "path" : "PlanDefinition.useContext.value[x]",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "LABOE"
        }]
      }
    },
    {
      "id" : "PlanDefinition.useContext:PathologistInitiative",
      "path" : "PlanDefinition.useContext",
      "sliceName" : "PathologistInitiative",
      "label" : "pathologist",
      "short" : "Service may be added by pathologist",
      "definition" : "The presence of this slice indicates that the service may be added to an existing order by the pathologist after review of the preliminary results of this order",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:PathologistInitiative.code",
      "path" : "PlanDefinition.useContext.code",
      "patternCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task"
      }
    },
    {
      "id" : "PlanDefinition.useContext:PathologistInitiative.value[x]",
      "path" : "PlanDefinition.useContext.value[x]",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "LABRREV"
        }]
      }
    },
    {
      "id" : "PlanDefinition.useContext:OneGender",
      "path" : "PlanDefinition.useContext",
      "sliceName" : "OneGender",
      "short" : "service restricted to one gender",
      "definition" : "The presence of this slice indicates that the service is restricted to one gender of subject (female or male)",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:OneGender.code",
      "path" : "PlanDefinition.useContext.code",
      "patternCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "gender"
      }
    },
    {
      "id" : "PlanDefinition.useContext:OneGender.value[x]",
      "path" : "PlanDefinition.useContext.value[x]",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://hl7.org/fhir/ValueSet/administrative-gender"
      }
    },
    {
      "id" : "PlanDefinition.useContext:StoreSpecimen",
      "path" : "PlanDefinition.useContext",
      "sliceName" : "StoreSpecimen",
      "short" : "Specimens to be kept",
      "definition" : "The presence of this slice indicates that the specimens used to perform this service will be kept in long-time storage and available for re-testing in the future",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:StoreSpecimen.code",
      "path" : "PlanDefinition.useContext.code",
      "patternCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "task"
      }
    },
    {
      "id" : "PlanDefinition.useContext:StoreSpecimen.value[x]",
      "path" : "PlanDefinition.useContext.value[x]",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "patternCodeableConcept" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code" : "SSTOR"
        }]
      }
    },
    {
      "id" : "PlanDefinition.useContext:AgeRange",
      "path" : "PlanDefinition.useContext",
      "sliceName" : "AgeRange",
      "short" : "A patient age range applicable for this service",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.useContext:AgeRange.code",
      "path" : "PlanDefinition.useContext.code",
      "patternCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/usage-context-type",
        "code" : "age"
      }
    },
    {
      "id" : "PlanDefinition.useContext:AgeRange.value[x]",
      "path" : "PlanDefinition.useContext.value[x]",
      "short" : "patient age range applicable for this service",
      "type" : [{
        "code" : "Range"
      }]
    },
    {
      "id" : "PlanDefinition.usage",
      "path" : "PlanDefinition.usage",
      "short" : "Describes the clinical usage of the laboratory diagnostic service",
      "definition" : "A detailed description of how the laboratory diagnostic service is used from a clinical perspective.",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.topic",
      "path" : "PlanDefinition.topic",
      "short" : "categorization of the laboratory service",
      "definition" : "Descriptive topics related to the content of the laboratory service definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching. Some possible axes of categorization include laboratory specialty, kind of pathology, kind of biologic specimen tested, ...",
      "comment" : "Topics are usually chosen by the laboratory or the organization owning the catalog",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact",
      "path" : "PlanDefinition.relatedArtifact",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "type"
        }],
        "description" : "A laboratory service definition may have related artifacts of three kinds:\r\n1- documents expected from the ordering party when ordering this laboratory service. This kind is represented by the slice InputExpected, which is the only slice defined for this element. Example: Patient consent for genetic testing.\r\n2- any kind of bibliography, justification, documentation.\r\n3- replacement of the no longer usable current service, by another one.",
        "rules" : "open"
      },
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected",
      "path" : "PlanDefinition.relatedArtifact",
      "sliceName" : "InputDocumentExpected",
      "short" : "Input document expected by the laboratory service",
      "definition" : "Document that needs to be provided alongside the order for the laboratory service",
      "comment" : "Examples of documents that should accompany an order for this service include patient consent for genetic testing, patient agreement for payment of a non-reimbursable service, insurance formal acceptation of a specific test (e.g. prenatal karyotyping) ...",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.type",
      "path" : "PlanDefinition.relatedArtifact.type",
      "patternCode" : "depends-on"
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.label",
      "path" : "PlanDefinition.relatedArtifact.label",
      "label" : "Kind of document",
      "short" : "Name of the kind of document expected",
      "definition" : "Various kinds (or models) of documents may be expected as input to a laboratory service. This element provides an unambiguous short name for such a kind of document.",
      "comment" : "Examples of kinds of documents expected include:\r\n- the paper lab order scanned\r\n- the statement of acceptation of the service by the insurance provider (e.g. for a prenatal karyotyping)\r\n- the patient consent (e.g. for a genetic test)\r\n- the patient insurance affiliation scanned",
      "min" : 1
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.display",
      "path" : "PlanDefinition.relatedArtifact.display",
      "definition" : "A brief description of the document that need to be provided alongside the order of this laboratory service",
      "min" : 1
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.document",
      "path" : "PlanDefinition.relatedArtifact.document",
      "short" : "Document model",
      "definition" : "provides in the attachment a model for the kind of document expected",
      "comment" : "The model can be encoded in base64 in the data sub-element, with its mime type encoded in the contentType sub-element, or it can be external, accessible through the url sub-element."
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.document.url",
      "path" : "PlanDefinition.relatedArtifact.document.url",
      "short" : "url of the model of document expected",
      "definition" : "used if the model of document is accessible externally"
    },
    {
      "id" : "PlanDefinition.relatedArtifact:InputDocumentExpected.document.title",
      "path" : "PlanDefinition.relatedArtifact.document.title",
      "short" : "Title of the kind or model of document",
      "definition" : "May be sufficient to specify the document expected, in cases where no pre-defined needs to be communicated to the orderer of the service."
    },
    {
      "id" : "PlanDefinition.relatedArtifact:IsReplacedBy",
      "path" : "PlanDefinition.relatedArtifact",
      "sliceName" : "IsReplacedBy",
      "short" : "Reference to a service replacing the current non-usable one",
      "definition" : "The related artifact is another instance of PlanDefinition, which is a replacement for the current no longer usable laboratory service",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact:IsReplacedBy.type",
      "path" : "PlanDefinition.relatedArtifact.type",
      "definition" : "The type of relationship to the related artifact is successor, meaning that the related artifact is in this case another instance of PlanDefinition representing the laboratory service, which is substituted to the current instance.",
      "patternCode" : "successor"
    },
    {
      "id" : "PlanDefinition.relatedArtifact:IsReplacedBy.resource",
      "path" : "PlanDefinition.relatedArtifact.resource",
      "definition" : "The related resource, in this case a PlanDefinition constrained by the LabServiceDefinition profile",
      "min" : 1,
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition"]
      }]
    },
    {
      "id" : "PlanDefinition.relatedArtifact:Includes",
      "path" : "PlanDefinition.relatedArtifact",
      "sliceName" : "Includes",
      "short" : "Reference to a panel or test included by the current one",
      "definition" : "The related artifact is another instance of PlanDefinition, representing a laboratory service orderable on its own, and which is also part of the current one, either systematically or reflexed by a trigger.",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact:Includes.type",
      "path" : "PlanDefinition.relatedArtifact.type",
      "definition" : "The type of relationship to the related artifact is composed-of, meaning that the related artifact is another standalone laboratory service, which is also included as a sub-service of the current one.",
      "patternCode" : "composed-of"
    },
    {
      "id" : "PlanDefinition.relatedArtifact:Includes.resource",
      "path" : "PlanDefinition.relatedArtifact.resource",
      "definition" : "The related resource, in this case a PlanDefinition constrained by the LabServiceDefinition profile",
      "min" : 1,
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabServiceDefinition"]
      }]
    },
    {
      "id" : "PlanDefinition.relatedArtifact:Bibliography",
      "path" : "PlanDefinition.relatedArtifact",
      "sliceName" : "Bibliography",
      "short" : "Additional documentation, citation or justification",
      "definition" : "Related bibliographic references such as documentation, justification, or citation.",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.relatedArtifact:Bibliography.type",
      "path" : "PlanDefinition.relatedArtifact.type",
      "short" : "documentation | justification | citation",
      "definition" : "kind of associated bibliographic artifact",
      "binding" : {
        "strength" : "required",
        "valueSet" : "http://hl7.org/fhir/uv/order-catalog/ValueSet/bibliography-artifact-type"
      }
    },
    {
      "id" : "PlanDefinition.action",
      "path" : "PlanDefinition.action",
      "definition" : "The concrete action or group of actions conveyed by this laboratory diagnostic service",
      "comment" : "The LabServiceDefinition profile constrains the content of PlanDefinition to be a single action at the top level. This action may be implemented by a single laboratory procedure referenced as an instance of ActivityDefinition, or may be decomposed into any level of logical groups of more granular actions, each leaf action referencing an ActivityDefinition.",
      "min" : 1,
      "max" : "1"
    },
    {
      "id" : "PlanDefinition.action.extension",
      "path" : "PlanDefinition.action.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "rules" : "open"
      }
    },
    {
      "id" : "PlanDefinition.action.extension:SpecimenRequested",
      "path" : "PlanDefinition.action.extension",
      "sliceName" : "SpecimenRequested",
      "short" : "Specimens required for this action",
      "definition" : "A set of specimens requested as input by this laboratory service. The set is organized as a collection of one or more alternative groups (exactly one group should be chosen at specimen collection time). Each group describes one or more specimens that must all be provided, in case this group is the one chosen.",
      "comment" : "In case this element has multiple occurrence, all occurrences apply:                        Each set of specimen requirements represented by an occurrence of action.extension:SpecimenRequested must be fulfilled for the service described by the PlanDefinition instance.",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/SpecimenRequested"]
      }]
    },
    {
      "id" : "PlanDefinition.action.description",
      "path" : "PlanDefinition.action.description",
      "short" : "Brief description of the laboratory service and its method",
      "definition" : "A brief description of the laboratory service, which may mention the analytical method(s) used by the laboratory"
    },
    {
      "id" : "PlanDefinition.action.priority",
      "path" : "PlanDefinition.action.priority",
      "definition" : "Indicates how quickly this diagnostic panel or test should be performed."
    },
    {
      "id" : "PlanDefinition.action.code",
      "path" : "PlanDefinition.action.code",
      "short" : "Code of the laboratory service",
      "definition" : "A code that provides meaning to the laboratory service",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.action.code.coding",
      "path" : "PlanDefinition.action.code.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "short" : "Code for the laboratory service"
    },
    {
      "id" : "PlanDefinition.action.code.coding:orderCodeLOINC",
      "path" : "PlanDefinition.action.code.coding",
      "sliceName" : "orderCodeLOINC",
      "short" : "LOINC code for the laboratory service",
      "max" : "1",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.action.code.coding:orderCodeLOINC.system",
      "path" : "PlanDefinition.action.code.coding.system",
      "label" : "LOINC",
      "short" : "LOINC code system",
      "patternUri" : "http://loinc.org",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.action.trigger",
      "path" : "PlanDefinition.action.trigger",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "type"
        }],
        "description" : "Open slicing on trigger with a single slice defined to represent a reflex activity.",
        "rules" : "open"
      },
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.action.trigger:Reflex",
      "path" : "PlanDefinition.action.trigger",
      "sliceName" : "Reflex",
      "short" : "Reflex laboratory procedure",
      "definition" : "This trigger introduces a reflex laboratory procedure (test or panel) represended by the ActivityDefinition referenced by the action.definition. The trigger is expressed as a named event, and may also be refined with a data requirement and a condition.",
      "mustSupport" : true
    },
    {
      "id" : "PlanDefinition.action.trigger:Reflex.type",
      "path" : "PlanDefinition.action.trigger.type",
      "patternCode" : "named-event"
    },
    {
      "id" : "PlanDefinition.action.trigger:Reflex.name",
      "path" : "PlanDefinition.action.trigger.name",
      "definition" : "The natural language expression of the trigger for the reflex laboratory procedure",
      "min" : 1
    },
    {
      "id" : "PlanDefinition.action.groupingBehavior",
      "path" : "PlanDefinition.action.groupingBehavior",
      "patternCode" : "logical-group"
    },
    {
      "id" : "PlanDefinition.action.definition[x]",
      "path" : "PlanDefinition.action.definition[x]",
      "definition" : "A reference to an ActivityDefinition that describes the laboratory procedure to be performed, or to a PlanDefinition representing a child laboratory service, either embedded or reflexed by the current one.",
      "comment" : "The definition is present only when there is no grouping of sub-actions",
      "type" : [{
        "code" : "canonical",
        "targetProfile" : ["http://hl7.org/fhir/uv/order-catalog/StructureDefinition/LabProcedureDefinition"]
      }],
      "mustSupport" : true
    }]
  }
}

```
