{
  "resourceType": "StructureDefinition",
  "id": "9e016051-b080-45r5-915d-3e300e9d19d5",
  "meta": {
    "lastUpdated": "2019-03-11T19:03:02.9997325+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-provider-profile-Organization-reporting",
  "name": "OrganizationReporting",
  "status": "draft",
  "date": "2019-03-11T19:03:02.8347175+00:00",
  "description": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc.\r\nThis resource will represent reporting laboratory which is reference from DiagnosticReport resource.",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "OLIS-HL7-v2",
      "name": "OLIS HL7 v2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization",
        "path": "Organization",
        "mustSupport": true
      },
      {
        "id": "Organization.id",
        "path": "Organization.id",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier",
        "path": "Organization.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.system",
        "path": "Organization.identifier.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.identifier.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.4.6"
          }
        ]
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.4.1"
          }
        ]
      },
      {
        "id": "Organization.address",
        "path": "Organization.address",
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Organization.address.type",
        "path": "Organization.address.type",
        "short": "both",
        "min": 1,
        "mustSupport": true,
        "binding": {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString": "AddressType"
            }
          ],
          "strength": "required",
          "valueSetReference": {
            "reference": "http://ehealthontario.ca/fhir/ValueSet/lab/address-type"
          }
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.7"
          }
        ]
      },
      {
        "id": "Organization.address.line",
        "path": "Organization.address.line",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.1"
          }
        ]
      },
      {
        "id": "Organization.address.city",
        "path": "Organization.address.city",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.3"
          }
        ]
      },
      {
        "id": "Organization.address.state",
        "path": "Organization.address.state",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.4"
          }
        ]
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.5"
          }
        ]
      },
      {
        "id": "Organization.address.country",
        "path": "Organization.address.country",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ZBR.5.6"
          }
        ]
      }
    ]
  }
}