PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract@1.0.0
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization
{
  "description": null,
  "_filename": "DwOrganization.StructureDefinition.json",
  "package_name": "telus.dw.emr.extract",
  "date": "2024-05-03T22:11:40.4165223+00:00",
  "derivation": "constraint",
  "meta": {
    "lastUpdated": "2024-05-02T14:59:57.7063454+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "DwOrganization",
  "mapping": [ {
    "uri": "http://hl7.org/v2",
    "name": "HL7 v2 Mapping",
    "identity": "v2"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://www.omg.org/spec/ServD/1.0/",
    "name": "ServD",
    "identity": "servd"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "type": "Organization",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "draft",
  "id": "86923329-de5b-4537-bd2e-eaae338398bd",
  "kind": "resource",
  "url": "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Organization",
      "path": "Organization",
      "comment": "An organization is a EMR instance location, a grouping of people working under an organization to provide patient care. An organization may have one or more physical location where the care is provided to the patient.",
      "constraint": [ {
        "key": "dw-org-2",
        "human": "Ids that are location based must specify a main organization",
        "source": "http://telus.com/fhir/StructureDefinition/Organization",
        "severity": "error",
        "expression": "(id.endsWith(':dw-emr-organization') and partOf.count() = 0) or (id.endsWith(':dw-emr-organization') = false and partOf.count() > 0)",
        "requirements": "It SHALL have partOf for location based organizations"
      } ],
      "definition": "A grouping of people or organizations with a common purpose."
    }, {
      "id": "Organization.id",
      "min": 1,
      "path": "Organization.id",
      "constraint": [ {
        "key": "dw-org-1",
        "human": "The Id must match the pattern urn:telus:emr:::dw-emr-organization[:]",
        "source": "http://telus.com/fhir/StructureDefinition/Organization",
        "severity": "error",
        "expression": "matches('^urn:telus:emr:(pss|ma|wolf):[^:]+:dw-emr-organization(:[^:]+)?$')",
        "requirements": "It SHALL match urn:telus:emr pattern"
      } ],
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.\r\n\r\nAll Organizations provided by TELUS Health EMR Data Warehouse, wil match the pattern urn:telus:emr:::dw-emr-organization",
      "mustSupport": true
    }, {
      "id": "Organization.extension:communication",
      "path": "Organization.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-servicelanguage" ]
      } ],
      "comment": "Usage note: When the language options for the clinic are stored in the EMR then this will be provided.",
      "sliceName": "communication",
      "definition": "Indentifies languages that services are provided in at the organization",
      "mustSupport": true
    }, {
      "id": "Organization.extension:communication.value[x]:valueCodeableConcept",
      "code": [ {
        "system": "http://hl7.org/fhir/ValueSet/languages",
        "version": "4.0.1"
      } ],
      "path": "Organization.extension.value[x]",
      "sliceName": "valueCodeableConcept"
    }, {
      "id": "Organization.extension:communication.value[x]:valueCodeableConcept.coding",
      "path": "Organization.extension.value[x].coding",
      "comment": "Usage Note: Where EMR primary language is French  or English provide the appropriate languate code \r\n\r\nCodes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true."
    }, {
      "id": "Organization.extension:communication.value[x]:valueCodeableConcept.coding.system",
      "path": "Organization.extension.value[x].coding.system",
      "mustSupport": true
    }, {
      "id": "Organization.extension:communication.value[x]:valueCodeableConcept.coding.code",
      "path": "Organization.extension.value[x].coding.code",
      "mustSupport": true
    }, {
      "id": "Organization.extension:communication.value[x]:valueCodeableConcept.coding.display",
      "path": "Organization.extension.value[x].coding.display",
      "mustSupport": true
    }, {
      "id": "Organization.identifier",
      "min": 1,
      "path": "Organization.identifier",
      "comment": "There shall at least be one of the idenitier has to be to identify the EMR instance",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems. An organization may have multiple identifiers.",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier",
      "path": "Organization.identifier",
      "sliceName": "TelusIdentifier",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.type",
      "path": "Organization.identifier.type",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.type.text",
      "path": "Organization.identifier.type.text",
      "comment": "Usage Note:  Telus Identifier\r\nVery often the text is the same as a displayName of one of the codings.",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "comment": "Identifier.system is always case sensitive.\r\n\r\nPattern urn:telus:emr:::emr-organization\r\nExample urn:telus:emr:ma:labtestsk1:emr-organization",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.assigner",
      "path": "Organization.identifier.assigner",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:TelusIdentifier.assigner.display",
      "path": "Organization.identifier.assigner.display",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier",
      "path": "Organization.identifier",
      "comment": "Usage Note: for provinces that have facility identifiers for physician offices, provide the appropriate facility ID",
      "sliceName": "JuristictionalFacilityIdentifier",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.type",
      "path": "Organization.identifier.type",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.type.text",
      "path": "Organization.identifier.type.text",
      "comment": "Usage Note: Juristictional facility identifer\r\n\r\n Very often the text is the same as a displayName of one of the codings.",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "comment": "Usage Note: appropriate Juristictional Facility number.\r\n\r\nIf the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe."
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.assigner",
      "path": "Organization.identifier.assigner",
      "mustSupport": true
    }, {
      "id": "Organization.identifier:JuristictionalFacilityIdentifier.assigner.display",
      "path": "Organization.identifier.assigner.display",
      "comment": "Usage Note: The appropriate assigner of the Provincial facility identifer. e.g. Alberta - Alberta Facility Number\r\nBC - MSP Facility Number\r\nOntario - Master Number\r\n\r\nThis is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
      "mustSupport": true
    }, {
      "id": "Organization.active",
      "path": "Organization.active",
      "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.\r\n\r\nInclude status for all EMR where it is available.",
      "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element."
    }, {
      "id": "Organization.type",
      "path": "Organization.type",
      "mustSupport": true
    }, {
      "id": "Organization.type.coding.system",
      "path": "Organization.type.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-RoleCode"
    }, {
      "id": "Organization.type.coding.code",
      "path": "Organization.type.coding.code",
      "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size\r\n\r\nDefault for most of the clinics in PSS and MA will be PROFF"
    }, {
      "id": "Organization.type.coding.display",
      "path": "Organization.type.coding.display",
      "comment": "Note that FHIR strings SHALL NOT exceed 1MB in size\r\n\r\nDefault Provider's office"
    }, {
      "id": "Organization.name",
      "min": 1,
      "path": "Organization.name",
      "short": "Organization Name",
      "definition": "A name associated with the organization and EMR location combined.",
      "mustSupport": true,
      "requirements": "Need to use the name as the label of the organization. When the location in EMR is \"default\" do not add default to the name."
    }, {
      "id": "Organization.address",
      "max": "1",
      "path": "Organization.address",
      "comment": "Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.\r\n\r\nThe address are not available in all EMRs. This would be only available in MA",
      "definition": "An address for the organization",
      "mustSupport": true
    }, {
      "id": "Organization.partOf",
      "path": "Organization.partOf",
      "comment": "Usage note: An EMR security separation defined by “functional location” (sub-organization) configuration in EMR will be identified by partof. Partof is used by sub organizations to point to parent organization. \r\n\r\n\r\nReferences SHALL be a reference to an actual FHIR resource, and SHALL be resolveable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository."
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization"
}