{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2017-08-25T10:22:28.021+00:00"
  },
  "url": "StructureDefinition/MyModel",
  "name": "OrganizationLogicalModel",
  "status": "draft",
  "date": "2017-08-23T15:39:08.5557562+00:00",
  "description": "Abstraction of CareConnect-Organization-1 profile.\r\n\r\n'Abstract' version of logical model - focused on data content, rather than technical/fhir implementation elements.",
  "fhirVersion": "3.0.1",
  "kind": "logical",
  "abstract": false,
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "element": [
      {
        "id": "OrganizationLogicalModel",
        "path": "OrganizationLogicalModel",
        "short": "A logical model of CareConnect-Organization-1",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers",
        "path": "OrganizationLogicalModel.identifiers",
        "short": "Identifies this organization across multiple systems",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.ODS Organisation Code",
        "path": "OrganizationLogicalModel.identifiers.ODS Organisation Code",
        "short": "Organisation Data Service code",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.ODS Site Code",
        "path": "OrganizationLogicalModel.identifiers.ODS Site Code",
        "short": "ODS Site code to identify the organisation at site level",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier",
        "short": "Identifies this organization across multiple systems",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.use",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.use",
        "short": "Identifies the purpose for this identifier, if known",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.type",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.type",
        "short": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.system",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.system",
        "short": "The local or system suppliers identifier namespace",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.value",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.value",
        "short": "The value that is unique",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.period",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.period",
        "short": "Time period when id is/was valid for use",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.identifiers.localIdentifier.assigner",
        "path": "OrganizationLogicalModel.identifiers.localIdentifier.assigner",
        "short": "Organization that issued id (may be just text)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.name",
        "path": "OrganizationLogicalModel.name",
        "short": "Name used for the organization",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.type",
        "path": "OrganizationLogicalModel.type",
        "short": "Kind of organization",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.mainLocation",
        "path": "OrganizationLogicalModel.mainLocation",
        "short": "Main location",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.telecom",
        "path": "OrganizationLogicalModel.telecom",
        "short": "A contact detail for the organization",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.address",
        "path": "OrganizationLogicalModel.address",
        "short": "An address for the organization",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.partOf",
        "path": "OrganizationLogicalModel.partOf",
        "short": "The organization of which this organization forms a part",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.contact",
        "path": "OrganizationLogicalModel.contact",
        "short": "Contact for the organization for a certain purpose",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.contact.purpose",
        "path": "OrganizationLogicalModel.contact.purpose",
        "short": "The type of contact",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.contact.name",
        "path": "OrganizationLogicalModel.contact.name",
        "short": "A name associated with the contact",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "HumanName"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.contact.telecom",
        "path": "OrganizationLogicalModel.contact.telecom",
        "short": "Contact details (telephone, email, etc.) for a contact",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.contact.address",
        "path": "OrganizationLogicalModel.contact.address",
        "short": "Visiting or postal addresses for the contact",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Address"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.active",
        "path": "OrganizationLogicalModel.active",
        "short": "Date the organization became active, and if inactive, the date the organization became inactive.",
        "comment": "Don't think a boolean is going to hold the data described",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "OrganizationLogicalModel.organization-period",
        "path": "OrganizationLogicalModel.organization-period",
        "short": "Date range that this organization should be considered available",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      }
    ]
  }
}