{
  "resourceType": "StructureDefinition",
  "id": "cb5c875b-09e7-4203-abdc-9dd1e3e008dd",
  "meta": {
    "versionId": "2",
    "lastUpdated": "2016-12-16T12:57:46.744+00:00"
  },
  "url": "http://helse-nord.no/FHIR/profiles/Workflow.Encounter/Location",
  "name": "Workflow.Encounter.Location",
  "status": "draft",
  "description": "Helse Nord contraint on the Location resource used in Workflow.Encounter",
  "fhirVersion": "1.0.2",
  "kind": "resource",
  "constrainedType": "Location",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/Location",
  "differential": {
    "element": [
      {
        "path": "Location",
        "type": [
          {
            "code": "Location"
          }
        ]
      },
      {
        "path": "Location.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "path": "Location.identifier.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Location.identifier.use",
        "max": "0"
      },
      {
        "path": "Location.identifier.type",
        "max": "0"
      },
      {
        "path": "Location.identifier.system",
        "min": 1,
        "exampleUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri"
      },
      {
        "path": "Location.identifier.value",
        "min": 1,
        "exampleString": "123456"
      },
      {
        "path": "Location.identifier.period",
        "max": "0"
      },
      {
        "path": "Location.identifier.assigner",
        "max": "0"
      },
      {
        "path": "Location.status",
        "max": "0"
      },
      {
        "path": "Location.name",
        "min": 1
      },
      {
        "path": "Location.mode",
        "max": "0"
      },
      {
        "path": "Location.type",
        "max": "0"
      },
      {
        "path": "Location.telecom",
        "max": "1"
      },
      {
        "path": "Location.telecom.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Location.telecom.system",
        "max": "0"
      },
      {
        "path": "Location.telecom.use",
        "max": "0"
      },
      {
        "path": "Location.telecom.rank",
        "max": "0"
      },
      {
        "path": "Location.telecom.period",
        "max": "0"
      },
      {
        "path": "Location.address.id",
        "representation": [
          "xmlAttr"
        ],
        "max": "0"
      },
      {
        "path": "Location.address.use",
        "max": "0",
        "exampleCode": "home"
      },
      {
        "path": "Location.address.type",
        "max": "0",
        "exampleCode": "both"
      },
      {
        "path": "Location.address.text",
        "max": "0",
        "exampleString": "137 Nowhere Street, Erewhon 9132"
      },
      {
        "path": "Location.address.line",
        "max": "1",
        "exampleString": "137 Nowhere Street"
      },
      {
        "path": "Location.address.district",
        "max": "0",
        "exampleString": "Madison"
      },
      {
        "path": "Location.address.state",
        "max": "0"
      },
      {
        "path": "Location.address.country",
        "max": "0"
      },
      {
        "path": "Location.physicalType",
        "max": "0"
      },
      {
        "path": "Location.position",
        "max": "0"
      },
      {
        "path": "Location.managingOrganization",
        "max": "0"
      }
    ]
  }
}