FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/03377a26-2f34-4a81-94ba-eefb0eb15d72

Packageca.on.health.idms
Resource TypeStructureDefinition
Id03377a26-2f34-4a81-94ba-eefb0eb15d72
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=ca.on.health.idms@1.0.9&canonical=https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New
URLhttps://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New
Version1.0.0
Statusactive
NameIDMSServiceRequestNew
DescriptionThis profile is for a Request that has not been submitted yet.
TypeServiceRequest
Kindresource

Resources that use this resource

StructureDefinition
IDMS-DocumentReferenceIDMSDocumentReference
Communication-ExternalCommunication External

Resources that this resource uses

CodeSystem
Drug-Review-PathwayIDMS Drug Review Pathways
StructureDefinition
NOC-ComplexNOC
Extension-Request-Contact-TypeRequest Contact Type
Extension-External-StatusRequest External Status
ExternalSubmissionDateServiceRequest - External Submission UpDate
Extension-Included-Medicinal-ProductIncluded Medicinal Product
LastExternalDateServiceRequest - Last External UpDate
Product-Monograph-ComplexProduct Monograph
ServiceRequest-Available-ActionsServiceRequest - Available Actions
Extension-ServiceRequest-External-IndicatorServiceRequest - External Indicator
LOI-IndicatorServiceRequest - Letter of Intent Indicator
Streamlined-IndicatorStreamlined Indicator
Extension-Submitting-OrganizationRequest - Submitting Organization
Extension-Third-Party-Submitter-IndicatorThird Party Submitter Indicator
Extension-IndicationIndication
NOC-Anticipated-DateNOC Anticipated Date
Extension-Request-Business-StatusRequest Business Status
RelatedManufacturerRequest Manufacturer
RelatedSubmissionConsentRequest Submission Consent
CreatedDateCreated Date
SearchableExtraStringSearchable Extra String
Extension-ServiceRequest-BrandNameBrand Name
Extension-Submission-Note-TypeNote Type
UpdatedDateUpdated Date
CreatedUserCreated User
MigrationNotesMigration Notes
UpdatedUserUpdated User
IDMS-Group-Request-ContactsIDMSGroupRequestContacts
IDMS-PractitionerRole-ContactIDMSPractitionerRoleCompanyContact
IDMS-PractitionerRole-EmployeeIDMSPractitionerRoleExternalOrganization
ValueSet
IDMS-New-Generic-ClassificationNew Generic Classification
Request-CategoryRequest Category
IDMS-Request-TypesRequest Types
IDMS-Submission-TypesSubmission Types
IDMS-Product-TypesProduct Types

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "03377a26-2f34-4a81-94ba-eefb0eb15d72",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2023-10-24T14:25:42.361+00:00",
    "source": "#4KusfayOiwBqqm7Q"
  },
  "url": "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New",
  "version": "1.0.0",
  "name": "IDMSServiceRequestNew",
  "status": "active",
  "description": "This profile is for a Request that has not been submitted yet.",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "ServiceRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ServiceRequest.extension",
        "path": "ServiceRequest.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "ServiceRequest.extension:requestManufacturer",
        "path": "ServiceRequest.extension",
        "sliceName": "requestManufacturer",
        "definition": "#### **_`IDMS:  This is the Manufacturer.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:submittingOrganization",
        "path": "ServiceRequest.extension",
        "sliceName": "submittingOrganization",
        "definition": "#### **_`IDMS:  This is the Submitting Organization,  most of the time it's the Manufacturer but it can also be a third party organization.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submitting-Organization"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:thirdPartySubmitterIndicator",
        "path": "ServiceRequest.extension",
        "sliceName": "thirdPartySubmitterIndicator",
        "definition": "#### **_`IDMS:  Indicates a third party organization submitted the request instead of the manufacturer.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Third-Party-Submitter-Indicator"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:contactType",
        "path": "ServiceRequest.extension",
        "sliceName": "contactType",
        "definition": "#### **_`IDMS:  The type of Contact, either Manufacturer or Vendor.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Contact-Type"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:medicinalProduct",
        "path": "ServiceRequest.extension",
        "sliceName": "medicinalProduct",
        "definition": "#### **_`IDMS: Reference to a MedicinalProductDefinition.  A request can have multiple references to medicinal products`_**",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Included-Medicinal-Product"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:NOCAnticipatedDate",
        "path": "ServiceRequest.extension",
        "sliceName": "NOCAnticipatedDate",
        "definition": "#### **_`IDMS: Notice of Compliance Anticipated Date`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Anticipated-Date"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:NOC",
        "path": "ServiceRequest.extension",
        "sliceName": "NOC",
        "definition": "#### **_`IDMS: Notice of Compliance Date and Control Number`_**",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/NOC-Complex"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:productMonograph",
        "path": "ServiceRequest.extension",
        "sliceName": "productMonograph",
        "definition": "#### **_`IDMS: Product Monograph Date and Control Number`_**",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Product-Monograph-Complex"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:streamlinedIndicator",
        "path": "ServiceRequest.extension",
        "sliceName": "streamlinedIndicator",
        "definition": "#### **_`IDMS: Streamlined Indicator`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Streamlined-Indicator"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:requestBusinessStatus",
        "path": "ServiceRequest.extension",
        "sliceName": "requestBusinessStatus",
        "definition": "#### **_`IDMS:  This is business status.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:indication",
        "path": "ServiceRequest.extension",
        "sliceName": "indication",
        "definition": "#### **_`IDMS:  Indication for the request.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Indication"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:submissionConsent",
        "path": "ServiceRequest.extension",
        "sliceName": "submissionConsent",
        "definition": "#### **_`IDMS:  The Terms Of Use Consent related to submitting this request.`_**",
        "max": "0",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:searchableExtraString",
        "path": "ServiceRequest.extension",
        "sliceName": "searchableExtraString",
        "definition": "#### **_`IDMS:  Used for doing multi element searches.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:createdUser",
        "path": "ServiceRequest.extension",
        "sliceName": "createdUser",
        "definition": "#### **_`IDMS:  Link to the user that created the record.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedUser"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:createdDate",
        "path": "ServiceRequest.extension",
        "sliceName": "createdDate",
        "definition": "#### **_`IDMS:  Date and Time the record was created.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:updatedUser",
        "path": "ServiceRequest.extension",
        "sliceName": "updatedUser",
        "definition": "#### **_`IDMS:  Link to the user that last updated the record.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedUser"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:updatedDate",
        "path": "ServiceRequest.extension",
        "sliceName": "updatedDate",
        "definition": "#### **_`IDMS:  Date and Time the record was last updated.`_**",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/UpdatedDate"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:migrationNotes",
        "path": "ServiceRequest.extension",
        "sliceName": "migrationNotes",
        "definition": "#### **_`IDMS:  Data that was migrated from DSTS that is no longer needed.`_**",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/MigrationNotes"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:external",
        "path": "ServiceRequest.extension",
        "sliceName": "externalIndicator",
        "definition": "#### **_`IDMS: Indicates it was submitted by external portal.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-External-Indicator"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:requestExternalStatus",
        "path": "ServiceRequest.extension",
        "sliceName": "requestExternalStatus",
        "definition": "#### **_`IDMS:  This is external status,  this is what external users see.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-External-Status"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:requestBrandName",
        "path": "ServiceRequest.extension",
        "sliceName": "requestBrandName",
        "definition": "#### **_`IDMS:  Brand Name of the external product stored in the contained resource.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-ServiceRequest-BrandName"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:externalUpdatedDate",
        "path": "ServiceRequest.extension",
        "sliceName": "externalUpdatedDate",
        "definition": "#### **_`IDMS: Last external facing update date.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/LastExternalDate"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:submissionDate",
        "path": "ServiceRequest.extension",
        "sliceName": "submissionDate",
        "definition": "#### **_`IDMS: External Submission Date.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/ExternalSubmissionDate"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:letterOfIntent",
        "path": "ServiceRequest.extension",
        "sliceName": "letterOfIntentIndicator",
        "definition": "#### **_`IDMS: Letter of Intent Indicator.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/LOI-Indicator"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.extension:letterOfIntent",
        "path": "ServiceRequest.extension",
        "sliceName": "availableActions",
        "definition": "#### **_`IDMS: Avaiblable Actions with optional Expiry Dates.`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/ServiceRequest-Available-Actions"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.identifier",
        "path": "ServiceRequest.identifier",
        "short": "Primary File Number",
        "definition": "#### **_`IDMS:  In the old system this is the Master File Number,  in the new system this has been renamed to the  Primary File Number.`_**",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.extension",
        "path": "ServiceRequest.identifier.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.identifier.use",
        "path": "ServiceRequest.identifier.use",
        "definition": "#### **_`IDMS: The Primary File number can change over time.  The current Primary File Number will have a use of 'offical',  previous Primary File Numbers will have a use of 'old'.`_**",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.type",
        "path": "ServiceRequest.identifier.type",
        "definition": "#### **_`IDMS: The type of request,  Primary, Additional Information or Reconsideration.    TO DO`_**",
        "max": "0"
      },
      {
        "id": "ServiceRequest.identifier.type.coding.system",
        "path": "ServiceRequest.identifier.type.coding.system",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.type.coding.code",
        "path": "ServiceRequest.identifier.type.coding.code",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.type.coding.display",
        "path": "ServiceRequest.identifier.type.coding.display",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.system",
        "path": "ServiceRequest.identifier.system",
        "short": "Primary File Number System",
        "definition": "IDMS's Primary File Number System",
        "min": 1,
        "fixedUri": "urn:idms:request:primaryfilenumber"
      },
      {
        "id": "ServiceRequest.identifier.value",
        "path": "ServiceRequest.identifier.value",
        "short": "Primary File Number",
        "definition": "#### **_`IDMS:  Primary File Number.  The format is P12345678 ,  where P is static,  12345678 is a random number. Once it's submitted the submitted date is appended to the number : P12345678-2023-10-25.  `_**",
        "min": 1
      },
      {
        "id": "ServiceRequest.identifier.period",
        "path": "ServiceRequest.identifier.period",
        "max": "0"
      },
      {
        "id": "ServiceRequest.identifier.assigner",
        "path": "ServiceRequest.identifier.assigner",
        "max": "0"
      },
      {
        "id": "ServiceRequest.instantiatesCanonical",
        "path": "ServiceRequest.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "ServiceRequest.instantiatesUri",
        "path": "ServiceRequest.instantiatesUri",
        "max": "0"
      },
      {
        "id": "ServiceRequest.basedOn",
        "path": "ServiceRequest.basedOn",
        "max": "0"
      },
      {
        "id": "ServiceRequest.replaces",
        "path": "ServiceRequest.replaces",
        "definition": "#### **_`IDMS: This is a ServiceRequest reference. The UI allows the user to link one submission to another, this is where that link is stored.  `_**"
      },
      {
        "id": "ServiceRequest.requisition",
        "path": "ServiceRequest.requisition",
        "max": "0"
      },
      {
        "id": "ServiceRequest.status",
        "path": "ServiceRequest.status",
        "definition": "#### **_`IDMS: Status of Request,  we are required to use FHIR status codes . There is a statechart that translates these to IDMS business terms`_**"
      },
      {
        "id": "ServiceRequest.intent",
        "path": "ServiceRequest.intent",
        "definition": "#### **_`IDMS: This is a fixed value of 'order` ._**",
        "fixedCode": "order"
      },
      {
        "id": "ServiceRequest.category",
        "path": "ServiceRequest.category",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.version"
            }
          ],
          "rules": "open"
        },
        "short": "Classifications of the request",
        "definition": "#### **_`IDMS: Product Type , Submission Type  and Request Type .`_**",
        "max": "6"
      },
      {
        "id": "ServiceRequest.category:RequestCategory",
        "path": "ServiceRequest.category",
        "sliceName": "RequestCategory",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Request-Category-Types"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Request Category",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category"
        }
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:RequestCategory.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestCategory.text",
        "path": "ServiceRequest.category.text",
        "short": "Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'",
        "max": "0",
        "fixedString": "RequestCategory"
      },
      {
        "id": "ServiceRequest.category:ProductType",
        "path": "ServiceRequest.category",
        "sliceName": "ProductType",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:ProductType.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ProductType.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "short": "IDMS Product Submission Code System",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Product-Types"
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "short": "Type of Code",
        "definition": "This being used as the discriminator,  it is the type of code.  (The version of the code system is not relevant in IDMS so this is being reused)",
        "max": "0",
        "fixedString": "ProductType"
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "short": "This is the Product Type Code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "List of Product Types",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types"
        }
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "short": "Display Value for the Product Type code",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:ProductType.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ProductType.text",
        "path": "ServiceRequest.category.text",
        "short": "Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'",
        "max": "0",
        "fixedString": "ProductType"
      },
      {
        "id": "ServiceRequest.category:SubmissionType",
        "path": "ServiceRequest.category",
        "sliceName": "SubmissionType",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "short": "Type of Code",
        "definition": "This being used as the discriminator,  it is the type of code.  (The version of the code system is not relevant in IDMS so this is being reused)",
        "max": "0",
        "fixedString": "SubmissionType"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "short": "This is the Submission Code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Submission Types",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types"
        }
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "short": "This is the display Value for the Submission Code",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:SubmissionType.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:SubmissionType.text",
        "path": "ServiceRequest.category.text",
        "short": "Distinquishes this as the SubmissionType Code,  has a fixed value of 'SubmissionType'",
        "max": "0",
        "fixedString": "SubmissionType"
      },
      {
        "id": "ServiceRequest.category:RequestType",
        "path": "ServiceRequest.category",
        "sliceName": "RequestType",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:RequestType.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestType.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal"
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "short": "Type of Code",
        "definition": "This being used as the discriminator,  it is the type of code.  (The version of the code system is not relevant in IDMS so this is being reused)",
        "max": "0",
        "fixedString": "RequestType"
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "binding": {
          "strength": "required",
          "description": "Request Types",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Request-Types"
        },
        "fixedString": "REQUEST-TYPE-INITIAL",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "short": "This is the display Value for the Request Type",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:RequestType.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:RequestType.text",
        "path": "ServiceRequest.category.text",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway",
        "path": "ServiceRequest.category",
        "sliceName": "ReviewPathway",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Drug-Review-Pathway"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "short": "Type of Code",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "binding": {
          "strength": "required",
          "description": "Request Types",
          "valueSet": "https://health.gov.on.ca/idms/fhir/CodeSystem/Drug-Review-Pathway"
        },
        "min": 1
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "short": "This is the display Value for the Request Type",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:ReviewPathway.text",
        "path": "ServiceRequest.category.text",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:GenericClassification",
        "path": "ServiceRequest.category",
        "sliceName": "GenericClassification",
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.extension",
        "path": "ServiceRequest.category.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding",
        "path": "ServiceRequest.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.extension",
        "path": "ServiceRequest.category.coding.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.system",
        "path": "ServiceRequest.category.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Generic-Classification"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.version",
        "path": "ServiceRequest.category.coding.version",
        "short": "Type of Code",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.code",
        "path": "ServiceRequest.category.coding.code",
        "binding": {
          "strength": "required",
          "description": "Request Types",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-New-Generic-Classification"
        },
        "min": 1
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.display",
        "path": "ServiceRequest.category.coding.display",
        "short": "This is the display Value for the Request Type",
        "min": 1
      },
      {
        "id": "ServiceRequest.category:GenericClassification.coding.userSelected",
        "path": "ServiceRequest.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "ServiceRequest.category:GenericClassification.text",
        "path": "ServiceRequest.category.text",
        "max": "0"
      },
      {
        "id": "ServiceRequest.priority",
        "path": "ServiceRequest.priority",
        "definition": "#### **_`IDMS: Populate with either  'routine' or 'urgent' . For the frontend use https://health.gov.on.ca/idms/fhir/ValueSet/Request-Priority  to only show these 2 options.  `_**"
      },
      {
        "id": "ServiceRequest.doNotPerform",
        "path": "ServiceRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "ServiceRequest.code",
        "path": "ServiceRequest.code",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail",
        "path": "ServiceRequest.orderDetail",
        "definition": "#### **_`IDMS: Pre-NOC, Priority, Date Received, Title `_**",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail.extension",
        "path": "ServiceRequest.orderDetail.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail.modifierExtension",
        "path": "ServiceRequest.orderDetail.modifierExtension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail.parameterFocus",
        "path": "ServiceRequest.orderDetail.parameterFocus",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail.parameter",
        "path": "ServiceRequest.orderDetail.parameter",
        "definition": "#### **_`IDMS: This defines which attribute is being stored ( Pre-NOC, Priority, Date Received, Title) .`_**"
      },
      {
        "id": "ServiceRequest.orderDetail.parameter.eExtension",
        "path": "ServiceRequest.orderDetail.parameter.extension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.orderDetail.parameter.modifierExtension",
        "path": "ServiceRequest.orderDetail.parameter.modifierExtension",
        "max": "0"
      },
      {
        "id": "ServiceRequest.quantity[x]",
        "path": "ServiceRequest.quantity[x]",
        "max": "0"
      },
      {
        "id": "ServiceRequest.subject",
        "path": "ServiceRequest.subject",
        "short": "Manufacturer",
        "definition": "#### **_`IDMS: This is a reference to a Group that contains a list of Contacts.`_**",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Group-Request-Contacts"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.focus",
        "path": "ServiceRequest.focus",
        "max": "0"
      },
      {
        "id": "ServiceRequest.encounter",
        "path": "ServiceRequest.encounter",
        "max": "0"
      },
      {
        "id": "ServiceRequest.occurrence[x]",
        "path": "ServiceRequest.occurrence[x]",
        "max": "0"
      },
      {
        "id": "ServiceRequest.asNeeded[x]",
        "path": "ServiceRequest.asNeeded[x]",
        "max": "0"
      },
      {
        "id": "ServiceRequest.authoredOn",
        "path": "ServiceRequest.authoredOn",
        "comment": "#### **_`IDMS: This is the Date Received , this can be changed to any date.`_**"
      },
      {
        "id": "ServiceRequest.requester",
        "path": "ServiceRequest.requester",
        "definition": "#### **_`IDMS: Who submitted the request, it is a reference to a IDMS_PractitionerRole .`_**",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Employee",
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Contact"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.performerType",
        "path": "ServiceRequest.performerType",
        "max": "0"
      },
      {
        "id": "ServiceRequest.performer",
        "path": "ServiceRequest.performer",
        "short": "Request Modifier",
        "definition": "#### **_`IDMS: Who is Assigned To the request, it is a reference to a IDMS_PractitionerRole .`_**",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Employee"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.location",
        "path": "ServiceRequest.location",
        "max": "0"
      },
      {
        "id": "ServiceRequest.reason",
        "path": "ServiceRequest.reason",
        "max": "0"
      },
      {
        "id": "ServiceRequest.insurance",
        "path": "ServiceRequest.insurance",
        "max": "0"
      },
      {
        "id": "ServiceRequest.supportingInfo",
        "path": "ServiceRequest.supportingInfo",
        "definition": "#### **_`IDMS: Submitting consent`_**",
        "max": "1"
      },
      {
        "id": "ServiceRequest.supportingInfo.concept",
        "path": "ServiceRequest.supportingInfo.concept",
        "max": "0"
      },
      {
        "id": "ServiceRequest.supportingInfo.reference",
        "path": "ServiceRequest.supportingInfo.reference",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.supportingInfo.reference.reference",
        "path": "ServiceRequest.supportingInfo.reference.reference",
        "definition": "#### **_`IDMS: Reference to the  Submitting Consent.`_**",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.supportingInfo.reference.type",
        "path": "ServiceRequest.supportingInfo.reference.type",
        "definition": "#### **_`IDMS: For the Submitting consent this will be Consent.`_**",
        "min": 1,
        "max": "1"
      },
      {
        "id": "ServiceRequest.supportingInfo.reference.identifier",
        "path": "ServiceRequest.supportingInfo.reference.identifier",
        "max": "0"
      },
      {
        "id": "ServiceRequest.supportingInfo.reference.display",
        "path": "ServiceRequest.supportingInfo.reference.display",
        "max": "0"
      },
      {
        "id": "ServiceRequest.specimen",
        "path": "ServiceRequest.specimen",
        "max": "0"
      },
      {
        "id": "ServiceRequest.bodySite",
        "path": "ServiceRequest.bodySite",
        "max": "0"
      },
      {
        "id": "ServiceRequest.bodyStructure",
        "path": "ServiceRequest.bodyStructure",
        "max": "0"
      },
      {
        "id": "ServiceRequest.note",
        "path": "ServiceRequest.note",
        "definition": "#### **_`IDMS: Notes relating the request.  This is an annoation, so when possible include the PractitionerRole of who made the note,  datetime and the note itself.  When submitting if there is a Rationale provided it will be stored here with a Rationale: prefix on the note and the authorString = 'RATIONALE'.`_**"
      },
      {
        "id": "ServiceRequest.note.extension",
        "path": "ServiceRequest.note.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "ServiceRequest.note.extension:noteType",
        "path": "ServiceRequest.note.extension",
        "sliceName": "noteType",
        "definition": "#### **_`IDMS:  Type of note (Rationale or Note)`_**",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Submission-Note-Type"
            ]
          }
        ]
      },
      {
        "id": "ServiceRequest.note.author[x]",
        "path": "ServiceRequest.note.author[x]",
        "definition": "#### **_`IDMS: Who authored the note`_**"
      },
      {
        "id": "ServiceRequest.note.authorReference",
        "path": "ServiceRequest.note.authorReference",
        "definition": "#### **_`IDMS: Reference to the PractitionerRole that created the note.`_**"
      },
      {
        "id": "ServiceRequest.note.authorString",
        "path": "ServiceRequest.note.authorString",
        "max": "0"
      },
      {
        "id": "ServiceRequest.note.time",
        "path": "ServiceRequest.note.time",
        "definition": "#### **_`IDMS: Date and time the note was added`_**"
      },
      {
        "id": "ServiceRequest.note.text",
        "path": "ServiceRequest.note.text",
        "definition": "#### **_`IDMS: The note text`_**"
      },
      {
        "id": "ServiceRequest.patientInstruction",
        "path": "ServiceRequest.patientInstruction",
        "max": "0"
      },
      {
        "id": "ServiceRequest.relevantHistory",
        "path": "ServiceRequest.relevantHistory",
        "max": "0"
      }
    ]
  }
}