This page is part of the FHIR Specification (v0.5.0: DSTU 2 Ballot 2). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions 

The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/org-uslab-uslabcctarget
Copy to Organization
This profile was published on Mon, Nov 17, 2014 00:00+1100 as a draft by HL7 International - Orders and Observations WG.

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Organization.
Summary
Mandatory: 8 elements, Must-Support: 21 elements, Fixed Value: 1 element
Slices
This structure defines the following Slices:
This structure is derived from Organization.
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Organization | I | 1..1 | Organization | Copy to Organization inv-1: Shall have Organization.name and/or Organization.identifier. | 
|    identifier | Slice: Ordered, Open, by system | |||
|    identifier | S I | 0..* | Identifier | |
|     use | S | 1..1 | ||
|     system | S | 1..1 | uri | See https://nppes.cms.hhs.gov/NPPES/ Fixed Value: urn:oid:2.16.840.1.113883.4.6 | 
|     value | S | 1..1 | NPI organization Identifier | |
|    name | S I | 0..1 | ||
|    telecom | S | 1..* | ||
|     system | S | 1..1 | ||
|     value | S | 1..1 | ||
|    address | S | 1..* | ||
|     use | S | 0..1 | ||
|     line | S | 0..2 | ||
|     city | S | 0..1 | ||
|     state | S | 0..1 | Binding: USPSState (required) | |
|     postalCode | S I | 0..1 | US Zip Codes inv-2: (Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes. | |
|     country | S | 0..1 | ISO 3166 3 letter Country Code Binding: USCountry (extensible) | |
|    contact | S | 0..1 | Medical Director | |
|     name | S | 0..1 | HumanName | |
|      family | S | 1..1 | ||
|      given | S | 0..2 | ||
|      prefix | S | 0..1 | ||
|      suffix | S | 0..1 | 
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Organization | I | 1..1 | Organization | Copy to Organization org-1: The organization SHALL at least have a name or an id, and possibly more than one inv-1: Shall have Organization.name and/or Organization.identifier. | 
|    meta | 0..1 | Meta | Metadata about the resource | |
|    implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: Language (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ I | Identifier | Identifies this organization  across multiple systems Slice: Ordered, Open, by system | |
|    identifier | S ΣI | 0..* | Identifier | Identifies this organization across multiple systems | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     use | ?! S | 1..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required) | 
|     type | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierType (extensible) | |
|     system | S | 1..1 | uri | See https://nppes.cms.hhs.gov/NPPES/ Fixed Value: urn:oid:2.16.840.1.113883.4.6 | 
|     value | S | 1..1 | string | NPI  organization Identifier Example: 123456 | 
|     period | 0..1 | Period | Time period when id is/was valid for use | |
|     assigner | 0..1 | Organization | Organization that issued id (may be just text) | |
|    name | S ΣI | 0..1 | string | Name used for the organization | 
|    type | Σ | 0..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example) | 
|    telecom | S I | 1..* | ContactPoint | A contact detail for the organization org-3: The telecom of an organization can never be of use 'home' | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     system | S I | 1..1 | code | phone | fax | email | url Binding: ContactPointSystem (required) | 
|     value | S | 1..1 | string | The actual contact point details | 
|     use | ?! | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required) | 
|     period | 0..1 | Period | Time period when the contact point was/is in use | |
|    address | S I | 1..* | Address | An address for the organization org-2: An address of an organization can never be of use 'home' | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     use | ?! S | 0..1 | code | home | work | temp | old - purpose of this address Binding: AddressUse (required) Example: home | 
|     text | 0..1 | string | Text representation of the address Example: 137 Nowhere Street, Erewhon 9132 | |
|     line | S | 0..2 | string | Street name, number, direction & P.O. Box etc Example: 137 Nowhere Street | 
|     city | S | 0..1 | string | Name of city, town etc. Example: Erewhon | 
|     state | S | 0..1 | string | Sub-unit of country (abreviations ok) Binding: USPSState (required) | 
|     postalCode | S I | 0..1 | string | US Zip Codes inv-2: (Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes. Example: 9132 | 
|     country | S | 0..1 | string | ISO 3166 3 letter Country Code Binding: USCountry (extensible) | 
|     period | 0..1 | Period | Time period when address was/is in use Example: {"start":"2010-03-23","end":"2010-07-01"} | |
|    partOf | Σ | 0..1 | Organization | The organization of which this organization forms a part | 
|    contact | S | 0..1 | Medical Director | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     purpose | 0..1 | CodeableConcept | The type of contact Binding: ContactPartyType (required) | |
|     name | S | 0..1 | HumanName | A name associated with the contact | 
|      extension | 0..* | Extension | Additional Content defined by implementations | |
|      use | ?! | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required) | 
|      text | 0..1 | string | Text representation of the full name | |
|      family | S | 1..1 | string | Family name (often called 'Surname') | 
|      given | S | 0..2 | string | Given names (not always 'first'). Includes middle names | 
|      prefix | S | 0..1 | string | Parts that come before the name | 
|      suffix | S | 0..1 | string | Parts that come after the name | 
|      period | 0..1 | Period | Time period when name was/is in use | |
|     telecom | 0..* | ContactPoint | Contact details (telephone, email, etc) for a contact | |
|     address | 0..1 | Address | Visiting or postal addresses for the contact | |
|    active | ?! Σ | 0..1 | boolean | Whether the organization's record is still in active use | 
todo
This structure is derived from Organization.
Summary
Mandatory: 8 elements, Must-Support: 21 elements, Fixed Value: 1 element
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Organization.
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Organization | I | 1..1 | Organization | Copy to Organization inv-1: Shall have Organization.name and/or Organization.identifier. | 
|    identifier | Slice: Ordered, Open, by system | |||
|    identifier | S I | 0..* | Identifier | |
|     use | S | 1..1 | ||
|     system | S | 1..1 | uri | See https://nppes.cms.hhs.gov/NPPES/ Fixed Value: urn:oid:2.16.840.1.113883.4.6 | 
|     value | S | 1..1 | NPI organization Identifier | |
|    name | S I | 0..1 | ||
|    telecom | S | 1..* | ||
|     system | S | 1..1 | ||
|     value | S | 1..1 | ||
|    address | S | 1..* | ||
|     use | S | 0..1 | ||
|     line | S | 0..2 | ||
|     city | S | 0..1 | ||
|     state | S | 0..1 | Binding: USPSState (required) | |
|     postalCode | S I | 0..1 | US Zip Codes inv-2: (Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes. | |
|     country | S | 0..1 | ISO 3166 3 letter Country Code Binding: USCountry (extensible) | |
|    contact | S | 0..1 | Medical Director | |
|     name | S | 0..1 | HumanName | |
|      family | S | 1..1 | ||
|      given | S | 0..2 | ||
|      prefix | S | 0..1 | ||
|      suffix | S | 0..1 | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Organization | I | 1..1 | Organization | Copy to Organization org-1: The organization SHALL at least have a name or an id, and possibly more than one inv-1: Shall have Organization.name and/or Organization.identifier. | 
|    meta | 0..1 | Meta | Metadata about the resource | |
|    implicitRules | ?! | 0..1 | uri | A set of rules under which this content was created | 
|    language | 0..1 | code | Language of the resource content Binding: Language (required) | |
|    text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation | 
|    contained | 0..* | Resource | Contained, inline Resources | |
|    extension | 0..* | Extension | Additional Content defined by implementations | |
|    modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|    identifier | Σ I | Identifier | Identifies this organization  across multiple systems Slice: Ordered, Open, by system | |
|    identifier | S ΣI | 0..* | Identifier | Identifies this organization across multiple systems | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     use | ?! S | 1..1 | code | usual | official | temp | secondary (If known) Binding: IdentifierUse (required) | 
|     type | 0..1 | CodeableConcept | Description of identifier Binding: IdentifierType (extensible) | |
|     system | S | 1..1 | uri | See https://nppes.cms.hhs.gov/NPPES/ Fixed Value: urn:oid:2.16.840.1.113883.4.6 | 
|     value | S | 1..1 | string | NPI  organization Identifier Example: 123456 | 
|     period | 0..1 | Period | Time period when id is/was valid for use | |
|     assigner | 0..1 | Organization | Organization that issued id (may be just text) | |
|    name | S ΣI | 0..1 | string | Name used for the organization | 
|    type | Σ | 0..1 | CodeableConcept | Kind of organization Binding: OrganizationType (example) | 
|    telecom | S I | 1..* | ContactPoint | A contact detail for the organization org-3: The telecom of an organization can never be of use 'home' | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     system | S I | 1..1 | code | phone | fax | email | url Binding: ContactPointSystem (required) | 
|     value | S | 1..1 | string | The actual contact point details | 
|     use | ?! | 0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required) | 
|     period | 0..1 | Period | Time period when the contact point was/is in use | |
|    address | S I | 1..* | Address | An address for the organization org-2: An address of an organization can never be of use 'home' | 
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     use | ?! S | 0..1 | code | home | work | temp | old - purpose of this address Binding: AddressUse (required) Example: home | 
|     text | 0..1 | string | Text representation of the address Example: 137 Nowhere Street, Erewhon 9132 | |
|     line | S | 0..2 | string | Street name, number, direction & P.O. Box etc Example: 137 Nowhere Street | 
|     city | S | 0..1 | string | Name of city, town etc. Example: Erewhon | 
|     state | S | 0..1 | string | Sub-unit of country (abreviations ok) Binding: USPSState (required) | 
|     postalCode | S I | 0..1 | string | US Zip Codes inv-2: (Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes. Example: 9132 | 
|     country | S | 0..1 | string | ISO 3166 3 letter Country Code Binding: USCountry (extensible) | 
|     period | 0..1 | Period | Time period when address was/is in use Example: {"start":"2010-03-23","end":"2010-07-01"} | |
|    partOf | Σ | 0..1 | Organization | The organization of which this organization forms a part | 
|    contact | S | 0..1 | Medical Director | |
|     extension | 0..* | Extension | Additional Content defined by implementations | |
|     modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | 
|     purpose | 0..1 | CodeableConcept | The type of contact Binding: ContactPartyType (required) | |
|     name | S | 0..1 | HumanName | A name associated with the contact | 
|      extension | 0..* | Extension | Additional Content defined by implementations | |
|      use | ?! | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required) | 
|      text | 0..1 | string | Text representation of the full name | |
|      family | S | 1..1 | string | Family name (often called 'Surname') | 
|      given | S | 0..2 | string | Given names (not always 'first'). Includes middle names | 
|      prefix | S | 0..1 | string | Parts that come before the name | 
|      suffix | S | 0..1 | string | Parts that come after the name | 
|      period | 0..1 | Period | Time period when name was/is in use | |
|     telecom | 0..* | ContactPoint | Contact details (telephone, email, etc) for a contact | |
|     address | 0..1 | Address | Visiting or postal addresses for the contact | |
|    active | ?! Σ | 0..1 | boolean | Whether the organization's record is still in active use | 
XML Template
JSON Template
todo
Other representations of profile: (todo)

