DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 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

A.10.2.0 StructureDefinition: USLab-PerformingLab

The official URL for this profile is:

http://hl7.org/fhir/StructureDefinition/uslab-performinglab

Performing Laboratory

This profile was published on Mon, Nov 17, 2014 00:00+1100 as a draft by Health Level Seven International (Orders and Observations - US Lab).

A.10.2.0.1 Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Organization.

Summary

Mandatory: 1 element (+4 nested mandatory elements)
Must-Support: 18 elements
Fixed Value: 1 element

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the value of system (ordered)

This structure is derived from Organization.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationPerforming Laboratory
inv-1: Shall have Organization.name and/or Organization.identifier.
... identifier S IIdentifierSlice: Ordered, Open, by system
.... use S1..1code
.... system S1..1uriSee https://www.cms.gov/Regulations-and-Guidance/Legislation/CLIA/Laboratory_Registry.html
Fixed Value: urn:oid:2.16.840.1.113883.4.7
.... value S1..1stringCLIA Number
... name S I0..1string
... address S1..1Address
.... line S0..2string
.... city S0..1string
.... state S0..1stringBinding: USPS Two Letter Alphabetic Codes (required)
.... postalCode S I0..1stringUS 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 S0..1stringISO 3166 3 letter Country Code
Binding: ISO Country Codes (required)
.... us-core-county S0..1stringCounty/Parish FIPS codes
URL: http://hl7.org/fhir/StructureDefinition/us-core-county
Slice: Unordered, Open, by url
Binding: US counties and county equivalent entities codes (required)
... contact S0..1BackboneElementMedical Director
.... name S0..1HumanName
..... family S1..1string
..... given S0..2string
..... prefix S0..1string
..... suffix S0..1string

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationPerforming Laboratory
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..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier IIdentifierIdentifies this organization across multiple systems
Slice: Ordered, Open, by system
... identifier S I0..*IdentifierIdentifies this organization across multiple systems
.... extension 0..*ExtensionAdditional Content defined by implementations
.... use ?! S1..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type 0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system S 1..1uriSee https://www.cms.gov/Regulations-and-Guidance/Legislation/CLIA/Laboratory_Registry.html
Fixed Value: urn:oid:2.16.840.1.113883.4.7
.... value S 1..1stringCLIA Number
Example: 123456
.... period 0..1PeriodTime period when id is/was valid for use
.... assigner 0..1Reference(Organization)Organization that issued id (may be just text)
... active ?! 0..1booleanWhether the organization's record is still in active use
... type 0..1CodeableConceptKind of organization
Binding: OrganizationType (example)
... name S I0..1stringName used for the organization
... telecom I0..*ContactPointA contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
... address S I1..1AddressAn address for the organization
org-2: An address of an organization can never be of use 'home'
.... us-core-county S0..1stringCounty/Parish FIPS codes
URL: http://hl7.org/fhir/StructureDefinition/us-core-county
Binding: US counties and county equivalent entities codes (required)
.... use ?! 0..1codehome | work | temp | old - purpose of this address
Binding: AddressUse (required)
Example: home
.... type 0..1codepostal | physical | both
Binding: AddressType (required)
Example: both
.... text 0..1stringText representation of the address
Example: 137 Nowhere Street, Erewhon 9132
.... line S 0..2stringStreet name, number, direction & P.O. Box etc.
Example: 137 Nowhere Street
.... city S 0..1stringName of city, town etc.
Example: Erewhon
.... district 0..1stringDistrict name (aka county)
Example: Madison
.... state S 0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (required)
.... postalCode S I0..1stringUS 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..1stringISO 3166 3 letter Country Code
Binding: ISO Country Codes (required)
.... period 0..1PeriodTime period when address was/is in use
Example: {"start":"2010-03-23","end":"2010-07-01"}
... partOf 0..1Reference(Organization)The organization of which this organization forms a part
... contact S0..1BackboneElementMedical Director
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... purpose 0..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible)
.... name S0..1HumanNameA name associated with the contact
..... extension 0..*ExtensionAdditional Content defined by implementations
..... use ?! 0..1codeusual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required)
..... text 0..1stringText representation of the full name
..... family S 1..1stringFamily name (often called 'Surname')
..... given S 0..2stringGiven names (not always 'first'). Includes middle names
..... prefix S 0..1stringParts that come before the name
..... suffix S 0..1stringParts that come after the name
..... period 0..1PeriodTime period when name was/is in use
.... telecom 0..*ContactPointContact details (telephone, email, etc.) for a contact
.... address 0..1AddressVisiting or postal addresses for the contact

doco Documentation for this format

todo

This structure is derived from Organization.

Summary

Mandatory: 1 element (+4 nested mandatory elements)
Must-Support: 18 elements
Fixed Value: 1 element

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Organization.identifier is sliced based on the value of system (ordered)

Differential View

