Example-Location

<Location xmlns="http://hl7.org/fhir">
    <id value="ca-csd-example-location" />
    <meta>
        <profile value="http://fhir.infoway-inforoute.ca/io/CA-CSD/StructureDefinition/CA-CSD-Location" />
    </meta>
    <identifier>
        <system value="http://example.org/location-identifiers" />
        <value value="LOC-001" />
    </identifier>
    <status value="active" />
    <name value="Main Clinic Building" />
    <type>
        <coding>
            <system value="http://example.org/location-type" />
            <code value="FMC" />
            <display value="Family Medicine Clinic" />
        </coding>
        <text value="Family Medicine Clinic" />
    </type>
    <telecom>
        <system value="phone" />
        <value value="+1-555-123-4567" />
        <use value="work" />
    </telecom>
    <telecom>
        <system value="email" />
        <value value="contact@mainclinic.example.org" />
        <use value="work" />
    </telecom>
    <physicalType>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/location-physical-type" />
            <code value="bu" />
            <display value="Building" />
        </coding>
        <text value="Building" />
    </physicalType>
    <managingOrganization>
        <reference value="Organization/ca-csd-example-organization" />
        <display value="Main Health Organization" />
    </managingOrganization>
    <partOf>
        <reference value="Location/ca-csd-example-location" />
        <display value="Health Center Campus" />
    </partOf>
    <hoursOfOperation>
        <daysOfWeek value="mon" />
        <daysOfWeek value="tue" />
        <daysOfWeek value="wed" />
        <daysOfWeek value="thu" />
        <daysOfWeek value="fri" />
        <openingTime value="08:00:00" />
        <closingTime value="20:00:00" />
    </hoursOfOperation>
    <hoursOfOperation>
        <daysOfWeek value="sat" />
        <daysOfWeek value="sun" />
        <openingTime value="10:00:00" />
        <closingTime value="16:00:00" />
    </hoursOfOperation>
</Location>
{
    "resourceType": "Location",
    "id": "ca-csd-example-location",
    "meta": {
        "profile":  [
            "http://fhir.infoway-inforoute.ca/io/CA-CSD/StructureDefinition/CA-CSD-Location"
        ]
    },
    "identifier":  [
        {
            "system": "http://example.org/location-identifiers",
            "value": "LOC-001"
        }
    ],
    "status": "active",
    "name": "Main Clinic Building",
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://example.org/location-type",
                    "code": "FMC",
                    "display": "Family Medicine Clinic"
                }
            ],
            "text": "Family Medicine Clinic"
        }
    ],
    "telecom":  [
        {
            "system": "phone",
            "value": "+1-555-123-4567",
            "use": "work"
        },
        {
            "system": "email",
            "value": "contact@mainclinic.example.org",
            "use": "work"
        }
    ],
    "physicalType": {
        "coding":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/location-physical-type",
                "code": "bu",
                "display": "Building"
            }
        ],
        "text": "Building"
    },
    "managingOrganization": {
        "reference": "Organization/ca-csd-example-organization",
        "display": "Main Health Organization"
    },
    "partOf": {
        "reference": "Location/ca-csd-example-location",
        "display": "Health Center Campus"
    },
    "hoursOfOperation":  [
        {
            "daysOfWeek":  [
                "mon",
                "tue",
                "wed",
                "thu",
                "fri"
            ],
            "openingTime": "08:00:00",
            "closingTime": "20:00:00"
        },
        {
            "daysOfWeek":  [
                "sat",
                "sun"
            ],
            "openingTime": "10:00:00",
            "closingTime": "16:00:00"
        }
    ]
}