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

FHIR IG Statistics: StructureDefinition/006c324c-9715-4f7b-8862-b1e90c26c731

Packageca.on.health.idms
Resource TypeStructureDefinition
Id006c324c-9715-4f7b-8862-b1e90c26c731
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=ca.on.health.idms@1.0.9&canonical=https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-DocumentReference
URLhttps://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-DocumentReference
Version1.0.0
Statusactive
NameIDMSDocumentReference
DescriptionThis is for the Generated Submission PDFs, Generated Letters and later Consent documents
TypeDocumentReference
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
CreatedDateCreated Date
UpdatedDateUpdated Date
CreatedUserCreated User
UpdatedUserUpdated User
IDMS-PractitionerRole-EmployeeIDMSPractitionerRoleExternalOrganization
IDMS-ServiceRequest-NewIDMSServiceRequestNew
ValueSet
IDMS-DocumentReference-TypesDocument Reference Types

Narrative

No narrative content found in resource


Source

{
  "resourceType": "StructureDefinition",
  "id": "006c324c-9715-4f7b-8862-b1e90c26c731",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2023-09-28T12:02:21.111+00:00",
    "source": "#WazS1YQm4dXxp2Ri"
  },
  "url": "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-DocumentReference",
  "version": "1.0.0",
  "name": "IDMSDocumentReference",
  "status": "active",
  "description": "This is for the Generated Submission PDFs, Generated Letters and later Consent documents",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "DocumentReference",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "DocumentReference.extension",
        "path": "DocumentReference.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "DocumentReference.extension:createdUser",
        "path": "DocumentReference.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": "DocumentReference.extension:createdDate",
        "path": "DocumentReference.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": "DocumentReference.extension:updatedUser",
        "path": "DocumentReference.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": "DocumentReference.extension:updatedDate",
        "path": "DocumentReference.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": "DocumentReference.identifier",
        "path": "DocumentReference.identifier",
        "definition": "#### **_`IDMS:  This is a business identifier the given to this document.  This will only be populated for Consent Documents`_**",
        "max": "1"
      },
      {
        "id": "DocumentReference.basedOn",
        "path": "DocumentReference.basedOn",
        "definition": "#### **_`IDMS:  The ServiceRequest that the document is linked to.`_**",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-ServiceRequest-New"
            ]
          }
        ]
      },
      {
        "id": "DocumentReference.status",
        "path": "DocumentReference.status",
        "definition": "#### **_`IDMS:  This is mandatory according to FHIR, it will should always be 'current'.`_**"
      },
      {
        "id": "DocumentReference.docStatus",
        "path": "DocumentReference.docStatus",
        "max": "0"
      },
      {
        "id": "DocumentReference.modality",
        "path": "DocumentReference.modality",
        "max": "0"
      },
      {
        "id": "DocumentReference.type",
        "path": "DocumentReference.type",
        "definition": "#### **_`IDMS:  This is the type of document reference.  Example 'Submission PDF'.`_**",
        "min": 1
      },
      {
        "id": "DocumentReference.type.extension",
        "path": "DocumentReference.type.extension",
        "max": "0"
      },
      {
        "id": "DocumentReference.type.coding",
        "path": "DocumentReference.type.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "DocumentReference.type.coding.extension",
        "path": "DocumentReference.type.coding.extension",
        "max": "0"
      },
      {
        "id": "DocumentReference.type.coding.system",
        "path": "DocumentReference.type.coding.system",
        "min": 1,
        "fixedUri": "https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal"
      },
      {
        "id": "DocumentReference.type.coding.version",
        "path": "DocumentReference.type.coding.version",
        "max": "0"
      },
      {
        "id": "DocumentReference.type.coding.code",
        "path": "DocumentReference.type.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-DocumentReference-Types"
        }
      },
      {
        "id": "DocumentReference.type.coding.display",
        "path": "DocumentReference.type.coding.display"
      },
      {
        "id": "DocumentReference.type.coding.userSelected",
        "path": "DocumentReference.type.coding.userSelected",
        "max": "0"
      },
      {
        "id": "DocumentReference.type.text",
        "path": "DocumentReference.type.text",
        "max": "0"
      },
      {
        "id": "DocumentReference.category",
        "path": "DocumentReference.category",
        "max": "0"
      },
      {
        "id": "DocumentReference.subject",
        "path": "DocumentReference.subject",
        "max": "0"
      },
      {
        "id": "DocumentReference.context",
        "path": "DocumentReference.context",
        "max": "0"
      },
      {
        "id": "DocumentReference.event",
        "path": "DocumentReference.event",
        "max": "0"
      },
      {
        "id": "DocumentReference.bodySite",
        "path": "DocumentReference.bodySite",
        "max": "0"
      },
      {
        "id": "DocumentReference.facilityType",
        "path": "DocumentReference.facilityType",
        "max": "0"
      },
      {
        "id": "DocumentReference.practiceSetting",
        "path": "DocumentReference.practiceSetting",
        "max": "0"
      },
      {
        "id": "DocumentReference.period",
        "path": "DocumentReference.period",
        "definition": "#### **_`IDMS:  For Reports this is the date range.`_**"
      },
      {
        "id": "DocumentReference.date",
        "path": "DocumentReference.date",
        "definition": "#### **_`IDMS:  The document date from DSTS`_**"
      },
      {
        "id": "DocumentReference.author",
        "path": "DocumentReference.author",
        "definition": "#### **_`IDMS:  The user that generated the letter or submission summary PDF..`_**",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-PractitionerRole-Employee"
            ]
          }
        ]
      },
      {
        "id": "DocumentReference.attester",
        "path": "DocumentReference.attester",
        "max": "0"
      },
      {
        "id": "DocumentReference.custodian",
        "path": "DocumentReference.custodian",
        "max": "0"
      },
      {
        "id": "DocumentReference.relatesTo",
        "path": "DocumentReference.relatesTo",
        "max": "0"
      },
      {
        "id": "DocumentReference.description",
        "path": "DocumentReference.description",
        "max": "0"
      },
      {
        "id": "DocumentReference.securityLabel",
        "path": "DocumentReference.securityLabel",
        "max": "0"
      },
      {
        "id": "DocumentReference.content",
        "path": "DocumentReference.content",
        "definition": "#### **_`IDMS: For generated letters this the name, mime type and template. For submission summary this the link to the PDF.`_**",
        "max": "1"
      },
      {
        "id": "DocumentReference.content.extension",
        "path": "DocumentReference.content.extension",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.modifierExtension",
        "path": "DocumentReference.content.modifierExtension",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.attachment",
        "path": "DocumentReference.content.attachment",
        "definition": "#### **_`IDMS:  For generated letters  attachment.title = the full path of the generated letter;  attachment.contentType  = 'application/msword' .`_**",
        "max": "1"
      },
      {
        "id": "DocumentReference.content.profile",
        "path": "DocumentReference.content.profile",
        "definition": "#### **_`IDMS:  For generated letters the template that was used to generate the letter. The 'valueCoding.display' element is populated with the template name. The valueURI element is populated with the unique identifier of the template.  DSTS migreated records will only have the display value.  `_**",
        "max": "2"
      },
      {
        "id": "DocumentReference.content.profile.extension",
        "path": "DocumentReference.content.profile.extension",
        "max": "0"
      },
      {
        "id": "DocumentReference.content.profile.modifierExtension",
        "path": "DocumentReference.content.profile.modifierExtension",
        "max": "0"
      }
    ]
  }
}