{
  "resourceType": "StructureDefinition",
  "id": "fpar-organization",
  "url": "http://fhir.org/guides/hspc/StructureDefinition/fpar-organization",
  "version": "2.0.0",
  "name": "HSPC Organization Profile",
  "status": "draft",
  "date": "2017-05-04",
  "publisher": "Healthcare Services Platform Consortium on behalf of Family Planning Annual Report",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://healthcaresoa.org"
        }
      ]
    }
  ],
  "fhirVersion": "3.0.0",
  "mapping": [
    {
      "identity": "servd",
      "uri": "http://www.omg.org/spec/ServD/1.0/",
      "name": "ServD"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/w5",
      "name": "W5 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Organization",
  "baseDefinition": "http://fhir.org/guides/hspc/StructureDefintion/hspc-organization",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Organization:fparorganization",
        "path": "Organization",
        "sliceName": "fparorganization",
        "short": "FPAR Organization Profile",
        "mustSupport": false,
        "isModifier": false,
        "mapping": [
          {
            "identity": "servd",
            "map": "Organization"
          }
        ]
      },
      {
        "id": "Organization:fparorganization.extension:organizationperiod$Extension",
        "path": "Organization.extension",
        "sliceName": "OrganizationPeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Organization:fparorganization.type",
        "path": "Organization.type",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "preferred",
          "description": "Codes that represent kinds of organizations.",
          "valueSetReference": {
            "reference": "ValueSet/organization-organizationtype"
          }
        }
      },
      {
        "id": "Organization:fparorganization.identifier",
        "path": "Organization.identifier",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "LOINC",
            "map": "75524-9"
          }
        ]
      },
      {
        "id": "Organization:fparorganization.identifier.system",
        "path": "Organization.identifier.system",
        "comment": "NPI preferred (http://hl7.org/fhir/sid/us-npi), Tax id is allowed (http://hl7.org/fhir/sid/us-tin), Local id is allowed in addition to 'authoritative' identifier.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "uri"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:uscoreorganization.active",
        "path": "Organization.active",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:fparorganization.name:name",
        "path": "Organization.name",
        "sliceName": "OrganizationName",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "servd",
            "map": "./PrimaryAddress and ./OtherAddresses"
          }
        ]
      },
      {
        "id": "Organization:fparorganization.telecom",
        "path": "Organization.telecom",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "ContactPoint"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:fparorganization.address",
        "path": "Organization.address",
        "min": 1,
        "max": "*",
        "type": [
          {
            "code": "Address"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "mapping": [
          {
            "identity": "servd",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Organization:fparorganization.address.line",
        "path": "Organization.address.line",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:fparorganization.address.city",
        "path": "Organization.address.city",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:fparorganization.address.state",
        "path": "Organization.address.state",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false,
        "binding": {
          "strength": "required",
          "description": "Two letter USPS alphabetic codes.",
          "valueSetReference": {
            "reference": "http://hl7.org/fhir/ValueSet/usps-state"
          }
        },
        "mapping": [
          {
            "identity": "servd",
            "map": "./Sites"
          }
        ]
      },
      {
        "id": "Organization:fparorganization.address.postalCode",
        "path": "Organization.address.postalCode",
        "short": "US Zip Codes",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      },
      {
        "id": "Organization:organization.contact",
        "path": "Organization.contact",
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Organization:organization.contact.extension:contactperiod$Extension",
        "path": "Organization.contact.extension",
        "sliceName": "ContactPeriod",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Organization:organization.contact.extension:primarylanguage$Extension",
        "path": "Organization.contact.extension",
        "sliceName": "PrimaryLanguage",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport": false,
        "isModifier": false,
        "isSummary": false
      },
      {
        "id": "Organization:uscoreorganization.endpoint",
        "path": "Organization.endpoint",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint"
          }
        ],
        "mustSupport": true,
        "isModifier": false
      }
    ]
  }
}