FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/us-core-birthsex

Packagehl7.fhir.us.core
Resource TypeStructureDefinition
Idus-core-birthsex
FHIR VersionR4
Sourcehttp://hl7.org/fhir/us/core/https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-birthsex.html
URLhttp://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Version8.0.0
Statusactive
Date2025-04-22
NameUSCoreBirthSexExtension
TitleUS Core Birth Sex Extension
Realmus
Authorityhl7
DescriptionA code classifying the person's sex assigned at birth. This extension aligns with LOINC 76689-9 (Sex assigned at birth).
CopyrightUsed by permission of HL7 International, all rights reserved Creative Commons License
TypeExtension
Kindcomplex-type

Resources that use this resource

StructureDefinition
hrex-patient-demographicsHRex Member Match Patient
il-core-patientILCore Patient Profile

Resources that this resource uses

ValueSet
2.16.840.1.113762.1.4.1021.24Birth Sex

Examples of Use for Extension

ResourceVersion
fhir.argonaut.clinicalnotes#1.0.0:Patient/exampleR3
fhir.argonaut.questionnaire#1.0.0:Patient/subject1R3
fhir.astp.bhp#current:Patient/bh-patient-exampleR4
fhir.hrsa.uds-plus#2.0.0:Patient/exampleR4
fhir.hrsa.uds-plus#2.0.0:Patient/smallpop-exampleR4
hl7.fhir.us.bfdr#current:Bundle/bundle-jurisdiction-fetal-death-not-namedR4
hl7.fhir.us.bfdr#current:Bundle/bundle-jurisdiction-live-birth-babyg-quinnR4
hl7.fhir.us.bfdr#current:Bundle/bundle-provider-fetal-death-not-namedR4
hl7.fhir.us.bfdr#current:Bundle/bundle-provider-live-birth-babyg-quinnR4
hl7.fhir.us.bfdr#current:Patient/patient-child-babyg-quinnR4
hl7.fhir.us.bfdr#current:Patient/patient-child-babyg-quinn-w-editR4
hl7.fhir.us.bfdr#current:Patient/patient-decedent-fetus-not-namedR4
hl7.fhir.us.bfdr#current:Patient/patient-decedent-fetus-not-named-w-editR4
hl7.fhir.us.bfdr#current:Patient/patient-mother-birth-date-part-absentR4
hl7.fhir.us.bfdr#current:Patient/patient-mother-carmen-teresa-leeR4
hl7.fhir.us.bfdr#current:Patient/patient-mother-carmen-teresa-lee-w-editR4
hl7.fhir.us.bfdr#current:Patient/patient-mother-jada-ann-quinnR4
hl7.fhir.us.bfdr#current:Patient/patient-mother-jada-ann-quinn-w-editR4
hl7.fhir.us.birthdefectreporting#current:Bundle/BDRMessageBundleBirthingExampleR4
hl7.fhir.us.birthdefectreporting#current:Bundle/BDRMessageBundleExampleR4
hl7.fhir.us.birthdefectreporting#current:Patient/PatientChildExampleR4
hl7.fhir.us.birthdefectreporting#current:Patient/PatientNewbornExampleR4
hl7.fhir.us.bser#current:Bundle/bundle-bser-referral-feedback-document-bundle-eve-everywomanR4
hl7.fhir.us.bser#current:Bundle/bundle-bser-referral-message-bundle-eve-everywomanR4
hl7.fhir.us.bser#current:Bundle/bundle-bser-referral-request-document-bundle-baby-everybabyR4
hl7.fhir.us.bser#current:Bundle/bundle-bser-referral-request-document-bundle-eve-everywomanR4
hl7.fhir.us.bser#current:Patient/patient-bser-patient-baby-everybabyR4
hl7.fhir.us.bser#current:Patient/patient-bser-patient-eve-everywomanR4
hl7.fhir.us.bser#current:Patient/patient-bser-patient-mom-everymomR4
hl7.fhir.us.cardx-htn#current:Patient/patient-example-Sally-SueR4
hl7.fhir.us.ccda#current:Bundle/Complete-Document-Bundle-ExampleR4
hl7.fhir.us.ccda#current:Patient/exampleR4
hl7.fhir.us.cdmh#current:Patient/exampleR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-01-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-02-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-03-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-04-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-05-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-06-22BR4
hl7.fhir.us.codex-radiation-therapy#current:Patient/Patient-XRTS-07-22BR4
hl7.fhir.us.cqfmeasures#5.0.0:Bundle/bundle-exampleR4
hl7.fhir.us.davinci-alerts#current:Bundle/admit-notification-intermediate-translate-bundleR4
hl7.fhir.us.davinci-alerts#current:Bundle/admit-notification-intermediate-transmit-bundleR4
hl7.fhir.us.davinci-alerts#current:Bundle/admit-notification-message-bundle-01R4
hl7.fhir.us.davinci-alerts#current:Bundle/admit-notification-message-bundle-02R4
hl7.fhir.us.davinci-alerts#current:Bundle/discharge-notification-message-bundle-01R4
hl7.fhir.us.davinci-alerts#current:Bundle/transfer-notification-message-bundle-01R4
hl7.fhir.us.davinci-crd#current:Bundle/search-responseR4
hl7.fhir.us.davinci-crd#current:Patient/exampleR4
hl7.fhir.us.davinci-deqm#current:Bundle/multiple-indv-mrp-obs-reportR4
hl7.fhir.us.davinci-deqm#current:Bundle/multiple-indv-mrp-task-reportR4
hl7.fhir.us.davinci-deqm#current:Bundle/single-indv-col-obs-reportR4
hl7.fhir.us.davinci-deqm#current:Bundle/single-indv-mrp-obs-reportR4
hl7.fhir.us.davinci-deqm#current:Bundle/single-indv-mrp-task-reportR4
hl7.fhir.us.davinci-deqm#current:Bundle/single-indv-vte-report-option1R4
hl7.fhir.us.davinci-deqm#current:Bundle/single-indv-vte-report-option7R4
hl7.fhir.us.davinci-deqm#current:Parameters/col-collect-obsR4
hl7.fhir.us.davinci-deqm#current:Parameters/col-submit-obsR4
hl7.fhir.us.davinci-deqm#current:Parameters/mrp-submit-obsR4
hl7.fhir.us.davinci-deqm#current:Parameters/mrp-submit-taskR4
hl7.fhir.us.davinci-deqm#current:Patient/patient01R4
hl7.fhir.us.davinci-deqm#current:Patient/patient02R4
hl7.fhir.us.davinci-deqm#current:Patient/patient03R4
hl7.fhir.us.davinci-drug-formulary#current:Patient/exampleR4
hl7.fhir.us.davinci-ra#current:Bundle/ra-bundle01R4
hl7.fhir.us.davinci-ra#current:Parameters/ra-submit-dataR4
hl7.fhir.us.davinci-ra#current:Patient/ra-patient01R4
hl7.fhir.us.davinci-ra#current:Patient/ra-patient02R4
hl7.fhir.us.davinci-ra#current:Patient/ra-patient03R4
hl7.fhir.us.dental-data-exchange#current:Patient/example-dentalR4
hl7.fhir.us.dme-orders#current:Patient/example1R4
hl7.fhir.us.ecr#current:Bundle/bundle-ecr-message-zikaR4
hl7.fhir.us.ecr#current:Bundle/bundle-eicr-document-zikaR4
hl7.fhir.us.ecr#current:Bundle/bundle-rr-document-one-cond-one-phaR4
hl7.fhir.us.ecr#current:Patient/patient-ecr-eve-everywomanR4
hl7.fhir.us.hai#current:Patient/hai-patient-1R4
hl7.fhir.us.health-care-surveys-reporting#current:Patient/patient-baxterR4
hl7.fhir.us.lower-extremity-skin-wound-assessment#current:Patient/patient-exampleR4
hl7.fhir.us.mcode#current:Bundle/gx-genomic-bundle-adam-anypersonR4
hl7.fhir.us.mcode#current:Bundle/mcode-patient-bundle-jenny-mR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-adam-everymanR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-brian-lR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-eve-anypersonR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-jenny-mR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-john-anypersonR4
hl7.fhir.us.mcode#current:Patient/cancer-patient-lucy-childR4
hl7.fhir.us.mcode#current:Patient/gx-cancer-patient-adam-anypersonR4
hl7.fhir.us.mdi#current:Bundle/bundle-doc-mdi-dcr-ex1R4
hl7.fhir.us.mdi#current:Bundle/bundle-msg-mdi-dcr-ex1R4
hl7.fhir.us.mdi#current:Patient/vrdr-decedent-dcr-ex1R4
hl7.fhir.us.meds#1.2.0:Patient/test2R3
hl7.fhir.us.mihr#current:Patient/example-nih-child-pihR4
hl7.fhir.us.mihr#current:Patient/example-nih-mother-pihR4
hl7.fhir.us.mihr#current:Patient/patient-allison-doe-exampleR4
hl7.fhir.us.mihr#current:Patient/patient-child-bobby-doe-exampleR4
hl7.fhir.us.mihr#current:Patient/patient-child-jane-smith-exampleR4
hl7.fhir.us.mihr#current:Patient/patient-child-john-smith-exampleR4
hl7.fhir.us.mihr#current:Patient/patient-child-peter-doe-exampleR4
hl7.fhir.us.mihr#current:Patient/patient-jane-smith-exampleR4
hl7.fhir.us.military-service#current:Patient/huffman-crystal-example-veteranR4
hl7.fhir.us.military-service#current:Patient/hugo-cross-example-veteranR4
hl7.fhir.us.military-service#current:Patient/philip-scott-example-veteranR4
hl7.fhir.us.nhsn-ade#current:Bundle/bundle-document-adeR4
hl7.fhir.us.nhsn-ade#current:Patient/patient-ade-1R4
hl7.fhir.us.nhsn-ade#current:Patient/patient-harry-hypoglycemic-exampleR4
hl7.fhir.us.nhsn-dqm#current:Bundle/submission-full-example1R4
hl7.fhir.us.nhsn-dqm#current:Patient/patient-example-ach-ach-pass1R4
hl7.fhir.us.nhsn-dqm#current:Patient/patient-example-ach-ach-pass2R4
hl7.fhir.us.nhsn-dqm#current:Patient/patient-example-ach-ach-pass3R4
hl7.fhir.us.nhsn-dqm#current:Patient/patient-example-sameresultdiffdayR4
hl7.fhir.us.nhsn-med-admin#1.0.0:Bundle/bundle-document-med-admin-patient-med-admin-1R4
hl7.fhir.us.nhsn-med-admin#1.0.0:Patient/patient-med-admin-1R4
hl7.fhir.us.odh#current:Patient/patient-odh-maya-gordonR4
hl7.fhir.us.ph-library#current:Bundle/us-ph-content-bundle-exampleR4
hl7.fhir.us.ph-library#current:Bundle/us-ph-document-bundle-exampleR4
hl7.fhir.us.ph-library#current:Bundle/us-ph-reporting-bundle-exampleR4
hl7.fhir.us.ph-library#current:Bundle/us-ph-response-bundle-exampleR4
hl7.fhir.us.ph-library#current:Patient/us-ph-patient-eve-everywomanR4
hl7.fhir.us.registry-protocols#current:Bundle/CREDSBundle-ExampleR4
hl7.fhir.us.registry-protocols#current:Patient/261989c3-688c-4941-b767-d8d4c871217cR4
hl7.fhir.us.resp-net#current:Patient/patient-respnet-eve-everywomanR4
hl7.fhir.us.sdoh-clinicalcare#current:Patient/pat-53234R4
hl7.fhir.us.vitals#current:Patient/patient-exampleR4
hl7.fhir.us.vr-common-library#current:Patient/patient-child-vr-babyg-quinn-commonR4
hl7.fhir.us.vr-common-library#current:Patient/patient-child-vr-babyg-quinn-common-1R4
hl7.fhir.us.vr-common-library#current:Patient/patient-child-vr-babyg-quinn-w-editR4
hl7.fhir.us.vr-common-library#current:Patient/patient-mother-vr-birth-date-part-absentR4
hl7.fhir.us.vr-common-library#current:Patient/patient-mother-vr-jada-ann-quinn-commonR4
hl7.fhir.uv.cqm#current:Bundle/measurereport-bundle-exampleR4
ihe.qrph.bfdr#current:Bundle/bundle-jurisdiction-fetal-death-not-namedR4
ihe.qrph.bfdr#current:Bundle/bundle-jurisdiction-live-birth-babyg-quinnR4
ihe.qrph.bfdr#current:Bundle/bundle-provider-fetal-death-not-namedR4
ihe.qrph.bfdr#current:Bundle/bundle-provider-live-birth-babyg-quinnR4
ihe.qrph.bfdr#current:Patient/patient-child-babyg-quinnR4
ihe.qrph.bfdr#current:Patient/patient-decedent-fetus-not-namedR4
ihe.qrph.bfdr#current:Patient/patient-mother-carmen-teresa-leeR4
ihe.qrph.bfdr#current:Patient/patient-mother-jada-ann-quinnR4

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition us-core-birthsex

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionExtension
... url 1..1uri"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
... value[x] 1..1codeValue of extension
Binding: Birth Sex . (required): Code for sex assigned at birth

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "us-core-birthsex",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "cgp"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 3,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:2.16.840.1.113883.4.642.40.2.42.7"
    }
  ],
  "version": "8.0.0",
  "name": "USCoreBirthSexExtension",
  "title": "US Core Birth Sex Extension",
  "status": "active",
  "date": "2025-04-22",
  "publisher": "HL7 International / Cross-Group Projects",
  "contact": [
    {
      "name": "HL7 International / Cross-Group Projects",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/cgp"
        },
        {
          "system": "email",
          "value": "cgp@lists.HL7.org"
        }
      ]
    }
  ],
  "description": "A code classifying the person's sex assigned at birth. This extension aligns with LOINC 76689-9 (Sex assigned at birth).",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "urn:iso:std:iso:3166",
          "code": "US"
        }
      ]
    }
  ],
  "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "context": [
    {
      "type": "element",
      "expression": "Patient"
    }
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "Extension",
        "definition": "A code classifying the person's sex assigned at birth.",
        "comment": "This extension aligns with LOINC 76689-9 (Sex assigned at birth).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          },
          {
            "identity": "iso11179",
            "map": ".patient.administrativeGenderCode"
          }
        ]
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "uri"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex",
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Value of extension",
        "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "binding": {
          "strength": "required",
          "description": "Code for sex assigned at birth",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "definition": "A code classifying the person's sex assigned at birth.",
        "comment": "This extension aligns with LOINC 76689-9 (Sex assigned at birth).",
        "min": 0,
        "max": "1",
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"
          },
          {
            "identity": "iso11179",
            "map": ".patient.administrativeGenderCode"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "Code for sex assigned at birth",
          "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.24"
        }
      }
    ]
  }
}