| Path | Name | Conformance | ValueSet | 
| Organization.language | Language | required | http://tools.ietf.org/html/bcp47 | 
| Organization.identifier.use | IdentifierUse | required | IdentifierUse | 
| Organization.identifier.type | IdentifierType | extensible | Identifier Type Codes | 
| Organization.type | OrganizationType | example | OrganizationType | 
| Organization.telecom.system | ContactPointSystem | required | ContactPointSystem | 
| Organization.telecom.use | ContactPointUse | required | ContactPointUse | 
| Organization.address.use | AddressUse | required | AddressUse | 
| Organization.address.state | USPSState | required | USPS Two Letter Alphabetic Codes | 
| Organization.address.country | USCountry | extensible | http://www.iso.org/iso/country_codes.htm | 
| Organization.contact.purpose | ContactPartyType | required | ContactEntityType | 
| Organization.contact.name.use | NameUse | required | NameUse | 

| Id | Path | Name | Details | 
| org-1 | Organization | AtLeastANameOrId | The organization SHALL at least have a name or an id, and possibly more than one XPath: count(f:identifier | f:name) > 0 | 
| inv-1 | Organization | NameandorID | Shall have Organization.name and/or Organization.identifier. XPath: exists(f:name) or exists(f:identifier) | 
| org-3 | Organization.telecom | NoHomeUseTelecom | The telecom of an organization can never be of use 'home' XPath: count(f:use[@value='home']) = 0 | 
| org-2 | Organization.address | NoHomeUseAddress | An address of an organization can never be of use 'home' XPath: count(f:use[@value='home']) = 0 | 
| inv-2 | Organization.address.postalCode | Regex for Zip | (Zip or Postal Code) SHALL be formatted as 99999[-9999] for US Zip or ZIP +4 codes or as A9A9A9 for Canadian postal codes. XPath: f:matches(issued,[0-9]{5}(-[0-9]{4}){0,1} ) |