description: pq-specific Constraints on the Address datatype dealing with US addresses. package_name: hl7.fhir.us.pq-cmc-fda derivation: constraint name: PqAddress type: Address elements: line: {array: true, min: 1, max: 2, index: 0} city: {mustSupport: true, index: 1} state: {mustSupport: true, index: 2} postalCode: {mustSupport: true, index: 3} country: short: 'Country must be a 3-letter country code. The codes and full names are Target Code column in the ConceptMap: ISO to GENC Country Code Mapping' constraint: cmc-only-ISO-3166-1-alpha-3: {human: Country must be a 3 letter country code, source: 'http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pq-cmc-address', severity: error, expression: $this.length() = 3} mustSupport: true index: 4 package_version: 1.0.0-ballot class: complex-type kind: complex-type url: http://hl7.org/fhir/us/pq-cmc-fda/StructureDefinition/pq-cmc-address base: http://hl7.org/fhir/StructureDefinition/Address version: 1.0.0-ballot required: [country, city, postalCode, line]