PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.idms@1.0.1-beta
    https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New
{
  "description": "This profile is for a Request that has not been submitted yet.",
  "_filename": "IDMS-SERVICEREQUEST-NEW.json",
  "package_name": "ca.on.health.idms",
  "date": null,
  "derivation": "constraint",
  "meta": {
    "source": "#4KusfayOiwBqqm7Q",
    "versionId": "2",
    "lastUpdated": "2023-10-24T14:25:42.361+00:00"
  },
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "IDMSServiceRequestNew",
  "abstract": false,
  "type": "ServiceRequest",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.1-beta",
  "status": "active",
  "id": "c17f9d0b-cca1-4e47-8ad7-4ff3832a3f5b",
  "kind": "resource",
  "url": "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "ServiceRequest.extension",
      "min": 0,
      "path": "ServiceRequest.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "ServiceRequest.extension:requestManufacturer",
      "max": "1",
      "min": 0,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedManufacturer" ]
      } ],
      "sliceName": "requestManufacturer",
      "definition": "#### **_`IDMS:  This is the Manufacturer.`_**"
    }, {
      "id": "ServiceRequest.extension:requestCreatedUserName",
      "max": "1",
      "min": 1,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestCreatedUserName" ]
      } ],
      "sliceName": "requestCreatedUserName",
      "definition": "#### **_`IDMS:  This is the name of the user that created the request.`_**"
    }, {
      "id": "ServiceRequest.extension:requestCreatedDate",
      "max": "1",
      "min": 1,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/CreatedDate" ]
      } ],
      "sliceName": "requestCreatedDate",
      "definition": "#### **_`IDMS:  This is the date and time the Request was created.`_**"
    }, {
      "id": "ServiceRequest.extension:requestUpdatedUserName",
      "max": "1",
      "min": 1,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/RequestUpdatedUserName" ]
      } ],
      "sliceName": "requestUpdatedUserName",
      "definition": "#### **_`IDMS:  This is the name of the user that last updated request.`_**"
    }, {
      "id": "ServiceRequest.extension:requestBusinessStatus",
      "max": "1",
      "min": 1,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Request-Business-Status" ]
      } ],
      "sliceName": "requestBusinessStatus",
      "definition": "#### **_`IDMS:  This is business status.`_**"
    }, {
      "id": "ServiceRequest.extension:submissionConsent",
      "max": "0",
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/RelatedSubmissionConsent" ]
      } ],
      "sliceName": "submissionConsent",
      "definition": "#### **_`IDMS:  The Terms Of Use Consent related to submitting this request.`_**"
    }, {
      "id": "ServiceRequest.extension:searchableExtraString",
      "max": "1",
      "min": 0,
      "path": "ServiceRequest.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/SearchableExtraString" ]
      } ],
      "sliceName": "searchableExtraString",
      "definition": "#### **_`IDMS:  Used for doing multi element searches.`_**"
    }, {
      "id": "ServiceRequest.identifier",
      "max": "1",
      "min": 1,
      "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.`_**"
    }, {
      "id": "ServiceRequest.identifier.use",
      "max": "0",
      "path": "ServiceRequest.identifier.use"
    }, {
      "id": "ServiceRequest.identifier.type",
      "max": "0",
      "path": "ServiceRequest.identifier.type",
      "definition": "#### **_`IDMS: The type of request,  Primary, Additional Information or Reconsideration.    TO DO`_**"
    }, {
      "id": "ServiceRequest.identifier.type.coding.system",
      "min": 1,
      "path": "ServiceRequest.identifier.type.coding.system"
    }, {
      "id": "ServiceRequest.identifier.type.coding.code",
      "min": 1,
      "path": "ServiceRequest.identifier.type.coding.code"
    }, {
      "id": "ServiceRequest.identifier.type.coding.display",
      "min": 1,
      "path": "ServiceRequest.identifier.type.coding.display"
    }, {
      "id": "ServiceRequest.identifier.system",
      "min": 1,
      "path": "ServiceRequest.identifier.system",
      "short": "Primary File Number System",
      "fixedUri": "urn:idms:request:primaryfilenumber",
      "definition": "IDMS's Primary File Number System"
    }, {
      "id": "ServiceRequest.identifier.value",
      "min": 1,
      "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.  `_**"
    }, {
      "id": "ServiceRequest.identifier.period",
      "max": "0",
      "path": "ServiceRequest.identifier.period"
    }, {
      "id": "ServiceRequest.identifier.assigner",
      "max": "0",
      "path": "ServiceRequest.identifier.assigner"
    }, {
      "id": "ServiceRequest.instantiatesCanonical",
      "max": "0",
      "path": "ServiceRequest.instantiatesCanonical"
    }, {
      "id": "ServiceRequest.instantiatesUri",
      "max": "0",
      "path": "ServiceRequest.instantiatesUri"
    }, {
      "id": "ServiceRequest.basedOn",
      "max": "0",
      "path": "ServiceRequest.basedOn"
    }, {
      "id": "ServiceRequest.replaces",
      "max": "0",
      "path": "ServiceRequest.replaces"
    }, {
      "id": "ServiceRequest.requisition",
      "max": "0",
      "path": "ServiceRequest.requisition"
    }, {
      "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",
      "fixedCode": "order",
      "definition": "#### **_`IDMS: This is a fixed value of 'order` ._**"
    }, {
      "id": "ServiceRequest.category",
      "max": "4",
      "path": "ServiceRequest.category",
      "short": "Classifications of the request",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "coding.version",
          "type": "value"
        } ]
      },
      "definition": "#### **_`IDMS: Product Type , Submission Type  and Request Type .`_**"
    }, {
      "id": "ServiceRequest.category:RequestCategory",
      "max": "1",
      "path": "ServiceRequest.category",
      "sliceName": "RequestCategory"
    }, {
      "id": "ServiceRequest.category:RequestCategory.coding.system",
      "min": 1,
      "path": "ServiceRequest.category.coding.system",
      "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal"
    }, {
      "id": "ServiceRequest.category:RequestCategory.coding.version",
      "max": "0",
      "path": "ServiceRequest.category.coding.version"
    }, {
      "id": "ServiceRequest.category:RequestCategory.coding.code",
      "min": 1,
      "path": "ServiceRequest.category.coding.code",
      "binding": {
        "strength": "required",
        "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category",
        "description": "Request Category"
      }
    }, {
      "id": "ServiceRequest.category:RequestCategory.coding.display",
      "min": 1,
      "path": "ServiceRequest.category.coding.display"
    }, {
      "id": "ServiceRequest.category:RequestCategory.coding.userSelected",
      "max": "0",
      "path": "ServiceRequest.category.coding.userSelected"
    }, {
      "id": "ServiceRequest.category:RequestCategory.text",
      "max": "0",
      "path": "ServiceRequest.category.text",
      "short": "Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'",
      "fixedString": "RequestCategory"
    }, {
      "id": "ServiceRequest.category:ProductType",
      "max": "1",
      "path": "ServiceRequest.category",
      "sliceName": "ProductType"
    }, {
      "id": "ServiceRequest.category:ProductType.coding.system",
      "min": 1,
      "path": "ServiceRequest.category.coding.system",
      "short": "IDMS Product Submission Code System",
      "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Product-Types"
    }, {
      "id": "ServiceRequest.category:ProductType.coding.version",
      "max": "0",
      "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)",
      "fixedString": "ProductType"
    }, {
      "id": "ServiceRequest.category:ProductType.coding.code",
      "min": 1,
      "path": "ServiceRequest.category.coding.code",
      "short": "This is the Product Type Code",
      "binding": {
        "strength": "required",
        "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types",
        "description": "List of Product Types"
      }
    }, {
      "id": "ServiceRequest.category:ProductType.coding.display",
      "min": 1,
      "path": "ServiceRequest.category.coding.display",
      "short": "Display Value for the Product Type code"
    }, {
      "id": "ServiceRequest.category:ProductType.coding.userSelected",
      "max": "0",
      "path": "ServiceRequest.category.coding.userSelected"
    }, {
      "id": "ServiceRequest.category:ProductType.text",
      "max": "0",
      "path": "ServiceRequest.category.text",
      "short": "Distinquishes this as the ProductType Code,  has a fixed value of 'ProductType'",
      "fixedString": "ProductType"
    }, {
      "id": "ServiceRequest.category:SubmissionType",
      "max": "1",
      "path": "ServiceRequest.category",
      "sliceName": "SubmissionType"
    }, {
      "id": "ServiceRequest.category:SubmissionType.coding.system",
      "min": 1,
      "path": "ServiceRequest.category.coding.system",
      "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types"
    }, {
      "id": "ServiceRequest.category:SubmissionType.coding.version",
      "max": "0",
      "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)",
      "fixedString": "SubmissionType"
    }, {
      "id": "ServiceRequest.category:SubmissionType.coding.code",
      "min": 1,
      "path": "ServiceRequest.category.coding.code",
      "short": "This is the Submission Code",
      "binding": {
        "strength": "required",
        "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types",
        "description": "Submission Types"
      }
    }, {
      "id": "ServiceRequest.category:SubmissionType.coding.display",
      "min": 1,
      "path": "ServiceRequest.category.coding.display",
      "short": "This is the display Value for the Submission Code"
    }, {
      "id": "ServiceRequest.category:SubmissionType.coding.userSelected",
      "max": "0",
      "path": "ServiceRequest.category.coding.userSelected"
    }, {
      "id": "ServiceRequest.category:SubmissionType.text",
      "max": "0",
      "path": "ServiceRequest.category.text",
      "short": "Distinquishes this as the SubmissionType Code,  has a fixed value of 'SubmissionType'",
      "fixedString": "SubmissionType"
    }, {
      "id": "ServiceRequest.category:RequestType",
      "max": "1",
      "path": "ServiceRequest.category",
      "sliceName": "RequestType"
    }, {
      "id": "ServiceRequest.category:RequestType.coding.system",
      "min": 1,
      "path": "ServiceRequest.category.coding.system",
      "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal"
    }, {
      "id": "ServiceRequest.category:RequestType.coding.version",
      "max": "0",
      "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)",
      "fixedString": "RequestType"
    }, {
      "id": "ServiceRequest.category:RequestType.coding.code",
      "path": "ServiceRequest.category.coding.code",
      "fixedString": "REQUEST-TYPE-INITIAL"
    }, {
      "id": "ServiceRequest.category:RequestType.coding.display",
      "path": "ServiceRequest.category.coding.display",
      "short": "This is the display Value for the Request Type"
    }, {
      "id": "ServiceRequest.category:RequestType.coding.userSelected",
      "max": "0",
      "path": "ServiceRequest.category.coding.userSelected"
    }, {
      "id": "ServiceRequest.category:RequestType.text",
      "max": "0",
      "path": "ServiceRequest.category.text"
    }, {
      "id": "ServiceRequest.priority",
      "max": "0",
      "path": "ServiceRequest.priority"
    }, {
      "id": "ServiceRequest.doNotPerform",
      "max": "0",
      "path": "ServiceRequest.doNotPerform"
    }, {
      "id": "ServiceRequest.code",
      "max": "0",
      "path": "ServiceRequest.code"
    }, {
      "id": "ServiceRequest.orderDetail",
      "max": "0",
      "path": "ServiceRequest.orderDetail"
    }, {
      "id": "ServiceRequest.quantity[x]",
      "max": "0",
      "path": "ServiceRequest.quantity[x]"
    }, {
      "id": "ServiceRequest.subject",
      "path": "ServiceRequest.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS_Group" ]
      } ],
      "short": "Manufacturer",
      "definition": "#### **_`IDMS: Reference to the dummy Group.  IDMS does not need a subject but it is mandatory in FHIR so a link to a dummy group will be populated.`_**"
    }, {
      "id": "ServiceRequest.focus",
      "max": "0",
      "path": "ServiceRequest.focus"
    }, {
      "id": "ServiceRequest.encounter",
      "max": "0",
      "path": "ServiceRequest.encounter"
    }, {
      "id": "ServiceRequest.occurrence[x]",
      "max": "0",
      "path": "ServiceRequest.occurrence[x]"
    }, {
      "id": "ServiceRequest.asNeeded[x]",
      "max": "0",
      "path": "ServiceRequest.asNeeded[x]"
    }, {
      "id": "ServiceRequest.authoredOn",
      "path": "ServiceRequest.authoredOn",
      "comment": "#### **_`IDMS: This is the Request Date, the Requestor can change this to any date.`_**"
    }, {
      "id": "ServiceRequest.requester",
      "max": "0",
      "path": "ServiceRequest.requester"
    }, {
      "id": "ServiceRequest.performerType",
      "max": "0",
      "path": "ServiceRequest.performerType"
    }, {
      "id": "ServiceRequest.performer",
      "path": "ServiceRequest.performer",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS_PractitionerRole" ]
      } ],
      "short": "Request Modifier",
      "definition": "#### **_`IDMS: Who modified the request, it is a reference to a IDMS_PractitionerRole .`_**"
    }, {
      "id": "ServiceRequest.location",
      "max": "0",
      "path": "ServiceRequest.location"
    }, {
      "id": "ServiceRequest.reason",
      "max": "0",
      "path": "ServiceRequest.reason"
    }, {
      "id": "ServiceRequest.insurance",
      "max": "0",
      "path": "ServiceRequest.insurance"
    }, {
      "id": "ServiceRequest.supportingInfo",
      "max": "0",
      "path": "ServiceRequest.supportingInfo"
    }, {
      "id": "ServiceRequest.specimen",
      "max": "0",
      "path": "ServiceRequest.specimen"
    }, {
      "id": "ServiceRequest.bodySite",
      "max": "0",
      "path": "ServiceRequest.bodySite"
    }, {
      "id": "ServiceRequest.bodyStructure",
      "max": "0",
      "path": "ServiceRequest.bodyStructure"
    }, {
      "id": "ServiceRequest.note",
      "path": "ServiceRequest.note",
      "definition": "#### **_`IDMS: Notes relating the request.  This is an annoation, so 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.author[x]",
      "min": 1,
      "path": "ServiceRequest.note.author[x]",
      "definition": "#### **_`IDMS: Who authored the note`_**"
    }, {
      "id": "ServiceRequest.note.authorReference",
      "min": 1,
      "path": "ServiceRequest.note.authorReference",
      "definition": "#### **_`IDMS: Reference to the PractitionerRole that created the note.`_**"
    }, {
      "id": "ServiceRequest.note.authorString",
      "path": "ServiceRequest.note.authorString",
      "definition": "#### **_`IDMS: This is used to signify this is a special note for Rationale for not submitting.  If it is the Rationale then set this 'RATIONALE'.  The UI will look for this code to populate the Rationale text box.  `_**"
    }, {
      "id": "ServiceRequest.note.time",
      "min": 1,
      "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",
      "max": "0",
      "path": "ServiceRequest.patientInstruction"
    }, {
      "id": "ServiceRequest.relevantHistory",
      "max": "0",
      "path": "ServiceRequest.relevantHistory"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest"
}