{
  "resourceType": "StructureDefinition",
  "id": "9e016751-b280-45a2-915d-3e360e9e09d5",
  "meta": {
    "lastUpdated": "2019-03-11T18:34:42.5904816+00:00"
  },
  "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-lab-provider-profile-Organization-ordering",
  "name": "OrganizationOrderingFacility",
  "status": "draft",
  "date": "2019-03-11T18:34:42.4068611+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 ordering facility which is reference from Procedure 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,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC21.6"
          }
        ]
      },
      {
        "id": "Organization.identifier.value",
        "path": "Organization.identifier.value",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Organization.name",
        "path": "Organization.name",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.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",
          "valueSetUri": "http://ehealthontario.ca/fhir/ValueSet/lab/address-type"
        },
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.22.7"
          }
        ]
      },
      {
        "id": "Organization.address.line",
        "path": "Organization.address.line",
        "min": 1,
        "max": "1",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.1"
          }
        ]
      },
      {
        "id": "Organization.address.city",
        "path": "Organization.address.city",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.3"
          }
        ]
      },
      {
        "id": "Organization.address.district",
        "path": "Organization.address.district",
        "mustSupport": false
      },
      {
        "id": "Organization.address.state",
        "path": "Organization.address.state",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.4"
          }
        ]
      },
      {
        "id": "Organization.address.postalCode",
        "path": "Organization.address.postalCode",
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.5"
          }
        ]
      },
      {
        "id": "Organization.address.country",
        "path": "Organization.address.country",
        "min": 1,
        "mustSupport": true,
        "mapping": [
          {
            "identity": "OLIS-HL7-v2",
            "map": "ORC.21.6"
          }
        ]
      }
    ]
  }
}