This structure is derived from Organization.

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationPerforming Laboratory
inv-1: Shall have Organization.name and/or Organization.identifier.
... identifier S IIdentifierSlice: Ordered, Open, by system
.... use S1..1code
.... system S1..1uriSee https://www.cms.gov/Regulations-and-Guidance/Legislation/CLIA/Laboratory_Registry.html
Fixed Value: urn:oid:2.16.840.1.113883.4.7
.... value S1..1stringCLIA Number
... name S I0..1string
... address S1..1Address
.... line S0..2string
.... city S0..1string
.... state S0..1stringBinding: USPS Two Letter Alphabetic Codes (required)
.... postalCode S I0..1stringUS 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 S0..1stringISO 3166 3 letter Country Code
Binding: ISO Country Codes (required)
.... us-core-county S0..1stringCounty/Parish FIPS codes
URL: http://hl7.org/fhir/StructureDefinition/us-core-county
Slice: Unordered, Open, by url
Binding: US counties and county equivalent entities codes (required)
... contact S0..1BackboneElementMedical Director
.... name S0..1HumanName
..... family S1..1string
..... given S0..2string
..... prefix S0..1string
..... suffix S0..1string

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization I0..*OrganizationPerforming Laboratory
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..1MetaMetadata about the resource
... implicitRules ?! 0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: IETF BCP-47 (required)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier IIdentifierIdentifies this organization across multiple systems
Slice: Ordered, Open, by system
... identifier S I0..*IdentifierIdentifies this organization across multiple systems
.... extension 0..*ExtensionAdditional Content defined by implementations
.... use ?! S1..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type 0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system S 1..1uriSee https://www.cms.gov/Regulations-and-Guidance/Legislation/CLIA/Laboratory_Registry.html
Fixed Value: urn:oid:2.16.840.1.113883.4.7
.... value S 1..1stringCLIA Number
Example: 123456
.... period 0..1PeriodTime period when id is/was valid for use
.... assigner 0..1Reference(Organization)Organization that issued id (may be just text)
... active ?! 0..1booleanWhether the organization's record is still in active use
... type 0..1CodeableConceptKind of organization
Binding: OrganizationType (example)
... name S I0..1stringName used for the organization
... telecom I0..*ContactPointA contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
... address S I1..1AddressAn address for the organization
org-2: An address of an organization can never be of use 'home'
.... us-core-county S0..1stringCounty/Parish FIPS codes
URL: http://hl7.org/fhir/StructureDefinition/us-core-county
Binding: US counties and county equivalent entities codes (required)
.... use ?! 0..1codehome | work | temp | old - purpose of this address
Binding: AddressUse (required)
Example: home
.... type 0..1codepostal | physical | both
Binding: AddressType (required)
Example: both
.... text 0..1stringText representation of the address
Example: 137 Nowhere Street, Erewhon 9132
.... line S 0..2stringStreet name, number, direction & P.O. Box etc.
Example: 137 Nowhere Street
.... city S 0..1stringName of city, town etc.
Example: Erewhon
.... district 0..1stringDistrict name (aka county)
Example: Madison
.... state S 0..1stringSub-unit of country (abbreviations ok)
Binding: USPS Two Letter Alphabetic Codes (required)
.... postalCode S I0..1stringUS 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..1stringISO 3166 3 letter Country Code
Binding: ISO Country Codes (required)
.... period 0..1PeriodTime period when address was/is in use
Example: {"start":"2010-03-23","end":"2010-07-01"}
... partOf 0..1Reference(Organization)The organization of which this organization forms a part
... contact S0..1BackboneElementMedical Director
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
.... purpose 0..1CodeableConceptThe type of contact
Binding: ContactEntityType (extensible)
.... name S0..1HumanNameA name associated with the contact
..... extension 0..*ExtensionAdditional Content defined by implementations
..... use ?! 0..1codeusual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required)
..... text 0..1stringText representation of the full name
..... family S 1..1stringFamily name (often called 'Surname')
..... given S 0..2stringGiven names (not always 'first'). Includes middle names
..... prefix S 0..1stringParts that come before the name
..... suffix S 0..1stringParts that come after the name
..... period 0..1PeriodTime period when name was/is in use
.... telecom 0..*ContactPointContact details (telephone, email, etc.) for a contact
.... address 0..1AddressVisiting or postal addresses for the contact

doco Documentation for this format

XML Template

JSON Template

todo

 

Other representations of profile: Schematron

A.10.2.0.2 Terminology Bindings

PathNameConformanceValueSet
Organization.language?extrequiredhttp://tools.ietf.org/html/bcp47
Organization.identifier.useIdentifierUserequiredIdentifierUse
Organization.identifier.typeIdentifier Type CodesextensibleIdentifier Type Codes
Organization.typeOrganizationTypeexampleOrganizationType
Organization.address.extension
[UriType[http://hl7.org/fhir/StructureDefinition/us-core-county]]
US counties and county equivalent entities codesrequiredUS counties and county equivalent entities codes
Organization.address.useAddressUserequiredAddressUse
Organization.address.typeAddressTyperequiredAddressType
Organization.address.stateUSPS Two Letter Alphabetic CodesrequiredUSPS Two Letter Alphabetic Codes
Organization.address.country?extrequiredhttp://www.iso.org/iso/country_codes.htm
Organization.contact.purposeContactEntityTypeextensibleContactEntityType
Organization.contact.name.useNameUserequiredNameUse

A.10.2.0.3 Constraints

IdPathDetailsRequirements
org-1OrganizationThe organization SHALL at least have a name or an id, and possibly more than one
XPath: count(f:identifier | f:name) > 0
inv-1OrganizationShall have Organization.name and/or Organization.identifier.
XPath: exists(f:name) or exists(f:identifier)
org-3Organization.telecomThe telecom of an organization can never be of use 'home'
XPath: count(f:use[@value='home']) = 0
org-2Organization.addressAn address of an organization can never be of use 'home'
XPath: count(f:use[@value='home']) = 0
inv-2Organization.address.postalCode(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} )
.